lightum icon indicating copy to clipboard operation
lightum copied to clipboard

Not working in Trusty?

Open satmandu opened this issue 10 years ago • 6 comments

I see the ppa hasn't been updated yet, but I'm trying to compile from source and run this in Ubuntu 14.04 and even after installing xbacklight I'm seeing this issue on a MacBookAir4,2:

./lightum
 Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.Solid.PowerManagement was not provided by any .service files

** (lightum:30357): WARNING **: GetCurrentSession failed: The name org.freedesktop.ConsoleKit was not provided by any .service files

(lightum:30357): GLib-CRITICAL **: g_variant_is_object_path: assertion 'string != NULL' failed

** (lightum:30357): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'g_variant_is_object_path (path)' failed

** (lightum:30357): WARNING **: Could not get dbus session proxy

satmandu avatar Apr 04 '14 14:04 satmandu

Hi, satmandu! I was getting the same error this morning and I was able to debug lightum. I just ran the program with the flag -U, which is used to ignore session, and it worked as usual.

hngouveia01 avatar Apr 23 '14 14:04 hngouveia01

Awesome thanks!

satmandu avatar Apr 23 '14 15:04 satmandu

Wow. I have been frustrated for several weeks on trying to get this to run because it is an awesome application. Solution is so simple...

bwh1969 avatar Apr 23 '14 16:04 bwh1969

I did not had much time to actually identify the problem on the code. I will try, as soon as possible, to debug more deeply and look for a better solution that can be placed into the source code. Because, as bwh1969 said, this application is really awesome! : )

hngouveia01 avatar Apr 23 '14 16:04 hngouveia01

Please take a look at my branch as I've made changes for it to work with systemd while replacing dbus-glib with GDbus: https://github.com/esoleyman/lightum

esoleyman avatar May 07 '14 18:05 esoleyman

With the newly merged branch, this is now fixed.

esoleyman avatar Jun 07 '14 15:06 esoleyman