Bugs item #1810765, was opened at 2007-10-10 20:20 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=1810765...
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: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: shizhao (wikishizhao) Assigned to: Nobody/Anonymous (nobody) Summary: removeImage() BUG
Initial Comment:
Traceback (most recent call last): File "deledpimage.py", line 38, in ? text.removeImage(article.title(), True, summary, True) File "/home/.chanel/shizhao/pywikipediabot/wikipedia.py", line 1998, in removeImage return self.replaceImage(image, None, put, summary, safe) File "/home/.chanel/shizhao/pywikipediabot/wikipedia.py", line 2075, in replaceImage templateR = re.compile(ur'(?s){{(?<contents>.*?}}') File "/usr/lib/python2.3/sre.py", line 179, in compile return _compile(pattern, flags) File "/usr/lib/python2.3/sre.py", line 230, in _compile raise error, v # invalid expression sre_constants.error: syntax error
deledpimage.py see http://zh.wikipedia.org/wiki/User:Sz-iwbot/deledpimage.py
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1810765...