Page 11 of 12
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Fri Oct 06, 2017 7:08 pm
by Luca Brasi
Hm, that's strange.
I tested it on another fresh system with a fresh config and only one hdmi device attached. It's the same thing. After install the devices list is empty.
I noticed that when I open it a second time after hitting OK after the first time the list will be filled with all possible devices (I guess that's how it's supposed to be).
After that the actions I tested do work.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Fri Oct 06, 2017 7:22 pm
by kgschlosser
OK. are you running EG and then double clicking on an action right away?
this could be where the issue is. the plugin has not had the time to set up the adapter yet. when I initially made this plugin there was a huge stall in the EG startup while the plugin scanned and set up the adapter and devices. so now this is done in a separate thread so EG can continue along. this could be what is causing the problem.
***EDIT***
confirmed. i will have to code in some kind of a stall routine into the actions
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Fri Oct 06, 2017 7:33 pm
by kgschlosser
ok this one should fix the issue it will stall the dialog from loading until all of the adapters have been scanned. it will also stall an action from being carried out.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Oct 07, 2017 6:03 am
by Luca Brasi
I can't see that much of a difference.
What I did:
1. Updated the plugin
2. Made a new config
3. Added the plugin
4. Entered the name for the adapter
5. Waited for a couple of minutes
6. Opened the config menu for the first action in the tree
7. The list was still empty
8. Saved it as it was
9. Reopened it and the complete list was there instantly
After that I can test.
I have a question about the list: Is it supposed to be filtered down to the devices which are found on the cec bus?
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Oct 07, 2017 2:13 pm
by kgschlosser
yes it is supposed to be a filtered down list of devices. that is odd that it is doing that to you. I cannot get it to duplicate on my machine. something has to be different. I just do not know what it could be.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sun Oct 08, 2017 8:06 am
by Luca Brasi
I just do not know what it could be.
Same here... Especially as I have it on two systems. I'll check the cable now
I did something to test a bit deeper: I installed the older versions of the plugin. With 0.4 I have the same problems.
With 0.3 everything is working fine but as far as I can see there is no scanning for the devices.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sun Oct 08, 2017 8:34 am
by Luca Brasi
I did a fresh install of eg and the plugin on my laptop and connected only my tv to the adapter. Same thing but I get this error now on start of eg.
Code: Select all
pythoncom error: ERROR: server.policy could not create an instance.
Traceback (most recent call last):
File "win32com\server\policy.pyc", line 136, in CreateInstance
File "win32com\server\policy.pyc", line 193, in _CreateInstance_
TypeError: 'str' object is not callable
pythoncom error: Unexpected gateway error
Traceback (most recent call last):
File "win32com\server\policy.pyc", line 136, in CreateInstance
File "win32com\server\policy.pyc", line 193, in _CreateInstance_
TypeError: 'str' object is not callable
pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005)
Unable to establish COM dispatch!
Does it help?
[Edit:]
And now this on trying to open a action:
Code: Select all
Traceback (most recent call last) (0.5.0-rc4):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
self.Configure(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Utils.py", line 441, in LogItWithReturnWrapper
result = func(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 106, in Configure
treeItem.Configure(*args)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
return self.executable.Configure(*args)
File "C:\ProgramData\EventGhost\plugins\PulseEight\__init__.py", line 452, in Configure
device
File "C:\ProgramData\EventGhost\plugins\PulseEight\controls.py", line 238, in update_devices
adapter.lock()
[Edit]
One more idea: Which libcec version are you running?
I got this 4.0.2 mod here in the forums. Maybe something went wrong there
Something comes to my mind:
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sun Oct 08, 2017 2:52 pm
by kgschlosser
where is the rest of the 2nd error?
and did you delete your %appdata%/Eventghost folder before reinstalling EG?
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Wed Oct 11, 2017 4:23 am
by Luca Brasi
Hey, sorry for not reporting back that long. Live's quiet busy right now...
where is the rest of the 2nd error?
I was lucky and could find the log on my laptop.
I can't find any rest to that error but you might.
and did you delete your %appdata%/Eventghost folder before reinstalling EG?
Yes I did. I think I got rid of any leftovers before reinstalling.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sun Oct 15, 2017 2:17 am
by kgschlosser
I wanted to touch base with you on this. Have you tried running EventGhost as administrator. There are other issues at hand here besides the plugin. Because on your laptop if you uninstall the plugin you should still get those com errors
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Sat Oct 21, 2017 12:17 pm
by topix
Luca Brasi wrote: Wed Oct 11, 2017 4:23 am
where is the rest of the 2nd error?
I can't find any rest to that error but you might.
The rest of the error is probably:
Code: Select all
AttributeError: 'NoneType' object has no attribute 'lock'
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Mon Oct 23, 2017 10:19 am
by Xepo
Hey, I'm running Windows 10 with Eventghost 0.4.1.r1722. The PulseEight adapter works fine with the included cec-tray.
However, when I try to load this plugin (latest posted), EventGhost just crashes. No error log, nothing. Anyone with similar experiences?
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Mon Oct 23, 2017 12:02 pm
by kgschlosser
upgrade to EG 0.5.
This is a pre release version of pulse eights libcec you will need to download it and install it
download/file.php?id=5835
you will need to delete the plugin for eventghost if you installed it.
then install this version of the plugin.
download/file.php?id=5999
also make sure you have the firmware updated on your device
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Tue Oct 24, 2017 5:32 am
by Luca Brasi
kgschlosser wrote: Sun Oct 15, 2017 2:17 am
I wanted to touch base with you on this. Have you tried running EventGhost as administrator. There are other issues at hand here besides the plugin. Because on your laptop if you uninstall the plugin you should still get those com errors
Hey,
sorry for not responding that long. Have been on vacation... No geeky stuff on Crete

So I did a fresh install of libcec on my laptop and created a new config for eg. And you're right I get the com error even if the plugin is not installed.
If I run it in admin mode the error will be gone.
The plugin will work then with the hiccups I got before: Devices list will be empty first and then after saving the the actions config I will get the whole list after opening it again.
While testing this I had only a Chromecast connected to my laptop. So no "master" cec device was present at the time. I'll test again later with only the TV connected and see if the list will be created properly then.
[Edit:]
I checked with the TV connected. It's the same thing.
Re: libCEC plugin for Pulse Eight HDMI-CEC usb adapter
Posted: Fri Oct 27, 2017 11:56 am
by kgschlosser
I am in the process of upgrading a section of my media room when the electronics are installed I will be able to test the CEC adapter again. You will have to give me about a week to be able to get to the point with the remodel where all the electronics are working again.