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

SourceForge.net noreply at sourceforge.net
Sat Jan 5 11:14:27 UTC 2008


Bugs item #1855071, was opened at 2007-12-20 15:10
Message generated for change (Settings changed) made by leogregianin
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: Closed
>Resolution: Fixed
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'


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

Comment By: Russell Blau (russblau)
Date: 2007-12-20 15:40

Message:
Logged In: YES 
user_id=855050
Originator: NO

fixed in r4741

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

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