Last modified: 2014-07-20 10:54:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57282, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55282 - weblinkchecker.py throws IndexError: tuple index out of range
weblinkchecker.py throws IndexError: tuple index out of range
Status: NEW
Product: Pywikibot
Classification: Unclassified
weblinkchecker.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:56 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-20 10:54 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:56:48 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1148/
Reported by: masti01
Created on: 2010-03-17 21:49:18
Subject: weblinkchecker.py - anoying exceptions
Assigned to: xqt
Original description:
While processing external links weblinkchecker often trows this exception:

Exception while processing URL http://www.cev.lu/mmp-cgi/show.pl?cmd=tmpl&id=851&id2=150&id3=359&id4=4&id5=2&state=p\_prj\_game\_summary&key=0 in page Mistrzostwa Europy w Piłce Siatkowej Mężczyzn 1997
Exception in thread Mistrzostwa Europy w Piłce Siatkowej Mężczyzn 1997 - http://www.cev.lu/mmp-cgi/show.pl?cmd=tmpl&id=851&id2=150&id3=359&id4=4&id5=2&state=p\_prj\_game\_summary&key=0:
Traceback \(most recent call last\):
File "/usr/lib64/python2.6/threading.py", line 525, in \_\_bootstrap\_inner
self.run\(\)
File "weblinkchecker.py", line 492, in run
ok, message = linkChecker.check\(\)
File "weblinkchecker.py", line 423, in check
msg = error\[1\]
IndexError: tuple index out of range
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:56:50 UTC
I inserted additional debugging information for now. Do you have the page this error occures?
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:56:51 UTC
- **assigned_to**: nobody --> xqt
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:56:53 UTC
it looks that the errors are timeouts. for example:
\#\#\# DEBUG information for \#2972249
Exception while processing URL C3466C04-98FF-405A-AA70-93EB417A19F4">http://www.football.fo/index.asp?id=\{C3466C04-98FF-405A-AA70-93EB417A19F4\} in page 1. deild Wysp Owczych kobiet \(2009\)
Exception in thread 1. deild Wysp Owczych kobiet \(2009\) - C3466C04-98FF-405A-AA70-93EB417A19F4">http://www.football.fo/index.asp?id=\{C3466C04-98FF-405A-AA70-93EB417A19F4\}:
Traceback \(most recent call last\):
File "/usr/lib64/python2.6/threading.py", line 525, in \_\_bootstrap\_inner
self.run\(\)
File "weblinkchecker.py", line 496, in run
ok, message = linkChecker.check\(\)
File "weblinkchecker.py", line 427, in check
raise IndexError, error
IndexError: timed out


and the page is really slow to load. So we need to fix is that the error should produce the proper message.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links