https://bugs.documentfoundation.org/show_bug.cgi?id=99317
--- Comment #6 from Quinton <[email protected]> --- (In reply to raal from comment #5) > Tested with LO 5.0.5 and 5.1.2 and I doesn't see a difference> > > file "XA003-800000A_BOM.xls" I copied into C:\Program Files\LibreOffice > 5\program and to the same directory as python_sort_sample.py is. > > > > Win7;5.1.2(64): > C:\Program Files\LibreOffice 5\program>python.exe > \\VBOXSVR\tmp\python_sort_samp > le.py > Closing SOffice.exe instances > Attempting to open an UNO socket, count: 0 > Processing Source Files. > Traceback (most recent call last): > File "\\VBOXSVR\tmp\python_sort_sample.py", line 170, in <module> > runProgram() > File "\\VBOXSVR\tmp\python_sort_sample.py", line 164, in runProgram > > tmpQColNumDictBOM=fileCheckSortSave97Xls(desktop,"file:///"+os.path.abspath( > "XA003-800000A_BOM.xls").replace("\\","/"),"21",context) > File "\\VBOXSVR\tmp\python_sort_sample.py", line 153, in > fileCheckSortSave97Xl > s > SRCXLSDoc.storeAsURL(filenameurl,(propval,)) > __main__.ErrorCodeIOException: SfxBaseModel::storeSelf: 0x4c0c > > 5.0.5(64): > C:\Program Files\LibreOffice 5\program>python.exe > \\VBOXSVR\tmp\python_sort_samp > le.py > Closing SOffice.exe instances > Attempting to open an UNO socket, count: 0 > Processing Source Files. > Traceback (most recent call last): > File "\\VBOXSVR\tmp\python_sort_sample.py", line 170, in <module> > runProgram() > File "\\VBOXSVR\tmp\python_sort_sample.py", line 164, in runProgram > > tmpQColNumDictBOM=fileCheckSortSave97Xls(desktop,"file:///"+os.path.abspath( > "XA003-800000A_BOM.xls").replace("\\","/"),"21",context) > File "\\VBOXSVR\tmp\python_sort_sample.py", line 153, in > fileCheckSortSave97Xl > s > SRCXLSDoc.storeAsURL(filenameurl,(propval,)) > __main__.ErrorCodeIOException: SfxBaseModel::storeSelf: 0x4c0c Hi Raal, Thank you for having a look. A SMB type path("\\VBOXSVR\tmp") will most likely not open. If you copy the file to the windows OS drive like "c:\tmp" it should work better. We first noticed the freeze occur on a Windows 7 64bit PC. The script I run is a bit different, but the one I gave you should be able to trigger the problem. Here is sample output from my script run on three different Libre installs; Using SOfficeBin(5.0.5.2): C:\Program Files\LibreOffice 5\program\soffice.exe Closing SOffice.exe instances Generating odt docs: 'Title not defined', 'XA003-150000' 'None' 'A' Attempting to open an UNO socket, count: 0 Processing Source Files. freeze expected freeze avoided freeze expected freeze avoided freeze expected freeze avoided freeze expected freeze avoided freeze expected freeze avoided freeze expected freeze avoided freeze expected freeze avoided freeze expected freeze avoided Creating BOM ... ### Using SOfficeBin(5.2.0.0.alpha0): C:\Program Files\LibreOfficeDev 5\program\soffice.exe Closing SOffice.exe instances Generating odt docs: 'Title not defined', 'XA003-150000' 'None' 'A' Attempting to open an UNO socket, count: 0 Attempting to open an UNO socket, count: 1 Processing Source Files. freeze expected ### Using SOfficeBin(5.1.2.2): C:\Program Files\LibreOffice 5\program\soffice.exe Closing SOffice.exe instances Generating odt docs: 'Title not defined', 'XA003-150000' 'None' 'A' Attempting to open an UNO socket, count: 0 Attempting to open an UNO socket, count: 1 Attempting to open an UNO socket, count: 2 Processing Source Files. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
