Hi everyone,
I'm getting so freaking tired of these untested sloppy commits which keep breaking the bots.
alexsh@svn.wikimedia.org schreef:
Revision: 7591 Author: alexsh Date: 2009-11-04 13:22:17 +0000 (Wed, 04 Nov 2009)
Log Message:
- site().getUrl(): change all HTTP process to use urllib2.
- handle and combine Site Authentication, proxy handle and Proxy Authentication in the bottom.
Modified Paths:
trunk/pywikipedia/wikipedia.py
<knip>
-class MyURLopener(urllib.FancyURLopener):
- version="PythonWikipediaBot/1.0"/pywikipedia-svn
How the hell is upload.py supposed to work now?
Traceback (most recent call last): File "D:\Wikipedia\pywikipedia\flickrripper_wlanl.py", line 562, in <module> main() File "D:\Wikipedia\pywikipedia\flickrripper_wlanl.py", line 551, in main uploadedPhotos += processPhoto(flickr, photo_id, flickrreview, reviewer, ove rride, addCategory, removeCategories, autonomous) File "D:\Wikipedia\pywikipedia\flickrripper_wlanl.py", line 252, in processPho to bot.upload_image(debug=False) File "D:\Wikipedia\pywikipedia\upload.py", line 227, in upload_image self.read_file_content() File "D:\Wikipedia\pywikipedia\upload.py", line 108, in read_file_content uo = wikipedia.MyURLopener() AttributeError: OpenerDirector instance has no __call__ method
Please test your stuff decently before you commit it! About every time I do an svn update I have to get rid of dozens of bugs
Maarten