This code comes from Davyd Madeley's change-background.py script:
import gconf
class GConfClient:
def __init__ (self):
self.__client__ = gconf.client_get_default ()
def...
Type: Posts; User: unutbu; Keyword(s):
This code comes from Davyd Madeley's change-background.py script:
import gconf
class GConfClient:
def __init__ (self):
self.__client__ = gconf.client_get_default ()
def...
return is not the same as exit. Unlike exit, a bare return returns the value None, and proceeds to the next command after the function call. So the boldface lines do get executed.
lupeatx, unfortunately, I don't know the answer to your problem.
As you pointed out, it looks like this is a hard drive detection problem, not (at least at the moment) a dualboot/GRUB problem.
I...
ugkbunb, I'd be glad to try to help you, but before we embark on this, please know that
the method is -- or prehaps more accurately, I am -- a bit error prone. As you can see from this thread, it...
Done. :)
In the new version of the script, "-M" is now a synonym for --match_by_filename.
serpantman, perhaps this will help: http://www.kaijanmaki.net/blog/2009/10/26/recovering-files-from-ecryptfs-encrypted-home/
KillaB7, yep, it's that time of year again... tormon needs a new switch!
Introducing the dulcet-sounding (haha)
tormon.py --match_by_filename
When you use this switch, tormon will consider...
Hm, this feed appears to be blank for me... :confused:
damnandy, I'm going to need some more information to work on this problem.
Can you send me a link to the rss feed, or use http://paste.ubuntu.com/ to post the contents of an rss feed containing...
damnandy, when you try to download multiple files called download.php, is the problem that you only end up with one?
Or are you ending up with none?
mobilediesel, thanks for the kind words and for the suggestion. The script can now handle comments in the rss feed batch file. Comments are any line that begins with a # character.
Yep, Python...
I've added a "-m" flag to the script which adds all torrents/files found to the log of downloaded files.
When you run
tormon.py -m -b direct_feeds.txt
tormon slurps all the .torrents that...
I've commented out the "tormon failed to download ..." message.
The errors are now only in the error log file.
LOL, that's a good idea. Thanks KillaB7.
Now you can create a file with a list of all the rss feeds (urls) you wish to monitor.
Put one url per line. If you put the list of urls in...
KillaB7, yep, you found a bug! It has been fixed.
abhiroopb, the script now reports each error once and only once. If at some point it succeeds in downloading a file that had failed before, it...
Okay, the script now has the the ability to download wmv files from http://revision3.com/diggnation/feed/WMV-Large. To do so, use the command
tormon.py -f wmv -u...
Yes, I changed the script from using beautifulsoup to
feedparser. I thought I could make the change without affecting anybody, but obviously, I was wrong! (I didn't realize that python-feedparser...
Hi jesuisbenjamin. Does the "file" command return something different? I think "file" and python-magic use the same underlying libmagic library. Unfortunately, that also means the defects of one are...
Done. tormon now saves a list of all urls it fails to download. By default the error log file shares the same name as the download log file with ".errors" appended to the end.
So for example, if...
abhiroopb, I made a small change to the script . Now when you abort the program with Ctrl-c, the script updates the log file's the list of downloaded torrents.
The errors you are seeing, such as
...
abhiroopb, I was able to reproduce this error by literally running the command you posted.
The problem, at least for me, was that tormon fails to create the directory /home/user/test/Torrents/Files....
NullHead, according to https://fivebean.com/hosting/:
bigben1313, thanks for pointing out the crashing problem. The new script that I posted a few days ago fixes this problem. Now tormon will simply print out a warning like
tormon failed to...
abhiroopb, I haven't been able to reproduce the problem you mention. (Isn't that always the way with programmers? :p ) Do you perchance have a cron job that runs tormon.py multiple times? Each...
Yes. sys.argv is a list of the command and the arguments. For example, if your script says
print(sys.argv)
and you run
test.py file.mp3