[Pywikipedia-l] [ pywikipediabot-Bugs-1860244 ] Deadlock in wikipedia.mediawiki_message()

SourceForge.net noreply at sourceforge.net
Sat Dec 29 09:30:00 UTC 2007


Bugs item #1860244, was opened at 2007-12-29 01:37
Message generated for change (Settings changed) made by wikipedian
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1860244&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Bernhard Mayr (falk_steinhauer)
Assigned to: Nobody/Anonymous (nobody)
Summary: Deadlock in wikipedia.mediawiki_message()

Initial Comment:
All tries to run a script that implicitly needs to call wikipedia.mediawiki_message() fail with the following error message:
"WARNING: No text area found on www.wiki-aventurica.de/index.php?title=MediaWiki:whatlinkshere-next&action=edit.
Maybe the server is down. Retrying in 1 minutes..."

This message is repeated infinitely with longer wait periods.

The failure is due to the missing textarea in "http://www.wiki-aventurica.de/index.php?title=MediaWiki:Whatlinkshere-next&action=edit".
So line 3992 of wikipedia.py (if tree.textarea is None:) returns TRUE all time and causes the deadlock.

With this problem I can't use the global option "-ref" (ReferringPageGenerator), because it obviously causes the call of mediawiki_message().

I hope you can find a solution for wikis that do not have text on this special page.


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

Comment By: Rotem Liss (rotemliss)
Date: 2007-12-29 08:49

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

Fixed in r4776.

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

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



More information about the Pywikipedia-l mailing list