Hmmm... I was not getting it with normal usage, but I am
getting it on the -restore option. So I guess it has to do
with the syntax of the dumpfile.
I'm not sure what you mean by 'stack trace', but if you mean
the error messages:
(command: interwiki.py -restore)
File "C:\PROGRAMS\python\robot\interwiki.py", line 1003, in ?
sa.run()
File "C:\PROGRAMS\python\robot\interwiki.py", line 787, in run
self.queryStep()
File "C:\PROGRAMS\python\robot\interwiki.py", line 761, in
queryStep
self.oneQuery()
File "C:\PROGRAMS\python\robot\interwiki.py", line 730, in
oneQuery
site = self.selectQuerySite()
File "C:\PROGRAMS\python\robot\interwiki.py", line 721, in
selectQuerySite
if self.counts[wikipedia.getSite()] > 4:
KeyError: wikipedia:nl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This fix I made 20 minutes after your bug report, because I
discovered the problem myself. Running the bugged version
has much more severe consequences than this: in other cases
it might modify all interwiki links to style
[[wikipedia:en:Disaster]] and add an interwiki link to self.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=47476
Not for me, I am running it right now. Can you send a stack
trace?
Logged In: YES
user_id=843018
Hmmm... I was not getting it with normal usage, but I am
getting it on the -restore option. So I guess it has to do
with the syntax of the dumpfile.
I'm not sure what you mean by 'stack trace', but if you mean
the error messages:
(command: interwiki.py -restore)
File "C:\PROGRAMS\python\robot\interwiki.py", line 1003, in ?
sa.run()
File "C:\PROGRAMS\python\robot\interwiki.py", line 787, in run
self.queryStep()
File "C:\PROGRAMS\python\robot\interwiki.py", line 761, in
queryStep
self.oneQuery()
File "C:\PROGRAMS\python\robot\interwiki.py", line 730, in
oneQuery
site = self.selectQuerySite()
File "C:\PROGRAMS\python\robot\interwiki.py", line 721, in
selectQuerySite
if self.counts[wikipedia.getSite()] > 4:
KeyError: wikipedia:nl
Logged In: YES
user_id=47476
Could you check whether you are running the latest version
of family.py?
----------------------------
revision 1.9
date: 2004/10/16 17:47:09; author: hooft; state: Exp;
lines: +6 -1
fixes in comparing families
----------------------------
This fix I made 20 minutes after your bug report, because I
discovered the problem myself. Running the bugged version
has much more severe consequences than this: in other cases
it might modify all interwiki links to style
[[wikipedia:en:Disaster]] and add an interwiki link to self.
Logged In: YES
user_id=843018
Ok, making sure I had the latest version of everything fixed it.