[Pywikipedia-l] [ pywikipediabot-Bugs-1843759 ] [patch] image.py doesn't work
SourceForge.net
noreply at sourceforge.net
Sun Dec 9 14:14:33 UTC 2007
Bugs item #1843759, was opened at 2007-12-04 01:38
Message generated for change (Settings changed) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1843759&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Pietro Battiston (toobaz)
Assigned to: Nobody/Anonymous (nobody)
Summary: [patch] image.py doesn't work
Initial Comment:
The following command:
python image.py pippo.png
gives the following output:
Checked for running processes. 1 processes currently running, including the current process.
'Page' object has no attribute 'usingPages'
The problem is that oldImagePage is an instance of wikipedia.Page instead of wikipedia.ImagePage.
I attach a very simple patch that fixes it. Then, everything works.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-12-09 12:52
Message:
Logged In: YES
user_id=1327030
Originator: NO
Fixed in r4649.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1843759&group_id=93107
More information about the Pywikipedia-l
mailing list