Bugs item #2895184, was opened at 2009-11-10 14:33 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2895184...
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: Fixed
Priority: 5 Private: No Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: xqt (xqt)
Summary: AttributeError: addinfourl instance has no attribute 'reason
Initial Comment: Pywikipedia [http] trunk/pywikipedia (r7616, 2009/11/09, 14:54:25) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] MediaWiki 1.15.1 -------------------------------
I've got the following error while file uploading.
Traceback (most recent call last): File "/export1/wiki/pywikipedia/upload.py", line 418, in <module> main(sys.argv[1:]) File "/export1/wiki/pywikipedia/upload.py", line 414, in main bot.run() File "/export1/wiki/pywikipedia/upload.py", line 387, in run return self.upload_image() File "/export1/wiki/pywikipedia/upload.py", line 224, in upload_image return self._uploadImageOld(debug) File "/export1/wiki/pywikipedia/upload.py", line 364, in _uploadImageOld wikipedia.output(u'%i %s' % (response.code, response.reason)) AttributeError: addinfourl instance has no attribute 'reason'
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-10 14:50
Message: done in r7621
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2895184...
pywikipedia-bugs@lists.wikimedia.org