You are not logged in.

#1 2016-01-27 05:34:30

rh995
Member
Registered: 2012-03-09
Posts: 76

[solved] purple-remote should use python 2

Right now, when I run the command purple-remote, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/purple-remote", line 29, in <module>
    purple = dbus.Interface(obj, "im.pidgin.purple.PurpleInterface")
AttributeError: module 'dbus' has no attribute 'Interface'

And when I run python2 /usr/bin/purple-remote, I get no such error. Therefore, I conclude that purple-remote requires python 2 to run, rather than python 3. I would like to submit this as a bug for the package, that it should have a patch changing it to run python 2 by default, but I would like some input as to whether I am missing something. Thanks.

Last edited by rh995 (2016-01-27 13:44:08)

Offline

#2 2016-01-27 05:36:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [solved] purple-remote should use python 2

Do you have python-dbus installed?

Offline

#3 2016-01-27 05:39:17

rh995
Member
Registered: 2012-03-09
Posts: 76

Re: [solved] purple-remote should use python 2

Ho ho, indeed this was the error. Thanks for that. Should that be an optional dependency for libpurple, then?

Offline

#4 2016-01-27 05:40:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [solved] purple-remote should use python 2

It is.

Offline

#5 2016-01-27 05:42:23

rh995
Member
Registered: 2012-03-09
Posts: 76

Re: [solved] purple-remote should use python 2

oh man I missed everything. Thanks for all your help.

Offline

#6 2016-01-27 09:32:26

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [solved] purple-remote should use python 2

Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB