[Pywikipedia-l] [ pywikipediabot-Bugs-1855071 ] "redirect.py double -xml:xx -namespace:x" crashing

SourceForge.net noreply at sourceforge.net
Thu Dec 20 18:10:09 UTC 2007


Bugs item #1855071, was opened at 2007-12-20 19:10
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=1855071&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: Nicolas Dumazet (nicdumz)
Assigned to: Nobody/Anonymous (nobody)
Summary: "redirect.py double -xml:xx -namespace:x" crashing

Initial Comment:
It is not even loading the XML, i get an instant error :

 python redirect.py double -namespace:0 -xml:frwiki-20071203-pages-articles.xml

Checked for running processes. 1 processes currently running, including the current process.
Reading XML dump...
Traceback (most recent call last):
  File "redirect.py", line 377, in <module>
    main()
  File "redirect.py", line 373, in main
    bot.run()
  File "redirect.py", line 328, in run
    self.fix_double_redirects()
  File "redirect.py", line 255, in fix_double_redirects
    for redir_name in self.generator.retrieve_double_redirects():
  File "redirect.py", line 199, in retrieve_double_redirects
    dict = self.get_redirects_from_dump()
  File "redirect.py", line 123, in get_redirects_from_dump
    if self.namespace and self.namespace != entry.namespace:
AttributeError: XmlEntry instance has no attribute 'namespace'


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

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



More information about the Pywikipedia-l mailing list