Vauxoo / maintainer-quality-tools

QA tools for Odoo maintainers
GNU Affero General Public License v3.0
3 stars 9 forks source link

[FIX] "Segmentation fault (core dumped)" #315

Closed moylop260 closed 3 years ago

moylop260 commented 3 years ago

numpy has the following issue:

It is a corner case using a kind of processor, using docker and using python3

But who is using numpy?

There are different projects using libraries that depends of numpy: ./web/requirements.txt:2:bokeh==1.1.0 ./reporting-engine/requirements.txt:1:altair ./icm/requirements.txt:1:pandas ./maintainer-quality-tools/requirements.txt:7:websocket-client

So, I run odoo-bin with loglevel=debug to know what is the last line before to crash.

It was the path:

We can remove all numpy requirements but there are a lot of them. Or we can avoid import the websocket line that import numpy (faster solution) non-installing websocket-client, so the following line is not executed:

Now, I will go to sleep! :)

NOTE: It is just a summary since that I'm not talking about how I detected the libraries using numpy :)

moylop260 commented 3 years ago

@luisg123v I think you can force push in the stable branch to revert the following one:

Since that I found the real imposter!

luisg123v commented 3 years ago

@moylop260 done, branch was force-pushed and now it's like that PR never existed.

CC @hbto

BTW, what an outstanding debugging job!