prrvchr / jdbcDriverOOo

JDBC Driver for LibreOffice
https://prrvchr.github.io/jdbcDriverOOo/
6 stars 0 forks source link

error when installing on Windows 10 / LO 7.2.1.1 #1

Closed stragu closed 2 years ago

stragu commented 2 years ago

Hi there!

First, thanks for your work on this, it is very much appreciated.

I am trying to connect my Office365 email account, so installed the extensions as described on your repository: https://prrvchr.github.io/smtpServerOOo/#installation

For the HsqlDBDriverOOo, I get the following message:

(com.sun.star.uno.RuntimeException) { { Message = "<class 'ImportError'>: No module named 'six' (or 'six.binary_type' is unknown), 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 101, in getModuleFromUrl\X000a    exec(codeobject, mod.__dict__)\X000a  File \"C:\\Users\\uqsguill\\AppData\\Roaming\\LibreOffice\\4\\user\\uno_packages\\cache\\uno_packages\\lu1100821cme.tmp_\\HsqlDBDriverOOo.oxt\\OptionsDialog.py\", line 43, in <module>\X000a    from hsqldbdriver import createService\X000a  File \"C:\\Program Files\\LibreOffice\\program\\uno.py\", line 346, in _uno_import\X000a    return _builtin_import(name, *optargs, **kwargs)\X000a  File \"C:\\Users\\uqsguill\\AppData\\Roaming\\LibreOffice\\4\\user\\uno_packages\\cache\\uno_packages\\lu1100821cme.tmp_\\HsqlDBDriverOOo.oxt\\pythonpath\\hsqldbdriver\\__init__.py\", line 38, in <module>\X000a    from .unotool import createService\X000a  File \"C:\\Program Files\\LibreOffice\\program\\uno.py\", line 346, in _uno_import\X000a    return _builtin_import(name, *optargs, **kwargs)\X000a  File \"C:\\Users\\uqsguill\\AppData\\Roaming\\LibreOffice\\4\\user\\uno_packages\\cache\\uno_packages\\lu1100821cme.tmp_\\HsqlDBDriverOOo.oxt\\pythonpath\\hsqldbdriver\\unotool\\__init__.py\", line 30, in <module>\X000a    from .unotool import createMessageBox\X000a  File \"C:\\Program Files\\LibreOffice\\program\\uno.py\", line 346, in _uno_import\X000a    return _builtin_import(name, *optargs, **kwargs)\X000a  File \"C:\\Users\\uqsguill\\AppData\\Roaming\\LibreOffice\\4\\user\\uno_packages\\cache\\uno_packages\\lu1100821cme.tmp_\\HsqlDBDriverOOo.oxt\\pythonpath\\hsqldbdriver\\unotool\\unotool.py\", line 41, in <module>\X000a    from six import binary_type, string_types\X000a  File \"C:\\Program Files\\LibreOffice\\program\\uno.py\", line 423, in _uno_import\X000a    raise uno_import_exc\X000a  File \"C:\\Program Files\\LibreOffice\\program\\uno.py\", line 346, in _uno_import\X000a    return _builtin_import(name, *optargs, **kwargs)\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

Do you know why that might be?

prrvchr commented 2 years ago

Hi stragu,

You are right there was an import problem on module six which was not present...

I corrected, can you try again with this new version HsqlDBDriverOOo

Anyway thank you for testing, I can not under Windows I only have Linux.

Please confirm if the problem is resolved .

I confirm that we now need Java JRE version 11 minimum. I have to update the documentation for this...

stragu commented 2 years ago

Hi @prrvchr ! Yes, than you, I installed the three extensions in sequence again, using your updated version of HsqlDBDriverOOo, and it worked without error.

Using: