Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #200851 > unrolled thread

Unable to run gajim

Started byDhavan Vaidya <dhavan.vaidya6@gmail.com>
First post2018-10-03 12:40 +0200
Last post2018-10-03 15:00 +0200
Articles 8 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Unable to run gajim Dhavan Vaidya <dhavan.vaidya6@gmail.com> - 2018-10-03 12:40 +0200
    Re: Unable to run gajim Ulf Volmer <u.volmer@u-v.de> - 2018-10-03 14:10 +0200
      Re: Unable to run gajim Dhavan Vaidya <dhavan.vaidya6@gmail.com> - 2018-10-03 14:20 +0200
        Re: Unable to run gajim Ulf Volmer <u.volmer@u-v.de> - 2018-10-03 14:30 +0200
          Re: Unable to run gajim Dhavan Vaidya <dhavan.vaidya6@gmail.com> - 2018-10-03 14:40 +0200
            Re: Unable to run gajim Dhavan Vaidya <dhavan.vaidya6@gmail.com> - 2018-10-03 15:00 +0200
              Re: Unable to run gajim Ulf Volmer <u.volmer@u-v.de> - 2018-10-03 15:30 +0200
            Re: Unable to run gajim Ulf Volmer <u.volmer@u-v.de> - 2018-10-03 15:00 +0200

#200851 — Unable to run gajim

FromDhavan Vaidya <dhavan.vaidya6@gmail.com>
Date2018-10-03 12:40 +0200
SubjectUnable to run gajim
Message-ID<wEMJr-7Nu-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

/etc/os-release:

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian

Installation of gajim:
`sudo apt install gajim`

Installs successfully.

When trying to start gajim from urxvt:
$ gajim
Traceback (most recent call last):
  File "gajim.py", line 327, in <module>
    OpenSSL.rand.load_file(str(RNG_SEED))
AttributeError: 'module' object has no attribute 'load_file'

I will post more info if needed.

Thanks!

[toc] | [next] | [standalone]


#200852

FromUlf Volmer <u.volmer@u-v.de>
Date2018-10-03 14:10 +0200
Message-ID<wEO8x-hO-1@gated-at.bofh.it>
In reply to#200851
On 03/10/2018 12:31, Dhavan Vaidya wrote:

> When trying to start gajim from urxvt:
> $ gajim
> Traceback (most recent call last):
>   File "gajim.py", line 327, in <module>
>     OpenSSL.rand.load_file(str(RNG_SEED))
> AttributeError: 'module' object has no attribute 'load_file'

that could be caused by an incompatible python openssl version. but i
can't reproduce your issue.

Could you post the output of

dpkg -l | egrep 'gajim|openssl'

best regards
Ulf

[toc] | [prev] | [next] | [standalone]


#200854

FromDhavan Vaidya <dhavan.vaidya6@gmail.com>
Date2018-10-03 14:20 +0200
Message-ID<wEOid-kI-3@gated-at.bofh.it>
In reply to#200852

[Multipart message — attachments visible in raw view] — view raw

Sure, here it is:

$ dpkg -l | egrep 'gajim|openssl'
ii  gajim                                             0.16.6-1.1
            all               GTK+-based Jabber client
ii  openssl                                         1.1.0f-3+deb9u2
      amd64        Secure Sockets Layer toolkit - cryptographic utility
ii  perl-openssl-defaults:amd64        3
  amd64        version compatibility baseline for Perl OpenSSL packages
ii  python-openssl                             16.2.0-1
       all               Python 2 wrapper around the OpenSSL library


On Wed, 3 Oct 2018 at 17:30, Ulf Volmer <u.volmer@u-v.de> wrote:

> On 03/10/2018 12:31, Dhavan Vaidya wrote:
>
> > When trying to start gajim from urxvt:
> > $ gajim
> > Traceback (most recent call last):
> >   File "gajim.py", line 327, in <module>
> >     OpenSSL.rand.load_file(str(RNG_SEED))
> > AttributeError: 'module' object has no attribute 'load_file'
>
> that could be caused by an incompatible python openssl version. but i
> can't reproduce your issue.
>
> Could you post the output of
>
> dpkg -l | egrep 'gajim|openssl'
>
> best regards
> Ulf
>
>

[toc] | [prev] | [next] | [standalone]


#200856

