Bugs item #2871750, was opened at 2009-10-02 11:12 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2871750...
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: 7 Private: No Submitted By: siebrand (siebrand) Assigned to: Filnik (filnik) Summary: Commonscat.py crashes with ValueError: too many values to un
Initial Comment: Commonscat.py crashes after every edit.
Sample command: commonscat.py -lang:ha -start:! -always
Amurika <<<
+ {{Commonscat|United States}}
Updating page [[Amurika]] via API Traceback (most recent call last): File "C:\py\interwiki\commonscat.py", line 379, in <module> main() File "C:\py\interwiki\commonscat.py", line 375, in main (status, always) = addCommonscat(page, summary, always) File "C:\py\interwiki\commonscat.py", line 263, in addCommonscat (success, always) = add_text.add_text(page, textToAdd, summary, None, None, always); ValueError: too many values to unpack
C:\py\interwiki>version.py Pywikipedia [http] trunk/pywikipedia (r7343, 2009/10/02, 03:22:11) Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-13 20:45
Message: You have added the third parameter to add_text in r7046. I don't understand why.
----------------------------------------------------------------------
Comment By: Filnik (filnik) Date: 2009-10-13 20:37
Message: Why is this bug assigned to me? I've not written that script :)
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2009-10-13 20:16
Message: comes from r7046 and r7177
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2871750...