[Pywikipedia-l] [ pywikipediabot-Bugs-1871586 ] interwiki crashes with: regular expression code size limit e

SourceForge.net noreply at sourceforge.net
Mon Jan 14 22:26:30 UTC 2008


Bugs item #1871586, was opened at 2008-01-14 14:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1871586&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki crashes with: regular expression code size limit e

Initial Comment:
bot crashes with: regular expression code size limit exceeded error on many pages

Error report:


Updating links on page [[pl:10,000 Maniacs]].
No changes needed
Getting 37 pages from wikipedia:ru...
Dump pl (wikipedia) saved
Traceback (most recent call last):
  File "C:\dw\pywikipedia\interwiki.py", line 1606, in <module>
    bot.run()
  File "C:\dw\pywikipedia\interwiki.py", line 1381, in run
    self.queryStep()
  File "C:\dw\pywikipedia\interwiki.py", line 1355, in queryStep
    self.oneQuery()
  File "C:\dw\pywikipedia\interwiki.py", line 1351, in oneQuery
    subject.workDone(self)
  File "C:\dw\pywikipedia\interwiki.py", line 724, in workDone
    elif page.isEmpty() and not page.isCategory():
  File "C:\dw\pywikipedia\wikipedia.py", line 860, in isEmpty
    txt = removeLanguageLinks(txt)
  File "C:\dw\pywikipedia\wikipedia.py", line 3054, in removeLanguageLinks
    % languageR, re.IGNORECASE)
  File "C:\Python25\lib\re.py", line 180, in compile
    return _compile(pattern, flags)
  File "C:\Python25\lib\re.py", line 231, in _compile
    p = sre_compile.compile(pattern, flags)
  File "C:\Python25\lib\sre_compile.py", line 530, in compile
    groupindex, indexgroup
OverflowError: regular expression code size limit exceeded

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

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



More information about the Pywikipedia-l mailing list