[Pywikipedia-l] [ pywikipediabot-Bugs-2013579 ] blockedpageschecker often aborts with "API problem".

SourceForge.net noreply at sourceforge.net
Tue Jul 8 15:13:25 UTC 2008


Bugs item #2013579, was opened at 2008-07-08 15:10
Message generated for change (Comment added) made by nightshadow28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&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: 5
Private: No
Submitted By: Nightshadow28 (nightshadow28)
Assigned to: Nobody/Anonymous (nobody)
Summary: blockedpageschecker often aborts with "API problem".

Initial Comment:
blockedpageschecker often aborts with "API problem" at unsettled article.

Japanese Wikipedia often has slowly response now, so the bot may fail not to be handling some exception.
-----
Loading [[B'z The Best "ULTRA Treasure"]]...
Traceback (most recent call last):
  File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
    yield loaded_page
GeneratorExit

Traceback (most recent call last):
  File "blockpageschecker.py", line 400, in <module>
    main()
  File "blockpageschecker.py", line 257, in main
    restrictions = page.getRestrictions()
  File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
    raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.

John_Doe at hogehoge:~/pywikipedia$ 
oading [[]]...
Traceback (most recent call last):
  File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
    yield loaded_page
GeneratorExit

Traceback (most recent call last):
  File "blockpageschecker.py", line 400, in <module>
    main()
  File "blockpageschecker.py", line 257, in main
    restrictions = page.getRestrictions()
  File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
    raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe at hogehoge:~/pywikipedia$ 
-----
Pywikipedia [http] trunk/pywikipedia (r5693, Jul 08 2008, 12:26:17)
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

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

>Comment By: Nightshadow28 (nightshadow28)
Date: 2008-07-08 15:13

Message:
Logged In: YES 
user_id=1971526
Originator: YES

I attached traceback as text file on SF. Thanks.
File Added: blockepageschecker.txt

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

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



More information about the Pywikipedia-l mailing list