Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
9 Odpowiedzi
21222 Widoki

I have rebooted the server and refreshed the browser, but I still can't export?

What else do I have to do?

Awatar
Odrzuć
Najlepsza odpowiedź

This is how I addressed this:

sudo pip install xlwt 

I thought v11 was using all Python 3 libraries, but I guess not for this one.
Awatar
Odrzuć

Wait, are you sure Ray? How on earth can an Odoo using Python 3 be using another library in Python 2.x? I'm amazed/confused now.

All I know is that's what fixed the problem. I have no idea why!

Najlepsza odpowiedź

hello try this 

sudo apt-get install python-pypdf2 python-dateutil python-feedparser python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-docutils python-psutil python-mock python-unittest2 python-jinja2 python-pypdf python-decorator python-requests python-passlib python-pil -y

sudo pip3 install pypdf2 Babel passlib Werkzeug decorator python-dateutil pyyaml psycopg2 psutil html2text docutils lxml pillow reportlab ninja2 requests gdata XlsxWriter vobject python-openid pyparsing pydot mock mako Jinja2 ebaysdk feedparser

sudo pip3 install pypdf2 Babel passlib Werkzeug decorator python-dateutil pyyaml psycopg2 psutil html2text docutils lxml pillow reportlab ninja2 requests gdata XlsxWriter vobject python-openid pyparsing pydot mock mako Jinja2 ebaysdk feedparser xlwt

 

Awatar
Odrzuć

I installed every packages but still same error.

Any solution?

Thanks for the support.

at your disposal ;)

Najlepsza odpowiedź

Odoo 11

I installed xlwt library for python3 like this:

sudo pip3 install xlwt

but keep in mind that there is a limitation to Excel 97-2003 exporting. The limit is set to 65535 rows. Consider splitting the export.



Awatar
Odrzuć
Najlepsza odpowiedź

I solve the issue like this:

Odoo 11(or other version using pyhton 3.x) 

  • sudo pip3 install xlwt 

  • reboot the Odoo instance

Odoo another version ( using pyhton 2.x) 

  • sudo pip install xlwt 

  • reboot the Odoo instance

Awatar
Odrzuć