Bug 29627 - gevent can't import greenlet, pyhoca-gui is broken
Summary: gevent can't import greenlet, pyhoca-gui is broken
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 30751
  Show dependency treegraph
 
Reported: 2021-11-06 08:41 CET by papoteur
Modified: 2023-03-11 20:01 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description papoteur 2021-11-06 08:41:32 CET
pyhoca-gui 
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[repeated]
08:24:28: Debug: Adding duplicate image handler for 'Windows bitmap file'
08:24:28: Debug: Adding duplicate animation handler for '1' type
08:24:28: Debug: Adding duplicate animation handler for '2' type
Erreur de segmentation (core dumped)

Steps to Reproduce:
1. Install pyhoca-gui
2. Run it

This seems to be a mismatch between python3-gevent and python3-greenlet, according to https://github.com/gevent/gevent/issues/1260
Comment 1 papoteur 2021-11-06 10:31:20 CET
I built the release from cauldron for python-gevent and python-greenlet in Mageia 8 and installed them. This is now working (at least no core dump).
python-gevent is 21.1.2
python-greenlet is 1.1.1

Thus soluce could be to backport cauldron release.
Marja Van Waes 2021-11-07 13:02:00 CET

CC: (none) => marja11
Assignee: bugsquad => python

sturmvogel 2022-08-15 13:23:24 CEST

Blocks: (none) => 30751

Comment 2 papoteur 2023-02-03 09:44:19 CET
Submitted:
python3-greenlet-1.1.1-1.mga8
python3-gevent-21.1.2-2.mga8

Sources:
python-greenlet-1.1.1-1.mga8
python-gevent-21.1.2-2.mga8

Assignee: python => qa-bugs

Comment 3 Herman Viaene 2023-02-14 17:25:39 CET
MGA8-64 MATE on Acer Aspire 5253
No installation issues.
Ref https://wiki.x2go.org/doku.php/doc:usage:pyhoca-gui for some explanation
$ pyhoca-gui 

(pyhoca-gui:6563): Gtk-WARNING **: 17:10:58.548: Theme parsing error: gtk.css:2:33: Failed to import: Error opening file /home/tester8/.config/gtk-3.0/window_decorations.css: No such file or directory
17:11:12: Debug: Adding duplicate image handler for 'Windows bitmap file'
17:11:12: Debug: Adding duplicate animation handler for '1' type
17:11:12: Debug: Adding duplicate animation handler for '2' type
pyhoca-gui[6563] (PyHoca-GUI) WARN: the current release of PyHoca-GUI does not support client configuration
The little seal appears in the panel and left clicking shows the menu to connect to a server, right clicking shows the menu with Profile Manager and Printing preferences.
Selecting the Profile Manager results in these messages at the CLI:
/usr/lib64/python3.8/site-packages/wx/lib/mixins/listctrl.py:723: UserWarning: The CheckListCtrlMixin class has been made redundant by new checkbox features in the wx.ListCtrl class. It is advised to switch your code to use that instead of this mixin.
  warnings.warn(_warning)
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pyhoca/wxgui/frontend.py", line 1165, in OnProfileAdd
    profilemanager.PyHocaGUI_ProfileManager(self, 'ADD', profile_name=_('New Session Profile'))
  File "/usr/lib/python3.8/site-packages/pyhoca/wxgui/profilemanager.py", line 410, in __init__
    self.__do_layout()
  File "/usr/lib/python3.8/site-packages/pyhoca/wxgui/profilemanager.py", line 825, in __do_layout
    sizer_7_1_1_2.Add(sizer_7_1_1_2_3, flag=wx.EXPAND|wx.ALIGN_RIGHT)
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_RIGHT)" failed at ./src/common/sizer.cpp(2118) in DoInsert(): Horizontal alignment flags are ignored in horizontal sizers

But as the launching warned "WARN: the current release of PyHoca-GUI does not support client configuration", I think such errors are to be expected.
I'd rather have someone with more experience kooking into this, but I would noot object the OK.

CC: (none) => herman.viaene

Comment 4 Thomas Andrews 2023-03-03 20:29:41 CET
I would rather someone with more experience looked at it too, but after more than two weeks it doesn't look like that's going to happen. 

I agree that the original warning is an indicator that the later warnings are to be expected, and it sounds to me like the app is acting as designed. It just needs someone other than a novice at the helm.

I'm going to give it an OK and validate it, based mostly on Herman's clean install.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: (none) => MGA8-64-OK

Dave Hodgins 2023-03-10 00:34:16 CET

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 5 Mageia Robot 2023-03-11 20:01:52 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0023.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.