poinck / lampe

control for your Philips Hue lights from Terminal or Gnome
Creative Commons Zero v1.0 Universal
91 stars 4 forks source link

lampe-gtk not showing much at all #32

Closed towo closed 8 years ago

towo commented 8 years ago

lampe on the cli displays all the lights just fine, but running the GTK version gives me no list of the lamps themselves; the bridge IP is displayed.

On the command line, missing objects occur: (lampe-gtk:3319): Json-CRITICAL **: json_node_get_object: assertion 'JSON_NODE_TYPE (node) == JSON_NODE_OBJECT' failed

(lampe-gtk:3319): Json-CRITICAL **: json_object_get_members: assertion 'object != NULL' failed

(lampe-gtk:3319): Json-CRITICAL **: json_node_get_object: assertion 'JSON_NODE_TYPE (node) == JSON_NODE_OBJECT' failed

(lampe-gtk:3319): Json-CRITICAL **: json_object_get_members: assertion 'object != NULL' failed

poinck commented 8 years ago

It seems, I've found the problem. lampe-gtk is still using the static bridge-user "lampe-bash", but it needs to read the user from ~/.lamperc.

poinck commented 8 years ago

Can you please test the fix? (see latest commit)

towo commented 8 years ago

Will test soon™

murzz commented 8 years ago

Lights are populated now, thanks.

towo commented 8 years ago

That fixes it, thanks.

poinck commented 8 years ago

Thx for testing. I can release lampe-1.1.5 soon.