Bugs item #3433609, was opened at 2011-11-04 10:49 Message generated for change (Tracker Item Submitted) made by djbarrett You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3433609...
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: Daniel Barrett (djbarrett) Assigned to: Nobody/Anonymous (nobody) Summary: Patch 3419295 did not fix python 2.4 compatibility
Initial Comment: After the change from 3419295, there is still a syntax error:
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 142, in ? from pywikibot import * File "/usr/local/pywikipedia/pywikibot/__init__.py", line 16, in ? from i18n import translate File "/usr/local/pywikipedia/pywikibot/i18n.py", line 14, in ? from plural import plural_rules File "/usr/local/pywikipedia/pywikibot/plural.py", line 17 0 if (n == 0) else ^ SyntaxError: invalid syntax
$ python version.py Pywikipedia [http] trunk/pywikipedia (r9725, 2011/11/04, 14:50:26) Python 2.4.3 (#1, Sep 21 2011, 19:55:41) [GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] 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=3433609...