If the Pulse-Eight CEC Adapter plugin for EventGhost fails to load and the log shows an ImportError: No module named cec, this is caused by an incomplete plugin installer. Follow the steps below to fix it.
libcec-eventghost-plugin installer. If you installed the plugin recently and have not yet got it working, you may be affected.Why This Happens
The 8.1.x installer copies most of the plugin's files into place, but leaves out a required subfolder named cec. The plugin depends on the files in that folder to run, so it cannot load and EventGhost reports that the cec module cannot be found. No amount of reinstalling fixes this, because the installer never places those files in the first place.
How to Fix It
Because files may already have been copied around manually while troubleshooting, start with a clean folder rather than patching on top of a previous attempt.
C:\ProgramData\EventGhost\plugins\PulseEight
You should see __init__.py, cec_classes.py, controls.py, and cec.png already there.
If __init__.pyc, cec_classes.pyc, or controls.pyc are present, delete them. These are stale cached files from the earlier failed load attempts.
cec folder.C:\ProgramData\EventGhost\plugins\PulseEight\cec\ __init__.py cec.py _pycec.pyd cec.dll
Related Articles
- Getting Started with the Pulse-Eight USB-CEC Adapter
- How to Install LibCEC (Windows)
- Upgrading the Firmware of the CEC Adapter
If the plugin still won't load after following these steps, get in touch and we'll take a closer look.
UK: 01202 413 610 | US: (858) 748-8250 | support@pulse-eight.com