|
Hi we have built the Pi Car A, and when we try to start the GUI using client.py we get the following error message :
Traceback (most recent call last):
File "C:\Users\Andy\client\client.py", line 652, in <module>
loop() # Load GUI
File "C:\Users\Andy\client\client.py", line 239, in loop
logo =tk.PhotoImage(file = 'logo.png') #Define the picture of logo,but only supports '.png' and '.gif'
File "C:\Python27\lib\lib-tk\Tkinter.py", line 3366, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 3320, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't recognize data in image file "logo.png"
Please help ????
|
|