Bugs item #3141373, was opened at 2010-12-21 20:03 Message generated for change (Tracker Item Submitted) made by valhallasw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3141373...
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: interwiki Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Merlijn S. van Deen (valhallasw) Assigned to: Nobody/Anonymous (nobody) Summary: interwiki graphs fail for page titles with dashes
Initial Comment: python interwiki.py -graph ru:JPEG_XR
returns: (..)
Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "/home/valhallasw/src/pywikipedia-dev/pywikipedia/interwiki_graph.py", line 39, in run if self.graph.write(filename, prog = 'dot', format = format): File "/usr/lib/pymodules/python2.5/pydot.py", line 1696, in write dot_fd.write(self.create(prog, format)) File "/usr/lib/pymodules/python2.5/pydot.py", line 1796, in create status, stderr_output) ) InvocationException: Program terminated with status: 6. stderr follows: Error: /tmp/tmp70TEeD:139: syntax error near line 139 context: ""ja":"JPEG XR"" -> >>> ""es":"JPEG- <<< XR"";
The generated dot file has been attached.
valhallasw@nightshade:~/src/pywikipedia-svn$ python version.py Pywikipedia [svn+ssh] trunk/pywikipedia (r8785, 2010/12/21, 00:11:55) Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) [GCC 4.3.2] config-settings: use_api = False use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3141373...
pywikipedia-bugs@lists.wikimedia.org