Apache OpenOffice (AOO) Bugzilla – Issue 122864
Access violation in python.exe
Last modified: 2017-05-20 10:34:02 UTC
Any attempt to run "C:\Program Files (x86)\OpenOffice 4\program\python.exe" results in Segmentation violation I have just upgraded from 3.4.1 and can no longer run various scripts that use the built-in python ;-(
@jsc: python.exe (main/pyuno/zipcore/python.cxx) wasn't adapted to the 3-layer removal. Unhandled exception at 0x1b001b0c in python.exe: 0xC0000005: Access violation writing location 0x00130000. python.exe!tools::buildPath() + 0xde bytes C++ > python.exe!wmain(int argc=2089951896, wchar_t * * argv=0x0012fb08, wchar_t * * __formal=0x7c91e920) Line 110 + 0x21 bytes C++ 0012f294() ntdll.dll!7c91d97a() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] gdi32.dll!77f1d8f3() ntdll.dll!7c91cffa() gdi32.dll!77f1d920() gdi32.dll!77f1d92a()
*** Issue 122894 has been marked as a duplicate of this issue. ***
It seems that the corresponding path values in /pyuno/zipcore/python.cxx have not been adjusted to the no longer existing "3-layer office"
propose showstopper flag because it makes internal python unusable
does anybody have a script in place to test it?
Created attachment 81372 [details] The unoconv.py from github I would do the following using the attached unoconv.py (which came from https://github.com/dagwieers/unoconv): 1. Create any-old.ods 2. "C:\Program Files (x86)\OpenOffice 4\program\python.exe" unoconv.py -f pdf -o any-old.pdf any-old.ods
Fix available and it works on Windows. Will do a further test on Linux
fixed on branch AOO401 rev. 1518593 tested on Windows and Linux, Mac uses the system python
"jsc" committed SVN revision 1518593 into branches/AOO401: #122864# correct preapration of python env aligned with new dir structure
"jsc" committed SVN revision 1518604 into trunk: #122864# merge fix from AOO401 branch
set target milestone
*** Issue 123293 has been marked as a duplicate of this issue. ***