Last modified: 2013-10-05 10:40:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57251, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55251 - interwiki graphs fail for page titles with dashes
interwiki graphs fail for page titles with dashes
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:51 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-05 10:40 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:51:33 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links