FromUlf Volmer <u.volmer@u-v.de>
Date2018-10-03 14:30 +0200
Message-ID<wEOrT-nH-3@gated-at.bofh.it>
In reply to#200854
On 03/10/2018 14:15, Dhavan Vaidya wrote:
> $ dpkg -l | egrep 'gajim|openssl'
> ii  gajim                                             0.16.6-1.1
>             all               GTK+-based Jabber client
> ii  openssl                                         1.1.0f-3+deb9u2
>       amd64        Secure Sockets Layer toolkit - cryptographic utility
> ii  perl-openssl-defaults:amd64        3
>   amd64        version compatibility baseline for Perl OpenSSL packages
> ii  python-openssl                             16.2.0-1
>        all               Python 2 wrapper around the OpenSSL library

ok, looks identical here. do you have installed python modules manually
using pip? if yes, you can check the versions by

pip freeze

best regards
Ulf

[toc] | [prev] | [next] | [standalone]


#200857

FromDhavan Vaidya <dhavan.vaidya6@gmail.com>
Date2018-10-03 14:40 +0200
Message-ID<wEOBz-qE-11@gated-at.bofh.it>
In reply to#200856

[Multipart message — attachments visible in raw view] — view raw

>From pip freeze, I found that pyopenssl was 17.x

I removed the pip version, and now pip says the version is 16.2.0

After this, I removed gajim (apt remove), and installed again.

I am still getting the same error.

Do I need to remove more python packages?

On Wed, 3 Oct 2018 at 17:50, Ulf Volmer <u.volmer@u-v.de> wrote:

> On 03/10/2018 14:15, Dhavan Vaidya wrote:
> > $ dpkg -l | egrep 'gajim|openssl'
> > ii  gajim                                             0.16.6-1.1
> >             all               GTK+-based Jabber client
> > ii  openssl                                         1.1.0f-3+deb9u2
> >       amd64        Secure Sockets Layer toolkit - cryptographic utility
> > ii  perl-openssl-defaults:amd64        3
> >   amd64        version compatibility baseline for Perl OpenSSL packages
> > ii  python-openssl                             16.2.0-1
> >        all               Python 2 wrapper around the OpenSSL library
>
> ok, looks identical here. do you have installed python modules manually
> using pip? if yes, you can check the versions by
>
> pip freeze
>
> best regards
> Ulf
>
>

[toc] | [prev] | [next] | [standalone]


#200858

FromDhavan Vaidya <dhavan.vaidya6@gmail.com>
Date2018-10-03 15:00 +0200
Message-ID<wEOUV-wL-3@gated-at.bofh.it>
In reply to#200857

[Multipart message — attachments visible in raw view] — view raw

Removing cryptography solved it for me. I know this will break many of my
projects, but now I know what to do.

Thanks!

On Wed, 3 Oct 2018 at 18:20, Ulf Volmer <u.volmer@u-v.de> wrote:

> On 03/10/2018 14:33, Dhavan Vaidya wrote:
> >>From pip freeze, I found that pyopenssl was 17.x
> >
> > I removed the pip version, and now pip says the version is 16.2.0
> >
> > After this, I removed gajim (apt remove), and installed again.
> >
> > I am still getting the same error.
>
> i guess you have also to uninstall the cryptography module.
>
> best regards
> Ulf
>
>

[toc] | [prev] | [next] | [standalone]


#200861

FromUlf Volmer <u.volmer@u-v.de>
Date2018-10-03 15:30 +0200
Message-ID<wEPnX-Vy-19@gated-at.bofh.it>
In reply to#200858
On 03/10/2018 14:52, Dhavan Vaidya wrote:
> Removing cryptography solved it for me. I know this will break many of my
> projects, but now I know what to do.

you may consider to use gajim from https://backports.debian.org. more
recent version and based on python3.

another option for your projects is virtualenv, which gives each project
a separate python environment.

best regards
Ulf

[toc] | [prev] | [next] | [standalone]


#200860

FromUlf Volmer <u.volmer@u-v.de>
Date2018-10-03 15:00 +0200
Message-ID<wEOUV-wL-5@gated-at.bofh.it>
In reply to#200857
On 03/10/2018 14:33, Dhavan Vaidya wrote:
>>From pip freeze, I found that pyopenssl was 17.x
> 
> I removed the pip version, and now pip says the version is 16.2.0
> 
> After this, I removed gajim (apt remove), and installed again.
> 
> I am still getting the same error.

i guess you have also to uninstall the cryptography module.

best regards
Ulf

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web