https://bugzilla.wikimedia.org/show_bug.cgi?id=55308
Web browser: --- Bug ID: 55308 Summary: Fullurl in imageharvest.py does not work Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/897/ Reported by: dasch88 Created on: 2009-04-04 09:54:06 Subject: Fullurl in imageharvest.py does not work Original description: 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)]
https://bugzilla.wikimedia.org/show_bug.cgi?id=55308
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/897
https://bugzilla.wikimedia.org/show_bug.cgi?id=55308
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ladsgroup@gmail.com Resolution|--- |WORKSFORME
--- Comment #1 from Amir Ladsgroup ladsgroup@gmail.com --- I wasn't able to reproduce the and since it was reported FIVE years ago, It's probably fixed
pywikipedia-bugs@lists.wikimedia.org