Wesnoth as subprocess in python (wmlparser3.py)
Moderator: Forum Moderators
Wesnoth as subprocess in python (wmlparser3.py)
I use wmlparser3.py tool i python. When i try parse file with it, this error apperas:
EDIT: There is no problem if user data is located in Documents.
I use stable version of game with userdata folder stored in instalation path. Btw wesnoth creates empty userdata forler in my python program folder. What shoud I do about it?EDIT: There is no problem if user data is located in Documents.
- Celtic_Minstrel
- Developer
- Posts: 2209
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Wesnoth as subprocess in python (wmlparser3.py)
Have you even looked at it? You can pass the userdata path when constructing the parser object; or if using it from the command-line, there's an argument to wmlparser3.py that sets it.
Re: Wesnoth as subprocess in python (wmlparser3.py)
It might help if you showed us the complete command-line instruction you are using to invoke the parser.
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."