-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aeroo-docs installation - No module named 'uno' #124
Comments
Hi,unoconv is definitely not needed. That is for sure, neither aeroo nor aeroo-docs use it.Something strange with "import uno" it should be "uno" instead of "one".You can test if python3 uno module is installed correctly by running import uno in python3 interactive console.Check your environment, maybe.BR,Kaspars2019. gada 7. dec. 19:59, lbertran <[email protected]> rakstīja:Hi,
I am installing odoo 11. I will use modules for Argentina and the requirements are Aeroo-reports.
Now update apt-get and install python3-uno and unoconv.
Running
sudo python3 / opt / aeroo / aeroo_docs / aeroo-docs start -c /etc/aeroo-docs.conf
I get the following error:
Traceback (most recent call last):
File "/ opt / aeroo / aeroo_docs / aeroo-docs", line 42, in
from aeroo_docs_fncs import OfficeService
File "/opt/aeroo/aeroo_docs/aeroo_docs_fncs.py", line 37, in
from DocumentConverter import DocumentConverter, DocumentConversionException
File "/opt/aeroo/aeroo_docs/DocumentConverter.py", line 34, in
import one
ModuleNotFoundError: No module named 'one'
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for answering. It's UNO, "one" was a translation error. As you can see I try to install UNO and the message is that it is already installed. Then I run import UNO and the message is that the module does not exist
then I ran I run again I ran I run again
Not sure if |
Hi,Please check:# pip3 -V# python3 -VBr,Kaspars2019. gada 8. dec. 15:49, lbertran <[email protected]> rakstīja:Thanks for answering. It's UNO, "one" was a translation error.
As you can see I try to install UNO and the message is that it is already installed. Then I run import UNO and the message is that the module does not exist
bitnami@debian:~$ sudo apt-get install python3-uno
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-uno is already the newest version (1:5.2.7-1+deb9u11).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bitnami@debian:~$ python3
Python 3.7.4 (default, Oct 17 2019, 10:22:20)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>> import uno
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'uno'
then I ran pip3 install uno successfully.
I run again yes | sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf and the error is ModuleNotFoundError: No module named 'base'
I ran pip3 install base successfully.
I run again yes | sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf and the error is
Traceback (most recent call last):
File "/opt/aeroo/aeroo_docs/aeroo-docs", line 42, in <module>
from aeroo_docs_fncs import OfficeService
File "/opt/aeroo/aeroo_docs/aeroo_docs_fncs.py", line 37, in <module>
from DocumentConverter import DocumentConverter, DocumentConversionException
File "/opt/aeroo/aeroo_docs/DocumentConverter.py", line 34, in <module>
import uno
File "/opt/bitnami/python/lib/python3.7/site-packages/uno/__init__.py", line 4, in <module>
from base import Element, Css, Payload, UnoBaseFeature, UnoBaseField
ImportError: cannot import name 'Element' from 'base' (/opt/bitnami/python/lib/python3.7/site-packages/base/__init__.py)
Not sure if pip3 install uno is correct
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Please do run without python3 in front of executable. Try just # aeroo-docs start2019. gada 8. dec. 15:49, lbertran <[email protected]> rakstīja:Thanks for answering. It's UNO, "one" was a translation error.
As you can see I try to install UNO and the message is that it is already installed. Then I run import UNO and the message is that the module does not exist
bitnami@debian:~$ sudo apt-get install python3-uno
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-uno is already the newest version (1:5.2.7-1+deb9u11).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bitnami@debian:~$ python3
Python 3.7.4 (default, Oct 17 2019, 10:22:20)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>> import uno
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'uno'
then I ran pip3 install uno successfully.
I run again yes | sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf and the error is ModuleNotFoundError: No module named 'base'
I ran pip3 install base successfully.
I run again yes | sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf and the error is
Traceback (most recent call last):
File "/opt/aeroo/aeroo_docs/aeroo-docs", line 42, in <module>
from aeroo_docs_fncs import OfficeService
File "/opt/aeroo/aeroo_docs/aeroo_docs_fncs.py", line 37, in <module>
from DocumentConverter import DocumentConverter, DocumentConversionException
File "/opt/aeroo/aeroo_docs/DocumentConverter.py", line 34, in <module>
import uno
File "/opt/bitnami/python/lib/python3.7/site-packages/uno/__init__.py", line 4, in <module>
from base import Element, Css, Payload, UnoBaseFeature, UnoBaseField
ImportError: cannot import name 'Element' from 'base' (/opt/bitnami/python/lib/python3.7/site-packages/base/__init__.py)
Not sure if pip3 install uno is correct
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Versions:
Just aeroo-docs start
|
Hi @sraps Could you advance on this issue? thank you very much |
Ok, it seems you have not received my last message, check below....There are some mismatch with names of uno in pip3, did not know it. In pip3 uno is totally different library.so now please remove uno using pip3# pip3 uninstall unoThen make sure installing uno using aptitude# apt install python3-unoThen should be fine using aeroo-docsBR,Kaspars2019. gada 13. dec. 19:59, lbertran <[email protected]> rakstīja:Hi @sraps
Could you advance on this issue? thank you very much
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you very much @sraps . I tried what you told me and the output was:
Something is missing |
Hi @sraps how are you? Can you find something else about this issue? Thanks you very much |
Hi,
I am installing odoo 11 on Debian 9 (bitnami). I will use modules for Argentina and the requirements are Aeroo-reports.
Now update apt-get and install python3-uno and unoconv.
Running
sudo python3 / opt / aeroo / aeroo_docs / aeroo-docs start -c /etc/aeroo-docs.conf
I get the following error:
Traceback (most recent call last):
File "/ opt / aeroo / aeroo_docs / aeroo-docs", line 42, in
from aeroo_docs_fncs import OfficeService
File "/opt/aeroo/aeroo_docs/aeroo_docs_fncs.py", line 37, in
from DocumentConverter import DocumentConverter, DocumentConversionException
File "/opt/aeroo/aeroo_docs/DocumentConverter.py", line 34, in
import one
ModuleNotFoundError: No module named 'one'
The text was updated successfully, but these errors were encountered: