Bug 30474 - gajim crashes on startup after recent python3-nbxmpp update
Summary: gajim crashes on startup after recent python3-nbxmpp update
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:
 
Reported: 2022-05-26 04:44 CEST by Cris Bailiff
Modified: 2022-06-03 19:16 CEST (History)
5 users (show)

See Also:
Source RPM: gajim-1.2.2-2.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Cris Bailiff 2022-05-26 04:44:54 CEST
Description of problem:

gajim from the mga8 rpm will no longer start up after the RPM for python3-nbxmpp was updated as per BZ #29989

$ gajim
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/gajim/application.py", line 220, in _activate
    from gajim.gui_interface import Interface
  File "/usr/lib/python3.8/site-packages/gajim/gui_interface.py", line 64, in <module>
    from gajim.chat_control import ChatControl
  File "/usr/lib/python3.8/site-packages/gajim/chat_control.py", line 62, in <module>
    from gajim.gtk.add_contact import AddNewContactWindow
  File "/usr/lib/python3.8/site-packages/gajim/gtk/add_contact.py", line 18, in <module>
    from gajim import vcard
  File "/usr/lib/python3.8/site-packages/gajim/vcard.py", line 36, in <module>
    from nbxmpp.util import is_error_result
ImportError: cannot import name 'is_error_result' from 'nbxmpp.util' (/usr/lib/python3.8/site-packages/nbxmpp/util.py)
/usr/lib/python3.8/site-packages/gi/overrides/Gio.py:43: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  return Gio.Application.run(self, *args, **kwargs)


Version-Release number of selected component (if applicable):

Name        : gajim-1.2.2-2.mga8
Source RPM  : gajim-1.2.2-2.mga8.src.rpm
Build Date  : Thu 28 Jan 2021 22:12:17
Build Host  : localhost
Packager    : sander85 <sander85>

Name        : python3-nbxmpp-2.0.4-1.mga8
Install Date: Tue 24 May 2022 19:49:21
Source RPM  : python-nbxmpp-2.0.4-1.mga8.src.rpm
Build Date  : Thu 12 May 2022 03:34:20
Packager    : luigiwalser <luigiwalser>
* Fri May 06 2022 papoteur <papoteur> 2.0.4-1.mga8
+ Revision: 1856533
- New 2.0.4 (mga#29989 and CVE-2021-41055)


How reproducible:

Every time you execute gajim

I had some plugins installed but I re-tested on a default/clean profile and the same result.


Steps to Reproduce:

1. sudo dnf update # install latest updates
2. dnf install gajim # install mga8 gajim rpm (1.2.2)
3. gajim # fails to start


Gajim is now un-usable
Comment 1 Jani Välimaa 2022-05-26 14:09:05 CEST
Gajim needs quite some patches to work with newer nbxmpp.

I'll update to gajim 1.3.3 which is the latest version supporting python3 < 3.9.

CC: (none) => jani.valimaa
Source RPM: python-nbxmpp-2.0.4-1.mga8.src.rpm => gajim-1.2.2-2.mga8.src.rpm

Comment 2 Jani Välimaa 2022-05-26 14:30:00 CEST
Please test gajim-1.3.3-1.mga8 from core/updates_testing.

SRPMS/RPMS:
gajim-1.3.3-1.mga8

Assignee: bugsquad => qa-bugs

Comment 3 Herman Viaene 2022-05-28 11:30:12 CEST
MGA8-64 Plasma on Lenovo B50 in Dutch
No installation issues
Ref bug 20962 for testing
gajim launches OK from CLI, I can login, but it lacks some facility to search for someone to connect with if you don't know the jabbername. So that was the end of testing. 
OK'ing on minimal proof of correct working.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA8-64-OK

Comment 4 Thomas Andrews 2022-05-28 13:57:34 CEST
Since this bug was for gajim failing to even launch, Herman's test would seem sufficient for an OK. Users encountering a new issue should file a new bug.

Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 5 Cris Bailiff 2022-05-29 13:48:09 CEST
Downloaded and updated to gajim-1.3.3-1.mga8.noarch.rpm from updates_testing.

Gajim starts for me, and can connect to my account. I lost each of my plugins (refused to load) with a slightly confused log message as they are for gajim 1.2:

04 (W) gajim.plugin_system        Plugin omemo not loaded, newer version of gajim required: 1.1.91.1 <= 1.3.3 <= 1.2.90
29/05/22 21:40:04 (W) gajim.plugin_system        Plugin plugin_installer not loaded, newer version of gajim required: 1.0.99 <= 1.3.3 <= 1.1.90
29/05/22 21:40:04 (W) gajim.plugin_system        Plugin url_image_preview not loaded, newer version of gajim required: 1.1.91 <= 1.3.3 <= 1.2.90
29/05/22 21:40:04 (W) gajim.plugin_system        Plugin whiteboard not loaded, newer version of gajim required: 1.1.91 <= 1.3.3 <= 1.2.90

Had to manually re-install the plugin_installer module then it was able to find and update all the plugins. Not sure exactly how that is supposed to work with gajim updates.

Anyway, it's basically all working for me again now! Thanks
Dave Hodgins 2022-05-29 19:50:24 CEST

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

Comment 6 Mageia Robot 2022-06-03 19:16:14 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0076.html

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


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