2018-09-21, 03:01 PM
(2018-08-03, 06:12 AM)It Paradyske Wrote: sudo gives the same result:
pi@openplotter:~/temppy/pypilot $ sudo pypilot_lcdclient nokia5110
importing glut
have gpio for raspberry pi
no lirc available
init...
using nokia5110
loading load config file: /root/.pypilot/lcdclient.conf
failed to load config file: /root/.pypilot/lcdclient.conf
Debug 7
Traceback (most recent call last):
File "/usr/local/bin/pypilot_lcdclient", line 11, in <module>
load_entry_point('pypilot==0.2', 'console_scripts', 'pypilot_lcdclient')()
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.2-py2.7-linux-armv7l.egg/lcd/client.py", line 1225, in main
glutKeyboardFunc(lcdclient.glutkeydown)
File "/usr/lib/python2.7/dist-packages/OpenGL/GLUT/special.py", line 147, in __call__
contextdata.setValue( self.CONTEXT_DATA_KEY, cCallback )
File "/usr/lib/python2.7/dist-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
File "/usr/lib/python2.7/dist-packages/OpenGL/contextdata.py", line 41, in getContext
"""Attempt to retrieve context when no valid context"""
OpenGL.error.Error: Attempt to retrieve context when no valid context
I also see the same situation. So I need to repeat the question: how to start the LCD display Nokia5110 with openplotter/pypilot? I made wiring as here. Test program is working correctly, but openplotter doesn't start the display.
Please help.