Bugs item #2730592, was opened at 2009-04-04 11:54 Message generated for change (Tracker Item Submitted) made by dasch88 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2730592...
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: DaSch (dasch88) Assigned to: Nobody/Anonymous (nobody) Summary: Fullurl in imageharvest.py does not work
Initial Comment: When I have a page where the picturelinks are given as fullurl they are appended to the pageurl
Skript progess: python imageharvest.py http://commons.wikimedia.org/wiki/User:DaSch/Bot-Export Checked for running processes. 1 processes currently running, including the current process. What text should be added at the end of the description of each image from this url? [[Import::04.04.2009]] [[Kategorie:Commons-Import]] Include image http://commons.wikimedia.org/wiki/User:DaSch/http://commons.wikipedia.org/ap... ([y]es, [N]o, [s]top) N Include image http://commons.wikimedia.org/wiki/User:DaSch/http://upload.wikimedia.org/wik... ([y]es, [N]o, [s]top) y Give the description of this image: 1789 Reading file http://commons.wikimedia.org/wiki/User:DaSch/http://upload.wikimedia.org/wik... Traceback (most recent call last): File "imageharvest.py", line 117, in <module> main(url,image_url) File "imageharvest.py", line 95, in main uploadBot.run() File "/root/pywecowi/upload.py", line 296, in run return self.upload_image() File "/root/pywecowi/upload.py", line 119, in upload_image file = uo.open(self.url) File "/usr/lib/python2.5/urllib.py", line 190, in open return getattr(self, name)(url) File "/usr/lib/python2.5/urllib.py", line 338, in open_http return self.http_error(url, fp, errcode, errmsg, headers) File "/usr/lib/python2.5/urllib.py", line 355, in http_error return self.http_error_default(url, fp, errcode, errmsg, headers) File "/root/pywecowi/wikipedia.py", line 6954, in http_error_default raise PageNotFound(u'Page %s could not be retrieved. Check your family file ?' % url) wikipedia.PageNotFound: Page //commons.wikimedia.org/wiki/User:DaSch/http://upload.wikimedia.org/wikipedia/commons/1/1b/electoralcollege1789.svg could not be retrieved. Check your family file ?
Version: Pywikipedia [http] trunk/pywikipedia (r6569, Apr 03 2009, 16:17:41) Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2730592...
pywikipedia-l@lists.wikimedia.org