Bugs item #3433520, was opened at 2011-11-04 06:39 Message generated for change (Tracker Item Submitted) made by djbarrett You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3433520...
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: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Daniel Barrett (djbarrett) Assigned to: Nobody/Anonymous (nobody) Summary: Syntax error in wikipedia.py, r9724
Initial Comment: $ sudo python redirect.py double Traceback (most recent call last): File "redirect.py", line 66, in ? import wikipedia as pywikibot File "/usr/local/pywikipedia/wikipedia.py", line 4440 % (len(pages), u'via API ' if site.has_api() and debug else u'', site)) ^ SyntaxError: invalid syntax
$ python version.py Pywikipedia [http] trunk/pywikipedia (r9724, 2011/11/03, 07:13:50) Python 2.4.3 (#1, May 5 2011, 16:39:10) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3433520...
pywikipedia-bugs@lists.wikimedia.org