inclusion of pythonw.exe in 0.47pre4 causes 3rd party commandline usage problems
Bug #482093 reported by
juve
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I use LyX which uses Inkscape to convert my SVG to PDF/EPS via a .cmd-script.
When using vanilla 0.47pre i get a final document out of this process, that does not contain the converted images. Something goes wrong with the python-invokation within inkscape, but i don't get any error messages:
A detailed discussion can be found here: https:/
I also found a solution:
When renaming pythonw.exe to pythonw.bak in the inkscape/python folder everything works fine again. So i suggest to not ship pythonw.exe with the windows version of inkscape. (My old Inkscape 0.46 did not have pythonw.exe, but just python.exe included)
Ciao,
Juve
tags: |
added: cli packaging win32 removed: commandline |
summary: |
- inclustion of pythonw.exe in 0.47pre4 causes 3rd party commandline usage + inclusion of pythonw.exe in 0.47pre4 causes 3rd party commandline usage problems |
tags: | removed: python |
To post a comment you must log in.
I just tried to convert my SVGs via LyX again and the problem is still there, even with removing pythonw.exe
In this bug and in: https:/ /answers. launchpad. net/inkscape/ +question/ 89609 I claimed that renaming the files would fix the problem, but that was a mistake. I just thought it worked because my LyX used cached versions of the converted EPS-files (converted correctly from my SVGs by inkscape 0.46).
Therefore, this bug has a wrong title and description. Maybe it should be renamed:
Inclusion of python.exe in 0.47pre4 causes 3rd party commandline usage problems
The actual problem is the following:
Inkscape seems to look for it's own python.exe and uses that one if found. When inkscape uses it's own python my LyX generates empty documents (documents without images). I am not sure whether the problem results from LyX using the "wrong" Inkscape python, or whether the problem is caused by Inkscape using it'using it's own python. I just see the commandline popping up. In the title of the window i see which python is used, but not who invoked it.
Workaround: python\ python. exe in my case). This produces valid documents containing the converted EPS-images. But i still see commandline popups, which shouldn't be the case.
You can "fix" this problem by deleting python.exe from the inkscape/python folder. Then inkscape (via LyX?) uses LyX's python (C:\Lyx\
Problem Investigation:
When using inkscape 0.46 (leaving it's own python untouched) I have no problems and NO commandline popup. Maybe the Inkscape internal python invocation is simply missing the "do not show commandline"-flag?