Post by irowe on May 26, 2017 10:11:37 GMT -7
Hello all,
I was recently testing a payload with a Raspberry Pi that had just been loaded with a fresh SD card. Using the image from the website, I was able to get the payload running and connected to the ground station.
The RFD GUI launched instantly with the correct timestamps, and I was able to request an image. I watched the data transfer, as usual in Anaconda prompt. However, when the transfer finished, the image never showed up in the GUI. Anaconda displayed the following error, after which it continued to stay connected.
I have checked, and the image files are being stored aboard the Pi.
Any ideas? I've never seen this error before.
Update: If I request another picture, the same thing happens, but this time with a line inserted between 'callback' and 'traceback'
I was recently testing a payload with a Raspberry Pi that had just been loaded with a fresh SD card. Using the image from the website, I was able to get the payload running and connected to the ground station.
The RFD GUI launched instantly with the correct timestamps, and I was able to request an image. I watched the data transfer, as usual in Anaconda prompt. However, when the transfer finished, the image never showed up in the GUI. Anaconda displayed the following error, after which it continued to stay connected.
System Match
Image Saved
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Ground Station\Anaconda2\lib\lib-tk\Tkinter.py", line 1536, in __call__
return self.func(*args)
File "RFD900_PC.py", line 288, in cmd1
photo = ImageTk.PhotoImage(file=reim)
File "C:\Users\Ground Station\Anaconda2\lib\site-packages\PIL\ImageTk.py", line 84, in __init__
image = Image.open(kw["file"])
File "C:\Users\Ground Station\Anaconda2\lib\site-packages\PIL\Image.py", line 2279, in open
prefix = fp.read(16)
File "C:\Users\Ground Station\Anaconda2\lib\site-packages\PIL\Image.py", line 632, in __getattr__
raise AttributeError(name)
AttributeError: read
I have checked, and the image files are being stored aboard the Pi.
Any ideas? I've never seen this error before.
Update: If I request another picture, the same thing happens, but this time with a line inserted between 'callback' and 'traceback'
Exception AttributeError: "'PhotoImage' object has no attribute '_PhotoImage__photo'" in <bound method PhotoImage.__del__ of <PIL.ImageTk.PhotoImage object at 0x0000000003E11E48>> ignored