mspieth / rssdler

Automatically exported from code.google.com/p/rssdler
4 stars 0 forks source link

--purge-saved option is not recognized #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run rssdler --purge-saved

What is the expected output? What do you see instead?
I expect the list of saved torrents to be purged.  Instead the full help text 
is printed, as if the 
option in unrecognized

What version of the product are you using? On what operating system?
rssdler 0.4.0a on Mac OS X 10.5.6

Please provide any additional information below.
The --list-saved option produces the list of saved torrents as expected, so I'm 
not sure why --
purge-saved prints out the full help text and fails to purge the list.  I have 
RW access on the 
savedstate.dat file.

Original issue reported on code.google.com by adda...@gmail.com on 1 Jan 2009 at 7:59

GoogleCodeExporter commented 9 years ago
--- rssdler.py  2009-02-20 22:28:20.000000000 -0800
+++ rssdler.py.new      2009-02-20 22:28:09.000000000 -0800
@@ -2122,7 +2122,7 @@
         (argp, rest) =  getopt.gnu_getopt(arglist[1:], "sdfrokc:h", 
             longopts=["state", "daemon", "full-help", "run", "runonce", "kill", 
             "config=", "set-default-config=", "help", "list-failed", 
-            "list-saved", "purged-saved", "purge-failed", "comment-config"])
+            "list-saved", "purge-saved", "purge-failed", "comment-config"])
     except  getopt.GetoptError:
             print >> sys.stderr, helpMessage
             sys.exit(1)

Original comment by bder...@gmail.com on 21 Feb 2009 at 6:28

GoogleCodeExporter commented 9 years ago
Made the documented change and it still does not function.  Do I need to re-run 
the
setup for the option to pickup?

rssdler 0.4.0a running on Debian 4.3.2-1

Original comment by michael....@gmail.com on 31 Jul 2009 at 6:29

GoogleCodeExporter commented 9 years ago
Did you patch the rssdler.py found in your Python's site-packages directory? On 
my
ubuntu box it is /usr/lib/python2.5/site-packages/rssdler.py. If you did that 
then I
don't think you should have to re-run setup.

Original comment by bder...@gmail.com on 1 Aug 2009 at 3:59

GoogleCodeExporter commented 9 years ago
That was it.  I made the change to the .py file under the rsslder directory and
missed the one under site-packages...

Original comment by michael....@gmail.com on 1 Aug 2009 at 6:50

GoogleCodeExporter commented 9 years ago
Change made in r166. Should be working.

Original comment by lostnihi...@gmail.com on 22 Aug 2009 at 8:12