python-wxpython 1:4.1.1-3 - undefined symbol

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

python-wxpython 1:4.1.1-3 - undefined symbol

Postby Nobody93 » Tue Jul 19, 2022 6:27 am

I recently upgraded to python-wxpython 1:4.1.1-3
(I am using an Odroid C1+, arm7vh)

But after that, wxPython is not working anymore.
I get the following error message:

$this->bbcode_second_pass_code('', 'Traceback (most recent call last):
File "/mnt/nas-qnap/Projekte/Solarsteuerung/Odroid/./pool-control.py", line 20, in <module>
import wx # wxPython
File "/usr/lib/python3.10/site-packages/wx/__init__.py", line 17, in <module>
from wx.core import *
File "/usr/lib/python3.10/site-packages/wx/core.py", line 12, in <module>
from ._core import *
ImportError: /usr/lib/python3.10/site-packages/wx/_core.cpython-310-arm-linux-gnueabihf.so: undefined symbol: _ZN13wxInputStream5SeekIEx10wxSeekMode')

Does anyone have an idea?
Nobody93
 
Posts: 6
Joined: Mon May 03, 2021 6:47 am

Re: python-wxpython 1:4.1.1-3 - undefined symbol

Postby Mettacrawler » Tue Aug 23, 2022 10:44 pm

If it helps
_ZN13wxInputStream5SeekIEx10wxSeekMode
is the C++ mangled name for
wxInputStream::SeekI(long long, wxSeekMode)

Did you apply all the updates? (pacman -Suy)

wxpython 4.2.0 is out, try using pip to install it.
Mettacrawler
 
Posts: 56
Joined: Sun Mar 18, 2018 7:19 pm

Re: python-wxpython 1:4.1.1-3 - undefined symbol

Postby urja » Tue Sep 06, 2022 7:22 pm

I'm here to confirm this, and to note that it seems like this is the reason kicad has not had an update to 6.0.7, and is currently unusable (6.0.6 does not work with current wxwidgets...), so this is a thing that really needs attention.

I managed (after some work) to build wxpython 4.2.0 but that fails with the same undefined symbol.

I have two comments to leave here, if anyone building this stuff happens upon it:
wx-config --cc replies /usr/lib/distcc/bin/cc, which seems like a leak of the build system configuration (and makes building wxpython 4.2.0 fail atleast on systems without distcc)

wxpython 4.2.0 needs atleast one patch, this commit from upstream, or else the build fails with
"ModuleNotFoundError: No module named 'attrdict'":
https://github.com/wxWidgets/Phoenix/co ... 7e1519a158

(Note: the suggestion to use pip to install 4.2.0 failed with that same attrdict error... for such simple suggestions, it would be nice if the suggestion was also attempted by the one suggesting.)

EDIT:
A combined build of wxwidgets and wxpython/Phoenix from git (as of this commit https://github.com/wxWidgets/Phoenix/co ... 113a2d879b ) _does_ run -- That is, I build it a while ago when investigating how to build it, but only now tried to actually run it, whoops.

Which to me points to the problem being a build configuration/version mismatch or some other problem with the --use_syswx
build style for wxpython that arch does, or maybe something recently fixed...
urja
 
Posts: 1
Joined: Tue Sep 06, 2022 7:09 pm

Re: python-wxpython 1:4.1.1-3 - undefined symbol

Postby Mettacrawler » Sun Sep 11, 2022 3:23 am

$this->bbcode_second_pass_quote('', '(')Note: the suggestion to use pip to install 4.2.0 failed with that same attrdict error... for such simple suggestions, it would be nice if the suggestion was also attempted by the one suggesting.)

It's like when you are at your job and some dude comes up to you and asks you to do his job. I'm like you want me to do your job?
Mettacrawler
 
Posts: 56
Joined: Sun Mar 18, 2018 7:19 pm


Return to ARMv7h

Who is online

Users browsing this forum: Google [Bot] and 6 guests