URL:
  <http://gna.org/bugs/?13516>

                 Summary: about_cfg_to_wiki broken (problems with
wmldata.py/wmlparser.py ?)
                 Project: Battle for Wesnoth
            Submitted by: ivanovic
            Submitted on: Mittwoch 13.05.2009 um 12:48
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: elias
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.0-svn, r35592
        Operating System: Linux

    _______________________________________________________

Details:

It seems that at the moment the trunk version of data/tools/about_cfg_to_wiki
is broken. When currently running this tool, the result is:

$ ./data/tools/about_cfg_to_wiki
Traceback (most recent call last):
  File "./data/tools/about_cfg_to_wiki", line 45, in <module>
    wml = wmldata.read_file(arg)
  File "/src/wesnoth/data/tools/wesnoth/wmldata.py", line 626, in read_file
    parser.parse_top(data)
  File "/src/wesnoth/data/tools/wesnoth/wmlparser.py", line 761, in
parse_top
    self.parse_top(subdata, name)
  File "/src/wesnoth/data/tools/wesnoth/wmlparser.py", line 754, in
parse_top
    raise Error(self, "Mismatched closing tag [%s], expected [/%s]" % (name,
state))
wesnoth.wmlparser.Error: data/core/about.cfg:973: Mismatched closing tag
[/entry], expected [/about]
 from :1

Using the script from branches/1.6 it is possible to extract the about data
without a problem which makes me conclude that the credits are all correct
and the script is somehow faulty. I would not be surprised if other areas are
affected, too.

Python version used: Python 2.6.2




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13516>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to