Search found 6 matches

by sbjaved
Sun Oct 28, 2012 12:00 am
Forum: Support
Topic: Script not running on completion
Replies: 2
Views: 1813

Re: Script not running on completion

Okay, I hope this helps someone. After a lot of log searching and script debugging. I found out that the python interpreter was not being launched because the line of code in the script used to launch python had spaces in it :D
# !/usr/bin/env python
It should have been:
#!/usr/bin/env python
Lesson ...
by sbjaved
Thu Oct 25, 2012 10:58 pm
Forum: Support
Topic: Script not running on completion
Replies: 2
Views: 1813

Re: Script not running on completion

I ran transmission with logging enabled. The log file shows these errors for the script:
http://pastie.org/5117136
by sbjaved
Thu Oct 25, 2012 3:24 am
Forum: Support
Topic: Script not running on completion
Replies: 2
Views: 1813

Script not running on completion

I have this python script that moves torrent files after download. For some reason its not run upon completion of torrent. I'm running transmission 2.51.
The script runs fine in terminal. Its quite long so I'm not posting it.

"script-torrent-done-enabled": true,
"script-torrent-done-filename ...
by sbjaved
Thu Feb 16, 2012 9:22 pm
Forum: Support
Topic: Transmission daemon how to
Replies: 3
Views: 4701

Re: Transmission daemon how to

It seems that may be the problem. But my use case was adding torrents via GUI then minimizing it and monitoring via conky through the daemon. I found a simple alternative though. transmission-remote + some Bash scripting does the job w/ the GUI running nicely :)
Lesson: Trust occam's razor.
by sbjaved
Thu Feb 16, 2012 7:24 pm
Forum: Support
Topic: Transmission daemon how to
Replies: 3
Views: 4701

Re: Transmission daemon how to

The daemon service ran after reboot w/o any errors.

Here is the script:
#!/usr/bin/python2
# -*- coding: utf-8 -*-
###############################################################################
# conkyTransmission.py is a simple python script to gather
# details of Deluge torrents for use in ...
by sbjaved
Thu Feb 16, 2012 10:35 am
Forum: Support
Topic: Transmission daemon how to
Replies: 3
Views: 4701

Transmission daemon how to

Hi,

I'm trying to set up a python script http://ubuntuforums.org/showthread.php?t=1640911 which uses transmission daemon to output usage stats in conky. The script uses transmissionrpc to call the daemon for stats. Now 2 things: I'm running Fedora 16 64-bit and I've a superficial understanding of ...