alexsh@svn.wikimedia.org schreef:
Revision: 7649 Author: alexsh Date: 2009-11-15 13:13:48 +0000 (Sun, 15 Nov 2009)
Log Message:
sorry, forget to fix it.
Modified Paths:
trunk/pywikipedia/upload.py
That didn't fix it alexsh. I still get all sorts of errors.
For example when running "imagecopy.py -lang:nl -family:wikipedia -page:Bestand:Overzicht_theater_Mytilini.jpg" I get:
Traceback (most recent call last): File "C:\Program Files\Python25\lib\threading.py", line 460, in __bootstrap self.run() File "D:\Wikipedia\pywikipedia\imagecopy.py", line 361, in run bot.run() File "D:\Wikipedia\pywikipedia\upload.py", line 387, in run return self.upload_image() File "D:\Wikipedia\pywikipedia\upload.py", line 224, in upload_image return self._uploadImageOld(debug) File "D:\Wikipedia\pywikipedia\upload.py", line 292, in _uploadImageOld self.read_file_content() File "D:\Wikipedia\pywikipedia\upload.py", line 113, in read_file_content file = uo.open(self.url) File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open response = meth(req, response) File "C:\Program Files\Python25\lib\urllib2.py", line 491, in http_response 'http', request, response, code, msg, hdrs) File "C:\Program Files\Python25\lib\urllib2.py", line 418, in error return self._call_chain(*args) File "C:\Program Files\Python25\lib\urllib2.py", line 353, in _call_chain result = func(*args) File "C:\Program Files\Python25\lib\urllib2.py", line 499, in http_error_defau lt raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 403: Forbidden
Did you do a test upload?
With the flickr bot I get 411 errors.
Maarten