Page MenuHomePhabricator

interwiki graphs fail for page titles with dashes
Open, LowPublicBUG REPORT

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1275/
Reported by: valhallasw
Created on: 2010-12-21 19:03:12
Subject: interwiki graphs fail for page titles with dashes
Original description:
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


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1275

Details

Reference
bz55251

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:29 AM
bzimport set Reference to bz55251.
bzimport added a subscriber: Unknown Object (????).
Aklapper triaged this task as Low priority.Feb 4 2022, 8:07 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".