Hi @TorbenD @FlorianPalm,
I am having trouble at using libreoffice client to create AAS. I tried to create AAS from aas_client.ods but got some import error which I have attached here. I have python 3.5.3 and 2.7.13 installed on my raspberry pi. How can I solve this problem? Thanks in advance.
`A Scripting Framework error occurred while running the Python script vnd.sun.star.script:opcua_interface.py$call_createAAS?language=Python&location=user.
Message: <class 'ImportError'>: No module named 'opcua' (or 'opcua.ua' is unknown)
/usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, *optargs, *kwargs )]
/usr/lib/python3/dist-packages/uno.py:342 in function _uno_import() [raise uno_import_exc]
/home/pi/openAAS_workshop/python/aas/aas.py:8 in function () [from opcua import ua]
/usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, optargs, kwargs )]
/home/pi/openAAS_workshop/python/aas/init.py:1 in function () [from .aas import ]
/usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, optargs, kwargs )]
/home/pi/.config/libreoffice/4/user/Scripts/python/opcua_interface.py:6 in function () [from aas import *]
/usr/lib/libreoffice/program/pythonscript.py:452 in function getModuleByUrl() [exec(code, entry.module.dict)]
/usr/lib/libreoffice/program/pythonscript.py:993 in function getScript() [mod = self.provCtx.getModuleByUrl( fileUri )]`
Hi @TorbenD @FlorianPalm, I am having trouble at using libreoffice client to create AAS. I tried to create AAS from aas_client.ods but got some import error which I have attached here. I have python 3.5.3 and 2.7.13 installed on my raspberry pi. How can I solve this problem? Thanks in advance.
`A Scripting Framework error occurred while running the Python script vnd.sun.star.script:opcua_interface.py$call_createAAS?language=Python&location=user.
Message: <class 'ImportError'>: No module named 'opcua' (or 'opcua.ua' is unknown) /usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, *optargs, *kwargs )] /usr/lib/python3/dist-packages/uno.py:342 in function _uno_import() [raise uno_import_exc] /home/pi/openAAS_workshop/python/aas/aas.py:8 in function() [from opcua import ua]
/usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, optargs, kwargs )]
/home/pi/openAAS_workshop/python/aas/init.py:1 in function () [from .aas import ]
/usr/lib/python3/dist-packages/uno.py:268 in function _uno_import() [return _g_delegatee( name, optargs, kwargs )]
/home/pi/.config/libreoffice/4/user/Scripts/python/opcua_interface.py:6 in function () [from aas import *]
/usr/lib/libreoffice/program/pythonscript.py:452 in function getModuleByUrl() [exec(code, entry.module.dict)]
/usr/lib/libreoffice/program/pythonscript.py:993 in function getScript() [mod = self.provCtx.getModuleByUrl( fileUri )]`