Bugs item #3159076, was opened at 2011-01-16 02:48 Message generated for change (Comment added) made by herculefr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3159076...
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: category Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Hercule (herculefr) Assigned to: Nobody/Anonymous (nobody) Summary: crash with remove option on category.py
Initial Comment: Hello,
I can't use category.py with remove option. The full log is :
category.py remove
Please enter the name of the category that should be removed: Wikipédia:Film Traceback (most recent call last): File "XXX\category.py", line 1188, in <module> main() File "XXX\category.py", line 1147, in main useSummaryForDeletion, inPlace=inPlace) File "XXX\category.py", line 727, in __init__ self.cat = catlib.Category(self.site, catTitle) File "XXX\catlib.py", line 71, in __init__ raise ValueError(u'BUG: %s is not in the category namespace!' % title) ValueError
version.py : Pywikipedia [http] trunk/pywikipedia (r8830, 2011/01/15, 17:50:15) Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: Hercule (herculefr)
Date: 2011-01-16 11:33
Message: It works with Category:Wikipédia:Film
I think that the par:ameters should be unified : without "Category:" for everyone
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2011-01-16 10:10
Message: Have you tried using Category:Wikipédia:Film ?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3159076...
pywikipedia-bugs@lists.wikimedia.org