python-libcec example not working: 'module' object has no attribute 'libcec_configuration'

Bug #2000745 reported by Marc Finet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

I installed the python-libcec package. And gunzipped the /usr/share/doc/python-libcec/examples/pyCecClient.py.gz

However the example does not work and reports: "'module' object has no attribute 'libcec_configuration'":

pi@pi3kodi:~ $ python pyCecClient.py
<module 'cec' from '/usr/lib/python2.7/dist-packages/cec/__init__.pyc'>
Traceback (most recent call last):
  File "pyCecClient.py", line 38, in <module>
    class pyCecClient:
  File "pyCecClient.py", line 39, in pyCecClient
    cecconfig = cec.libcec_configuration()
AttributeError: 'module' object has no attribute 'libcec_configuration'

Probably related to https://github.com/Pulse-Eight/libcec/issues/394 (other possible upstream issues: https://github.com/Pulse-Eight/libcec/issues?q=is%3Aissue+module+libcec_configuration+)

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.