purple-remote doesn't find libpurple instance

Bug #236813 reported by raas
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Expired
Undecided
Unassigned
pidgin (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: libpurple-bin

The command to change the status of my Pidgin session fails:

raas@pcitadc01:~$ purple-remote "setstatus?status=away&message=AFK"
No existing libpurple instance detected.

although there's Pidgin running. This used to work in Ubuntu Gutsy and stopped to after upgrading to Hardy.

ii libpurple-bin 1:2.4.1-1ubuntu2 multi-protocol instant messaging library - extra utiliti

Description: Ubuntu 8.04
Release: 8.04

Tags: hardy pidgin
Revision history for this message
raas (andras-horvath-gmail) wrote :

hm.. this seems to be fixed, please close.

Revision history for this message
Pedro Fragoso (ember) wrote :

I'm closing this bug then. Thanks again for your bug report.

Changed in pidgin:
status: New → Invalid
Revision history for this message
raas (andras-horvath-gmail) wrote :

I'm getting the message again -- even though I haven't exited pidgin (nor the X session) since.

Sorry for the flip/flopping. I'd be happy to debug this further if I knew how :-/

Revision history for this message
aSmig (chin+pnuhalcda) wrote :

Also having this issue. Changed status to Confirmed. It looks like pidgin is registering on the DBus system bus, not the session bus. But purple-remote looks like it is trying to find libpurple instances on the session bus. I really don't know how this DBus stuff works but am more than happy to follow any leads.

Changed in pidgin:
status: Invalid → Confirmed
Revision history for this message
aSmig (chin+pnuhalcda) wrote :

Well now I know what that button does. Sorry for the clutter. This is not an acpi related issue.

Changed in acpi-support:
status: New → Invalid
Revision history for this message
aSmig (chin+pnuhalcda) wrote :

If I start pidgin like this, purple-remote works as expected:

#!/bin/sh

. .dbus/session-bus/*
export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID DBUS_SESSION_BUS_WINDOWID
exec /usr/bin/pidgin

Revision history for this message
raas (andras-horvath-gmail) wrote : Re: [Bug 236813] Re: purple-remote doesn't find libpurple instance

> If I start pidgin like this, purple-remote works as expected:

not for me, unfortunately :(

Andras

Revision history for this message
aSmig (chin+pnuhalcda) wrote :

Take a look in $HOME/.dbus/session-bus/ to make sure you don't have any extra session files. You can figure out which one to keep by matching up the id on the first line of the file with the running process:

chin@sven:~$ ps -eaf | grep dbus-launc[h]
chin 6678 1 0 Jun19 ? 00:00:00 dbus-launch --autolaunch a79877a8538ed3ab66c4c900462e067b --binary-syntax --close-stderr
chin@sven:~$ head -1 ~/.dbus/session-bus/*
# This file allows processes on the machine with id a79877a8538ed3ab66c4c900462e067b using

Revision history for this message
raas (andras-horvath-gmail) wrote :

That works, thanks. I'll script around it (or rather, around
/proc/$PID/cmdline)... ugly.

Andras

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in acpi-support (Ubuntu):
status: Invalid → Incomplete
Changed in pidgin (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for acpi-support (Ubuntu) because there has been no activity for 60 days.]

Changed in acpi-support (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pidgin (Ubuntu) because there has been no activity for 60 days.]

Changed in pidgin (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.