[Pywikipedia-l] [ pywikipediabot-Bugs-2524403 ] featured.py -fromall gets stuck on dsbwiki

SourceForge.net noreply at sourceforge.net
Wed Feb 4 06:30:08 UTC 2009


Bugs item #2524403, was opened at 2009-01-20 21:07
Message generated for change (Comment added) made by silvonen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2524403&group_id=93107

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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py -fromall gets stuck on dsbwiki

Initial Comment:
The script featured.py gets stuck on dsbwiki every time I run it to update fiwiki. Can we just comment out the following line of code? There doesn't seem to be any category called "Kategorija:Ekscelentny" on dsbwiki.

'dsb': (CAT, u"Ekscelentny"),

Test run output:

>python featured.py -fromall
...
Getting [[Kategorija:Ekscelentny]]...
Page //dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEkscelentny&redirect=no could not be retrieved. Check your family file ?
WARNING: Could not open 'http://dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEkscelentny&redirect=no'. Maybe the server or your connection is down. Retrying in 1 minutes...
Page //dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEkscelentny&redirect=no could not be retrieved. Check your family file ?
WARNING: Could not open 'http://dsb.wikipedia.org/w/index.php?useskin=monobook&title=Kategorija%3AEkscelentny&redirect=no'. Maybe the server or your connection is down. Retrying in 2 minutes...
...

> python version.py
Pywikipedia [http] trunk/pywikipedia (r6272, Jan 19 2009, 22:59:18)
Python 2.5.1 (r251:54863, May  1 2007, 17:47:05) [MSC v.1310 32 bit (Intel)]


----------------------------------------------------------------------

>Comment By: Mikko Silvonen (silvonen)
Date: 2009-02-04 08:30

Message:
I uploaded a quick fix, but it would of course be more elegant if the
script gave up on loading a non-existent category page instead of waiting
for it to be created.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2524403&group_id=93107



More information about the Pywikipedia-l mailing list