[Pywikipedia-l] [ pywikipediabot-Bugs-1843759 ] [patch] image.py doesn't work

SourceForge.net noreply at sourceforge.net
Tue Dec 4 00:38:40 UTC 2007


Bugs item #1843759, was opened at 2007-12-04 01:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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.

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

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