-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flicklib demo results in error. #46
Comments
@edouin The interesting line in the traceback is:
When you look at flicklib.py (https://github.com/PiSupply/Flick/blob/master/flick/flicklib.py) Right now I do not have any suggestions, except to try to reload the correct firmware. |
Indeed, flashing solved the GestiIC library error.
┌────────────────────────────────────────────────────────────────────────┐ ┌────────────────────────────────────────────────────────────────────────┐
|
Update on the situation. |
@edouin See my answer on Discord |
Still no luck. But getting readout with this library https://github.com/open-electronics/GestIC |
Ended up using direct I2c read write... This way everything works fine. |
Has anyone solved this problem? |
I am getting this error when trying to run flick-demo.
Can you suggest what to do?
I checked i2cdetect and it shows the device.
Also tried firmware update.
pi@raspberrypi:/usr/src $ flick-demo
Traceback (most recent call last):
File "/usr/local/bin/flick-demo", line 4, in
import('pkg_resources').run_script('flicklib==0.0.1', 'flick-demo')
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1501, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/flicklib-0.0.1-py2.7.egg/EGG-INFO/scripts/flick-demo", line 4, in
import('pkg_resources').run_script('flicklib==0.0.1', 'flick-demo')
File "build/bdist.linux-armv7l/egg/flicklib.py", line 480, in
File "build/bdist.linux-armv7l/egg/flicklib.py", line 278, in _handle_firmware_info
Exception: An invalid GestiIC Library was stored, or the last update failed
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "build/bdist.linux-armv7l/egg/flicklib.py", line 462, in _exit
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "build/bdist.linux-armv7l/egg/flicklib.py", line 462, in _exit
TypeError: 'NoneType' object is not callable
The text was updated successfully, but these errors were encountered: