Python extension issue with LO 4 on Windows

Olivier R. olivier.noreply at gmail.com
Tue Jan 22 05:05:19 PST 2013


Hi *,

On Windows, LO 4 is unable to install this extension (written in Python):
http://extensions.libreoffice.org/extension-center/dictionnaires-francais/releases/4.9/lo-oo-ressources-linguistiques-fr-v4.9.oxt

Here is the error I get:

(com.sun.star.uno.RuntimeException) { { Message = "<class
'UnicodeDecodeError'>: 'charmap' codec can't decode byte 0x9d in position
3782: character maps to <undefined>, traceback follows\X000a  C:\\Program
Files (x86)\\LOdev
4.0\\program\\python-core-3.3.0\\lib\\encodings\\cp1252.py:23 in function
decode() [return
codecs.charmap_decode(input,self.errors,decoding_table)[0]]\X000a 
C:\\Program Files (x86)\\LOdev 4.0\\program\\pythonloader.py:94 in function
getModuleFromUrl() [src = fileHandle.read().replace(\"\\r\",\"\")]\X000a 
C:\\Program Files (x86)\\LOdev 4.0\\program\\pythonloader.py:146 in function
writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl
)]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

But it works properly on Linux.

The code is useful to switch between the 4 different French dictionaries.

Any idea?
Should I create a bug report?

Best regards,
Olivier



--
View this message in context: http://nabble.documentfoundation.org/Python-extension-issue-with-LO-4-on-Windows-tp4031038.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list