You are not logged in.
Pages: 1
Hi all,
I have an python error with gajim :
"
Traceback (most recent call last):
File "gajim.py", line 74, in <module>
import nbxmpp
File "/usr/lib/python2.7/site-packages/nbxmpp/__init__.py", line 14, in <module>
from . import simplexml, protocol, auth_nb, transports_nb, roster_nb
File "/usr/lib/python2.7/site-packages/nbxmpp/transports_nb.py", line 31, in <module>
from .idlequeue import IdleObject
File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 32, in <module>
import gobject
File "/usr/lib/python2.7/site-packages/gobject/__init__.py", line 47, in <module>
from gobject.constants import *
ValueError: bad marshal data (unknown type code)
"
To solve it, i try :
- uninstall/purge gajim and all his depends.
- Some forum say, try this to fix it : sudo find / -iname \*.pyc -exec rm {} \;
But without success.
Any idea ?
Offline
Hi,
I upgraded yesterday before going to bed and this morning I have had the same error as you.
I figured that gajim breaks with the last version of the package python2-pyopenssl. As a workaround, downgrading this package to version 0.14-3 seems to work fine on my system. You can download it on the Arch Rollback Machine.
Maybe check first with pacman -Qi python2-pyopenssl if another installed application depends on this library, and watch for any breakage if it is the case.
I'll try the workaround you found to see if it works on my system or not.
EDIT: Removing all .pyc files didn't work. Also someone submitted a ticket on Gajim's bugtracker this morning:
https://trac.gajim.org/ticket/8087
Last edited by symen (2015-06-13 10:24:17)
Offline
It works with python2-nbxmpp-git from AUR.
Offline
Oh you're right, the bug was in nbxmpp in the end and they have fixed the issue. Using the AUR package for the lib is a better workaround now.
By the way I think you gave the wrong package's name, it is python2-nbxmpp-hg and not git.
Offline
Erm, yes, you're right, it's hg, not git.
Offline
Pages: 1