Purple exclamation mark.svg Planning the future of Botwiki! - Help us bring Botwiki up to date, contribute to our strategy discussion, add bot scripts, and contribute manuals, guides, and tutorials! Almost anything related to bots, particularly those used to edit mediawiki, is welcome.

Red exclamation mark.svg UNABLE TO EDIT? - We've experienced attacks by spambots lately and now require you to confirm your e-mail before you can edit (go to your preferences, enter an e-mail address, and request a confirmation e-mail, then go to your e-mail and click on the confirmation link). We also require new accounts to make a few edits and wait a few minutes before before you can create a page; however, if this is a problem contact us in #botwiki and we can manually confirm your account. Sorry for the inconvenience.

Python talk:Reflists.py

From Botwiki
Jump to: navigation, search

I am running into an error:

Traceback (most recent call last):
 File "/home/nathan/pywikipedia/pagegenerators.py", line 880, in __iter__
   for page in self.wrapped_gen:
 File "reflinks.py", line 164, in next
   entry = self.parser.next()
 File "/home/nathan/pywikipedia/xmlreader.py", line 294, in new_parse
   for event, elem in context:
 File "<string>", line 64, in __iter__
SyntaxError: syntax error: line 1, column 0
syntax error: line 1, column 0

If anyone would care to speculate on the cause, have at it. I just downloaded a new copy of xmlreader.py off SVN and it's still doing it. Tisane 23:53, 8 April 2010 (UTC)

Personal tools
Share