Patches item #1843789, was opened at 2007-12-04 03:20 Message generated for change (Settings changed) made by toobaz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1843789...
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: None Group: None Status: Open Resolution: None
Priority: 7
Private: No Submitted By: Pietro Battiston (toobaz) Assigned to: Nobody/Anonymous (nobody) Summary: making image.py 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: Pietro Battiston (toobaz) Date: 2007-12-08 12:37
Message: Logged In: YES user_id=1553460 Originator: YES
Sorry, the original summary was totally wrong. The problem is in image.py, not replace.py
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1843789...
pywikipedia-l@lists.wikimedia.org