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

Upgrade problems 20.04 #432

Open
d3tic opened this issue Jul 10, 2020 · 4 comments
Open

Upgrade problems 20.04 #432

d3tic opened this issue Jul 10, 2020 · 4 comments

Comments

@d3tic
Copy link

d3tic commented Jul 10, 2020

I upgrade to 20.04 and I am getting an error with libboost.

Screenshot from 2020-07-10 18-18-14

I have removed and reinstalled twice removed a couple of times removed other troublesome packages but I still get the same error. After I upgraded I have a number of double packages and I stil see kubuntu flash screens even though I upgraded to standard gnome.

@spiderdab
Copy link

spiderdab commented Sep 1, 2020

Hi, I'm old time user of heekscad/cam, and I'm trying to compile latest version on pop os (ubuntu 20.04) and on ubuntu 18.04, but I've the same problem mentioned above:

Python 2.7.18rc1 (default, Apr  7 2020, 12:05:55) 
[GCC 9.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import area
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined symbol: _Py_tracemalloc_config
>>>

I've reproduced the error calling the import statement in python, but it happens in the software after clicking on the "GO" button to process the paths.
Can you please help on this?
The latest version in windows10 works as expected.

@lpgasparotto
Copy link
Contributor

lpgasparotto commented Apr 21, 2022

This is Python related issue, libboost Python component was compiled against Python 3.8 while Opencam, Libarea were compiled against Python 2.X. A fix for this is to uninstall libboost headers and to compile it for Python 2.X.

I tried to compile everything against Python 3.X for avoiding the "undefined symbol" errors but then a got a lot of syntax errors, probably due Python 2 / 3 incompatibilities.

A permanent fix would be to rewrite HeeksCad / HeeksCNC for being fully compatible with Python 3.

@bullestock
Copy link

I have created a fork which has been updated for Python 3. See https://github.com/bullestock/heekscad/

@lpgasparotto
Copy link
Contributor

Do OpenCam and Libarea need to be compiled against Python 3 for using HeeksCNC?
Thank you very much for doing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants