Can this be an option to solve this problem? Can anyone give a few tips on
this? (just to try and test it)
Right. Currently, 6.5 has utils.split(), which handles Windows
filenames, but much of the wx GUI is still using shlex.split()
directly.
Feel free to replace all occurrences of shlex.split() with
utils.split() in your local copy. Also, open a bug report (if there
isn't already one for this issue).
Can this be an option to solve this problem? Can anyone give a few tips on
this? (just to try and test it)
Right. Currently, 6.5 has utils.split(), which handles Windows
filenames, but much of the wx GUI is still using shlex.split()
directly.
Feel free to replace all occurrences of shlex.split() with
utils.split() in your local copy. Also, open a bug report (if there
isn't already one for this issue).
Here a silly two-line for most of the job:
cd gui/wxpython/gui_modules/
for i in menuform.py gmodeler.py menu.py prompt.py goutput.py ; do mv
$i tmp.py ; cat tmp.py | sed 's+shlex.split+utils.split+g' > $i ; rm
-f tmp.py ; done
for i in menuform.py gmodeler.py menu.py prompt.py goutput.py ; do mv
$i tmp.py ; cat tmp.py | sed 's+import shlex+import utils+g' > $i ; rm
-f tmp.py ; done
I hesitate to submit this since a my wx fu is not high enough to verify
but the GUI starts.
Can this be an option to solve this problem? Can anyone give a few tips on
this? (just to try and test it)
Right. Currently, 6.5 has utils.split(), which handles Windows
filenames, but much of the wx GUI is still using shlex.split()
directly.
Feel free to replace all occurrences of shlex.split() with
utils.split() in your local copy. Also, open a bug report (if there
isn’t already one for this issue).
Here a silly two-line for most of the job:
cd gui/wxpython/gui_modules/
for i in menuform.py gmodeler.py menu.py prompt.py goutput.py ; do mv
$i tmp.py ; cat tmp.py | sed ‘s+shlex.split+utils.split+g’ > $i ; rm
-f tmp.py ; done
for i in menuform.py gmodeler.py menu.py prompt.py goutput.py ; do mv
$i tmp.py ; cat tmp.py | sed ‘s+import shlex+import utils+g’ > $i ; rm
-f tmp.py ; done
I hesitate to submit this since a my wx fu is not high enough to verify
but the GUI starts.