LIFX Plugin error

If you have a question or need help, this is the place to be.
Post Reply
cableghost
Posts: 40
Joined: Thu Oct 10, 2013 9:43 pm

LIFX Plugin error

Post by cableghost » Sun Feb 24, 2019 3:43 pm

I've started to receive the following errors in the log when attempting to use the LIFX plugin. I assume this is plugin-related?

9:34:45 AM Traceback (most recent call last) (0.5.0-rc6):
9:34:45 AM File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
9:34:45 AM self.Configure(*args, **kwargs)
9:34:45 AM File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 106, in Configure
9:34:45 AM treeItem.Configure(*args)
9:34:45 AM File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
9:34:45 AM return self.executable.Configure(*args)
9:34:45 AM File "C:\Program Files (x86)\EventGhost\plugins\LIFX\__init__.py", line 121, in Configure
9:34:45 AM brightnessCtrl = panel.SpinNumCtrl(brightness, min=0, max=1.0, increment=0.01)
9:34:45 AM File "C:\Program Files (x86)\EventGhost\eg\Classes\ControlProviderMixin.py", line 119, in SpinNumCtrl
9:34:45 AM return eg.SpinNumCtrl(self, -1, value, *args, **kwargs)
9:34:45 AM File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinNumCtrl.py", line 113, in __init__
9:34:45 AM raise MinValueError(value, min_val)
9:34:45 AM MinValueError: The set value None is lower then the minimum of 0

User avatar
kgschlosser
Site Admin
Posts: 5341
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: LIFX Plugin error

Post by kgschlosser » Sun Feb 24, 2019 8:32 pm

it appears that there is no support thread for the LIFX plugin.

My suggestion is to create an issue on the github repository for the plugin.

https://github.com/marcushultman/eventghost-lifx

if you do not get a response from there then let me know in a PM and I will see if i can contact the original author. there is a problem with the plugin passing the wrong information to one of the controls in EventGhost.
If you like the work I have been doing then feel free to Image

User avatar
topix
Experienced User
Posts: 441
Joined: Sat May 05, 2007 3:43 pm
Location: Germany
Contact:

Re: LIFX Plugin error

Post by topix » Sun Mar 03, 2019 11:06 am

I fixed the plugin code to pass allowed values (on first configure). The fixed plugin is attached and i will create a pull request on GitHub.
Attachments
lifx_0.0.2.egplugin
(3.57 KiB) Downloaded 36 times

cableghost
Posts: 40
Joined: Thu Oct 10, 2013 9:43 pm

Re: LIFX Plugin error

Post by cableghost » Mon Mar 04, 2019 7:26 pm

topix wrote:
Sun Mar 03, 2019 11:06 am
I fixed the plugin code to pass allowed values (on first configure). The fixed plugin is attached and i will create a pull request on GitHub.
When I add the plugin via the plugin file in the folder, EG indicates that it is an unknown Plugin (see attached screenshot). If I then replace the existing init file with the new one, EG errors completely out on next restart.

UPDATE: I cannot upload my screenshot...keeps logging me back out of this forum.

User avatar
kgschlosser
Site Admin
Posts: 5341
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: LIFX Plugin error

Post by kgschlosser » Tue Mar 05, 2019 1:31 am

test photo
Windows_7.jpg
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5341
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: LIFX Plugin error

Post by kgschlosser » Tue Mar 05, 2019 1:32 am

test photo with @cableghost's permissions
Windows_7.jpg
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5341
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: LIFX Plugin error

Post by kgschlosser » Tue Mar 05, 2019 1:33 am

it's not a board or a permissions issue with your username. I am going to see if there is anything in the error logs.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5341
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: LIFX Plugin error

Post by kgschlosser » Tue Mar 05, 2019 1:37 am

no errors in the logs for the forum at all. not sure what it could be that would cause you to get logged out.
If you like the work I have been doing then feel free to Image

User avatar
topix
Experienced User
Posts: 441
Joined: Sat May 05, 2007 3:43 pm
Location: Germany
Contact:

Re: LIFX Plugin error

Post by topix » Wed Mar 06, 2019 4:01 pm

cableghost wrote:
Mon Mar 04, 2019 7:26 pm
When I add the plugin via the plugin file in the folder, EG indicates that it is an unknown Plugin
Ah, that's probably because i've added a GUID to the plugin file. If you can send me your config file with PM i would investigate.
cableghost wrote:
Mon Mar 04, 2019 7:26 pm
If I then replace the existing init file with the new one, EG errors completely out on next restart.

UPDATE: I cannot upload my screenshot...keeps logging me back out of this forum.
You could also copy the contents of the log window and paste it here in a code block.

Post Reply