all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Raghav Gururajan <rg@raghavgururajan.name>
Cc: 44782@debbugs.gnu.org
Subject: bug#44782: Python and Gajim-OMEMO
Date: Mon, 28 Dec 2020 23:12:17 -0500	[thread overview]
Message-ID: <87wnx1uu72.fsf@gmail.com> (raw)
In-Reply-To: <afe85397-5db8-7f5a-a550-bae34e99af93@raghavgururajan.name> (Raghav Gururajan's message of "Sat, 21 Nov 2020 13:55:59 -0500")

Hello Raghav,

Raghav Gururajan <rg@raghavgururajan.name> writes:

> Hello Guix!
>
> It appears that our python is incorrectly compiled or compiled with
> missing component. Due to this, OMEMO plugin in gajim does not work.
>
> Here is the output for `gajim -l gajim.p.omemo=DEBUG`:
>
> *** START ***
> Traceback (most recent call last):
>   File
>   "/gnu/store/5h0xfqysfddzc4283wcyr0j8jj2zaz9c-gajim-1.2.2/bin/..gajim-real-real", 
> line 4, in <module>
>     import re
>   File
>   "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/re.py", 
> line 143, in <module>
>     class RegexFlag(enum.IntFlag):
> AttributeError: module 'enum' has no attribute 'IntFlag'
> *** END ***
>
> Also, I am flagging this issue as 'important' as it affects
> security/privacy of messaging in gajim application.
>
> Regards,
> RG.

It's not a problem with Python but with Gaijim or one of its dependency:

--8<---------------cut here---------------start------------->8---
$ guix environment --pure --ad-hoc python -- python3 -c 'import enum;print(enum.IntFlag)'
<enum 'IntFlag'>
--8<---------------cut here---------------end--------------->8---

Summarily searching on the interwebs it seems that python-enum34 may be
at cause.  You should look if it's being propagated by any of the
dependencies of gajim or gajim-omemo, and probably get rid of those as
this package exists for backward compatibility for Python versions older
than our 3.8.2 on master.

Maxim




  reply	other threads:[~2020-12-29  4:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-21 18:55 bug#44782: Python and Gajim-OMEMO Raghav Gururajan
2020-12-29  4:12 ` Maxim Cournoyer [this message]
2020-12-29  4:31   ` Maxim Cournoyer
2020-12-29 18:20     ` Raghav Gururajan
2020-12-29 18:23       ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnx1uu72.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=44782@debbugs.gnu.org \
    --cc=rg@raghavgururajan.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.