URL:
<http://gna.org/bugs/?12259>
Summary: wmllint crash (patch included)
Project: Battle for Wesnoth
Submitted by: ai0867
Submitted on: Monday 09/01/2008 at 08:45
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk r29157
Operating System: Linux
_______________________________________________________
Details:
I'm not actually sure in what circumstances wmllint crashed, but the actual
bug wasn't easy to find, so here's the patch.
Here is the actual crash:
wmllint: internal error on scenarios/01_The_Uprooting.cfg
Traceback (most recent call last):
File "/home/ai/wesnoth-trunk/data/tools/wmllint", line 1220, in <module>
changed = translator(fn, [], texttransform)
File "/home/ai/wesnoth-trunk/data/tools/wmllint", line 983, in translator
newdata = sanity_check(filename, newdata)
File "/home/ai/wesnoth-trunk/data/tools/wmllint", line 526, in
sanity_check
if has_tr_mark and not "wmllint: ignore" in line:
NameError: global name 'line' is not defined
File:
http://wesnoth-umc-dev.svn.sourceforge.net/viewvc/wesnoth-umc-dev/trunk/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg?revision=1302&view=markup
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 09/01/2008 at 08:45 Name: wmllint.diff Size: 786B By: ai0867
<http://gna.org/bugs/download.php?file_id=4763>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12259>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs