Page MenuHomePhabricator

wikipedia.py
Closed, DeclinedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1121/
Reported by: foxie001
Created on: 2010-02-09 08:41:04
Subject: wikipedia.py
Original description:
Since a recent update of wikipedia.py its impossible to run the following command: python pywikipedia/interwiki.py. In stead I have to change the directory to the map pywikipedia and run the command: python interwiki.py


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

Details

Reference
bz55289

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:32 AM
bzimport set Reference to bz55289.
bzimport added a subscriber: Unknown Object (????).

Both possibilities works for me in r7921. Do you have additional informations like error messages and versions?

I have also r7921
I enter the following command
foxie001@nightshade:~$ nice python pywikipedia/interwiki.py -autonomous -quiet -askhints -lang:nl
Traceback \(most recent call last\):
File "pywikipedia/interwiki.py", line 328, in <module>
import wikipedia as pywikibot
File "/home/foxie001/pywikipedia/wikipedia.py", line 148, in <module>
import config, login, query, version
File "/home/foxie001/pywikipedia/config.py", line 88, in <module>
for \_filename in os.listdir\(os.path.join\(\_base\_dir, 'families'\)\):
OSError: \[Errno 2\] No such file or directory: '/home/foxie001/families'