[Pywikipedia-l] [ pywikipediabot-Patches-1843789 ] making image.py work

SourceForge.net noreply at sourceforge.net
Tue Dec 11 16:29:43 UTC 2007


Patches item #1843789, was opened at 2007-12-03 23:20
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1843789&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: None
Group: None
>Status: Closed
>Resolution: Duplicate
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: Rotem Liss (rotemliss)
Date: 2007-12-09 10:39

Message:
Logged In: YES 
user_id=1327030
Originator: NO

This is duplicate to bug 1843759. I fixed it.

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

Comment By: Pietro Battiston (toobaz)
Date: 2007-12-08 08: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&group_id=93107



More information about the Pywikipedia-l mailing list