Description of problem: After installing python2-wxpython4 the python2 interpreter fails to import 'wx' Version-Release number of selected component (if applicable): python-wxpython4-4.0.4-1 How reproducible: always Steps to Reproduce: 1. urpmi python2-wxpython4 2. python2 -c 'import wx' 3. Note: the same steps for python3 work as expected and the wx module is available.
Python2 modules are installed into a path that isn't in PYTHONPATH. Pushed fixed python-wxpython4-4.0.4-1.1.mga7 to core/updates_testing. Please test. SRPMS: python-wxpython4-4.0.4-1.1.mga7 RPMS: python2-wxpython4-4.0.4-1.1.mga7 python2-wxpython4-media-4.0.4-1.1.mga7 python2-wxpython4-webview-4.0.4-1.1.mga7 python3-wxpython4-4.0.4-1.1.mga7 python3-wxpython4-media-4.0.4-1.1.mga7 python3-wxpython4-webview-4.0.4-1.1.mga7 python-wxpython4-doc-4.0.4-1.1.mga7
Assignee: bugsquad => qa-bugsCC: (none) => jani.valimaa
MGA7-64 Plasma on Lenovo B50 No installation issues No wiki, no previous updates, so googling for a test case brings me https://www.techiediaries.com/python-gui-wxpython-tutorial-urllib-json/ Trying to do a minimum test I get to the second step and created a test file (will attach it) Then running $ strace -o wxpythontest.txt python wxpythontest.py shows on item in the trace writev(3, [{iov_base="\22\0\n\0\1\0@\t\"\0\0\0\37\0\0\0\10\0\n\0\20\0\0\0wxpython"..., iov_len=260}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 260 Thay's beyond my knowledge to judge whether this is a sufficient demo, otherwise OK on clean install as often with developer stuff???
CC: (none) => herman.viaene
Created attachment 11954 [details] test fie
@Herman, comment 2. Looks good. You could also have run the $ python2 -c 'import wx' command before and after the update. It fails before updating and should be OK afterwards. Have not got round to trying it here but you are good to go.
CC: (none) => tarazed25
Whiteboard: (none) => MGA7-64-OK
Thanks, guys. Validating. Information for an advisory in Comment 1.
Keywords: (none) => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
Below advisory pushed to SVN. Advisory: ------------------------------------------------------------------- Updated python-wxpython4 packages fix incorrect path Python2 modules are installed into a path that isn't in PYTHONPATH. The updated python-wxpython4 packages make sure that they are in PYTHONPATH. SRPMS: python-wxpython4-4.0.4-1.1.mga7 RPMS: python2-wxpython4-4.0.4-1.1.mga7 python2-wxpython4-media-4.0.4-1.1.mga7 python2-wxpython4-webview-4.0.4-1.1.mga7 python3-wxpython4-4.0.4-1.1.mga7 python3-wxpython4-media-4.0.4-1.1.mga7 python3-wxpython4-webview-4.0.4-1.1.mga7 python-wxpython4-doc-4.0.4-1.1.mga7 -------------------------------------------------------------------
CC: (none) => ouaurelien
Keywords: (none) => advisory
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0219.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED