[Pywikipedia-l] [ pywikipediabot-Bugs-2009437 ] global name 'image' is not defined in Checkimages.py

SourceForge.net noreply at sourceforge.net
Thu Jul 3 05:46:53 UTC 2008


Bugs item #2009437, was opened at 2008-07-03 13:46
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=2009437&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: global name 'image' is not defined in  Checkimages.py

Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r5664, Jul 02 2008, 12:52:15)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

Checkimages.py, when script found images in commons, it will traceback the bugs.

White apollon.jpg is on commons!
Traceback (most recent call last):
  File "D:\My Documents\SOURCE\pybot\trunk\pywikipedia\checkimages.py", line 133
6, in <module>
    checkbot()
  File "D:\My Documents\SOURCE\pybot\trunk\pywikipedia\checkimages.py", line 117
3, in checkbot
    response = mainClass.checkImageOnCommons()
  File "D:\My Documents\SOURCE\pybot\trunk\pywikipedia\checkimages.py", line 720
, in checkImageOnCommons
    elif 'stemma' in image.lower() and self.site.lang == 'it':
NameError: global name 'image' is not defined.


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

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



More information about the Pywikipedia-l mailing list