Skip to content
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

lxml issue in recent python 3.6 images #29

Open
sbidoul opened this issue May 7, 2022 · 2 comments
Open

lxml issue in recent python 3.6 images #29

sbidoul opened this issue May 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@sbidoul
Copy link
Member

sbidoul commented May 7, 2022

│ Traceback (most recent call last):                                                                                                                                                                                                                   │
│   File "/opt/odoo-venv/bin/odoo", line 7, in <module>                                                                                                                                                                                                │
│     exec(compile(f.read(), __file__, 'exec'))                                                                                                                                                                                                        │
│   File "/opt/odoo/setup/odoo", line 5, in <module>                                                                                                                                                                                                   │
│     import odoo                                                                                                                                                                                                                                      │
│   File "/opt/odoo/odoo/__init__.py", line 113, in <module>                                                                                                                                                                                           │
│     from . import modules                                                                                                                                                                                                                            │
│   File "/opt/odoo/odoo/modules/__init__.py", line 8, in <module>                                                                                                                                                                                     │
│     from . import db, graph, loading, migration, module, registry                                                                                                                                                                                    │
│   File "/opt/odoo/odoo/modules/graph.py", line 10, in <module>                                                                                                                                                                                       │
│     import odoo.tools as tools                                                                                                                                                                                                                       │
│   File "/opt/odoo/odoo/tools/__init__.py", line 7, in <module>                                                                                                                                                                                       │
│     from . import pdf                                                                                                                                                                                                                                │
│   File "/opt/odoo/odoo/tools/pdf.py", line 17, in <module>                                                                                                                                                                                           │
│     from odoo.tools.misc import file_open                                                                                                                                                                                                            │
│   File "/opt/odoo/odoo/tools/misc.py", line 34, in <module>                                                                                                                                                                                          │
│     from lxml import etree                                                                                                                                                                                                                           │
│ ImportError: /opt/odoo-venv/lib/python3.6/site-packages/lxml/etree.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf    
@sbidoul sbidoul added the bug Something isn't working label May 7, 2022
@sbidoul
Copy link
Member Author

sbidoul commented May 7, 2022

We are seeing this error in runboat containers, but not on local docker run. That is weird.

@sbidoul
Copy link
Member Author

sbidoul commented May 8, 2022

This is super weird. For some reason I don't understand, the virtualenvs created during the build initialization step are not compatible with the latest version of the oca-ci image. The timing correlates with #27, of which the root cause is unknown.

I suspect both issues are due to some change in the way the deadsnakes project packages python 3.6... not sure.

Anyway I'm launching a reset of all 3.6 builds now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant