Scriptrunner does not work on Kubuntu, Xubuntu

Bug #1054153 reported by Rafał Cieślak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Daemon
Fix Released
High
Rafał Cieślak

Bug Description

The scriptrunner fails when run on any non-gnome distro, including Kubuntu and Xubuntu.
The reason for this is that it looks of gnome-session process, which is not present there.
Fixing this bug may be crucial in getting UAS to be useful on other distros.

Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :

It seems to me that looking for gnome-session, processing that data and setting DBUS_SESSION_BUS_ADDRESS environmental variable is a relict piece of code from times where we wanted to run a single daemon for all logged in users. I have tried removing that piece of code, and everything runs correctly. Not only it makes UAS working on other distributions, but it also removes lots of complicated code, which really simplifies the scriptrunner. Anyone knows if there is some other reason why we need to set DBUS_SESSION_BUS_ADDRESS, and that this code is required to stay?

Changed in ubuntu-accomplishments-daemon:
status: Confirmed → Triaged
milestone: none → 0.3
assignee: nobody → Rafal Cieślak (rafalcieslak256)
Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :

The fix is now in trunk. Waiting for someone to confirm it (both on gnome-based distro and any other).

Changed in ubuntu-accomplishments-daemon:
status: Triaged → In Progress
Changed in ubuntu-accomplishments-daemon:
status: In Progress → Fix Released
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.