https://bugs.documentfoundation.org/show_bug.cgi?id=150982
Bug ID: 150982
Summary: Failure installing a Python-based OXT with a space in
the file name
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
1. Download attachment 182402 from bug 150926;
2. Rename the filename from 'pystringtest.oxt' to, e.g., 'pystringtest
(2).oxt';
3. Try to install it (e.g., double-click the .oxt in the file manager to
execute "soffice '/path/to/pystringtest (2).oxt'").
=> installation would fail, with something like
> (com.sun.star.uno.RuntimeException) { { Message = "<class
> 'FileNotFoundError'>: [Errno 2] No such file or directory:
> 'C:\\\\Users\\\\mikek\\\\AppData\\\\Roaming\\\\LibreOffice\\\\4\\\\user\\\\uno_packages\\\\cache\\\\uno_packages\\\\lu233889xtt2.tmp_\\\\pystringtest%20(2).oxt\\\\pystringtest.py',
> traceback follows
> \X000a File \"C:\\Program Files\\LibreOffice\\program\\pythonloader.py\",
> line 146, in writeRegistryInfo
> \X000a mod = self.getModuleFromUrl( locationUrl )
> \X000a File \"C:\\Program Files\\LibreOffice\\program\\pythonloader.py\",
> line 93, in getModuleFromUrl
> \X000a with open( filename, encoding='utf_8' ) as fileHandle:
> \X000a
> \X000a", Context = (com.sun.star.uno.XInterface) @0 } }
Indeed, there is no directory named 'pystringtest%20(2).oxt' under
C:\Users\mikek\AppData\Roaming\LibreOffice\4\user\uno_packages\cache\uno_packages\lu233889xtt2.tmp_,
the correct name is 'pystringtest (2).oxt', which is there.
Tested with Version: 7.4.1.2 (x64) / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
--
You are receiving this mail because:
You are the assignee for the bug.