What steps will reproduce the problem?
1. run Nero in training mode and save team
2. The console window shows the error: the file name has a relative path ..\..\
tacked in front of the absolute path: c:\openNERO etc
To fix the problem I commented out module.py line 157, save_team:
#location = os.path.relpath("/") + location # commented out to fix bug in
Windows
same in load_team
This works only in Windows. A general fix might be to ensure that the location
is in relative form itself by applying os.path.relpath to it before
concatenating.
It appears that there's some assumption about the current directory and the
path provided that doesn't work in Windows python.
What version of the product are you using? On what operating system?
OpenNERO 2011.12.02
Windows XP SP3 Python 2.7
Original issue reported on code.google.com by nealemor...@gmail.com on 3 Dec 2011 at 6:20
Original issue reported on code.google.com by
nealemor...@gmail.com
on 3 Dec 2011 at 6:20