Bugs item #2831669, was opened at 2009-08-03 21:52 Message generated for change (Tracker Item Submitted) made by crochet_david You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2831669...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Crochet (crochet_david) Assigned to: Nobody/Anonymous (nobody) Summary: erreur with the help-command-line
Initial Comment: version : Pywikipedia (r7101 (wikipedia.py), 2009/07/27, 15:54:13) Python 2.4.2 (#1, Jan 10 2008, 17:45:02) [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]
dcrochet@linux-fxgk:~/pywikipedia> python replace.py -help
Global arguments available for all bots:
-dir:PATH Read the bot's configuration data from directory given by PATH, instead of from the default directory.
-lang:xx Set the language of the wiki you want to work on, overriding the configuration in user-config.py. xx should be the language code.
-family:xyz Set the family of the wiki you want to work on, e.g. wikipedia, wiktionary, wikitravel, ... This will override the configuration in user-config.py.
-daemonize:xyz Immediately returns control to the terminal and redirects stdout and stderr to xyz (only use for bots that require no input from stdin).
-help Shows this help text.
-log Enable the logfile. Logs will be stored in the logs subdirectory.
-log:xyz Enable the logfile, using xyz as the filename.
-nolog Disable the logfile (if it is enabled by default).
-putthrottle:n Set the minimum time (in seconds) the bot will wait between -pt:n saving pages.
-verbose Have the bot provide additional output that may be useful in -v debugging.
Traceback (most recent call last): File "replace.py", line 705, in ? main() File "replace.py", line 510, in main for arg in wikipedia.handleArgs(*args): File "/home/dcrochet/pywikipedia/wikipedia.py", line 6573, in handleArgs showHelp(moduleName) File "/home/dcrochet/pywikipedia/wikipedia.py", line 7043, in showHelp helpText = helpText.replace(key, value.strip('\n\r')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 852: ordinal not in range(128)
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2831669...
pywikipedia-bugs@lists.wikimedia.org