[Pywikipedia-l] [ pywikipediabot-Bugs-1869983 ] Server errors in put() not caught

SourceForge.net noreply at sourceforge.net
Sun Jan 13 18:22:23 UTC 2008


Bugs item #1869983, was opened at 2008-01-12 18:23
Message generated for change (Comment added) made by rotemliss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1869983&group_id=93107

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: 6
Private: No
Submitted By: Bryan (btongminh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Server errors in put() not caught

Initial Comment:
Server errors in Page.put are not caught.

[16:48:05]	<siebrand>	[2008-01-12 15:43:18] ServerError: (145, 'Connection timed out')
[16:48:06]	<siebrand>	Traceback (most recent call last):
[16:48:06]	<siebrand>	File "commonsdelinker/image_replacer.py", line 213, in do
[16:48:06]	<siebrand>	File "commonsdelinker/image_replacer.py", line 254, in report
[16:48:06]	<siebrand>	File "/projects/delinker/cdh/wikipedia.py", line 1194, in put
[16:48:06]	<siebrand>	return self._putPage(newtext, comment, watchArticle, minorEdit, newPage, self.site().getToken(sysop = sysop), sysop = sysop)
[16:48:08]	<siebrand>	File "/projects/delinker/cdh/wikipedia.py", line 1266, in _putPage
[16:48:10]	<siebrand>	response, data = self.site().postForm(address, predata, sysop)
[16:48:12]	<siebrand>	File "/projects/delinker/cdh/wikipedia.py", line 3820, in postForm
[16:48:14]	<siebrand>	raise ServerError(e)
[16:48:16]	<siebrand>	ServerError: (145, 'Connection timed out')

----------------------------------------------------------------------

Comment By: Rotem Liss (rotemliss)
Date: 2008-01-13 20:22

Message:
Logged In: YES 
user_id=1327030
Originator: NO

Catching ServerError exceptions as of r4875.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1869983&group_id=93107



More information about the Pywikipedia-l mailing list