aeroo / aeroo_docs

Aeroo DOCS - a document conversion service
GNU General Public License v3.0
10 stars 29 forks source link

aeroo_docs.conf: No module named uno #16

Open RaffaeleT opened 8 years ago

RaffaeleT commented 8 years ago

I experienced it on a fresh Ubuntu 14.04.3. The only way I solved it has been with: sudo apt-get install libreoffice-script-provider-python It should be put before: sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf

trixocom commented 5 years ago

I have same problem, but cant resolv! please help.. I did sudo apt-get install libreoffice-script-provider-python But when running sudo python3 /opt/aeroo/aeroo_docs/aeroo-docs start -c /etc/aeroo-docs.conf 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 uno File "/usr/local/lib/python3.6/site-packages/uno/init.py", line 4, in from base import Element, Css, Payload, UnoBaseFeature, UnoBaseField ImportError: cannot import name 'Element' I already pip3 install uno, css,etc but no luck. Please help anyone.. thanks in advance! hector

sraps commented 5 years ago

Please check this: https://stackoverflow.com/questions/38375068/importerror-cannot-import-name-element

quangdangfit commented 5 years ago

I did: sudo apt-get install libreoffice-script-provider-python And installed python3-uno: sudo apt-get install python3-uno

But: Traceback (most recent call last): File "/study/aeroo_docs/aeroo-docs", line 42, in <module> from aeroo_docs_fncs import OfficeService File "/study/aeroo_docs/aeroo_docs_fncs.py", line 37, in <module> from DocumentConverter import DocumentConverter, DocumentConversionException File "/study/aeroo_docs/DocumentConverter.py", line 34, in <module> import uno ImportError: No module named 'uno'

Help me please!