Open asmith2073 opened 6 years ago
I have the same issue thanks
I had the same issue and was able to fix it by changing the tabs.py file and changing the line displayed from dp(None) [...] to dp(0) [...]; however, do expect a myriad of more issues after that. With some luck we'll be able to fix them collaboratively
@MarioBG have you fixed any of the other issues: https://github.com/Joelzeller/CoPilot/issues/7
or anything with concurrent.futures
Thanks
Thanks @MarioBG ! That worked!
hey all - here is another one for the lot:
`
[INFO ] [Kivy ] v1.10.1.dev0, git-1ccd294, 20180308
[INFO ] [Python ] v2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: egl_rpi
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used
1297: d isabled: True 1298: JZLargeB utton: 1299: t ext: "Night Gauge" ... AttributeError: 'super' object has no attribute 'on_disabled' File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 601, in _apply_rule setattr(widget_set, key, value) File "kivy/weakproxy.pyx", line 33, in kivy.weakproxy.WeakProxy.setattr File "kivy/properties.pyx", line 478, in kivy.properties.Property.set File "kivy/properties.pyx", line 1471, in kivy.properties.AliasProperty.set File "/usr/local/lib/python2.7/dist-packages/kivy/uix/widget.py", line 1313, in set_disabled self.inc_disabled() File "/usr/local/lib/python2.7/dist-packages/kivy/uix/widget.py", line 1320, in inc_disabled self.property('disabled').dispatch(self) File "kivy/properties.pyx", line 554, in kivy.properties.Property.dispatch File "kivy/properties.pyx", line 571, in kivy.properties.Property.dispatch File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch File "kivy/_event.pyx", line 1120, in kivy._event.EventObservers._dispatch File "/home/pi/CoPilot/kivymd/button.py", line 495, in on_disabled super(JZLargeButton, self).on_disabled(instance, value) `
Yeah, @rcpilotp51 that's a funny one - just go to main.kv, look for every "disabled = true" (on the Worms and Night clocks) and delete them. I think that's one of the last ones to get it running. I need to test it with the touchscreen, however, since it doesn't appear to recognise clicks where it should (and it doesn't display the mouse cursor either, so fat chance). I'll get back to it eventually.
good call. I'll try that this evening. looks promising - i ssh'd into my pi and deleted the super call i didnt get any errors other than the png interface one - hopefully that will work on the display...(fingers crossed) @MarioBG try using a stylus to drag a square on the desktop to see if you need to do the calibration script. Thank again
On Tue, Apr 3, 2018 at 3:13 PM, MarioBG notifications@github.com wrote:
Yeah, @rcpilotp51 https://github.com/rcpilotp51 that's a funny one - just go to main.kv, look for every "disabled = true" (on the Worms and Night clocks) and delete them. I think that's one of the last ones to get it working.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Joelzeller/CoPilot/issues/6#issuecomment-378364101, or mute the thread https://github.com/notifications/unsubscribe-auth/APGf8vTDCN5oGnZdxXEzcK-cCvRG0Naaks5tk8nigaJpZM4Sfvhg .
@MarioBG I get nothing but a white screen and "libpng warning: Interlace handling should be turned on when using png_read_image"
Is there anywhere i can activate Interlace??
I got everything working and am even programming some new features. radio over rtl-sdr and gps updating the map. I also have some volume controls working and playing audio through the pi rather than just controlling the aux... should be pretty cool.
I got everything working and am even programming some new features. radio over rtl-sdr and gps updating the map. I also have some volume controls working and playing audio through the pi rather than just controlling the aux... should be pretty cool.
@rcpilotp51 - how did you address the white Interlace issue? I got into the same issue as you had earlier.
Make sure you install the correct version of kivy and follow the instructions to remove the exceptions. I'm also running a non gui version of Raspian (cli only)
On Mon, May 28, 2018 at 4:32 AM, chaoman notifications@github.com wrote:
I got everything working and am even programming some new features. radio over rtl-sdr and gps updating the map. I also have some volume controls working and playing audio through the pi rather than just controlling the aux... should be pretty cool.
@rcpilotp51 https://github.com/rcpilotp51 - how did you address the white Interlace issue? I got into the same issue as you had earlier.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Joelzeller/CoPilot/issues/6#issuecomment-392458963, or mute the thread https://github.com/notifications/unsubscribe-auth/APGf8kFTNTx0Ri7_6eXo-TA9Tf1nDkmMks5t27YBgaJpZM4Sfvhg .
I did try to remove the exception like below from file sudo nano /usr/local/lib/python2.7/dist-packages/kivy/core/image/img_pygame.py
# image loader work only with rgb/rgba image
if fmt not in ('rgb', 'rgba'):
try:
imc = im.convert(32)
fmt = 'rgba'
except:
try:
imc = im.convert_alpha()
fmt = 'rgba'
except:
#Logger.warning(
# 'Image: Unable to convert image %r to rgba (was %r)' %
# (filename, im.fmt))
#raise
im = imc
Still no luck. I am running Raspbian stretch but it shouldn't be much different than the Raspbian cli only version. I still got the white screen. Any other hint?
Finally got it to run without commenting img_pygame.py file. The white screen is caused by insufficient GPU memory to render gauge related PNGs. I bumped the GPU split memory to 256 MB and got everything working.
I have no clue what I am doing wrong lol. I double checked all packages were installed and I am running python 2.7. I attached a picture to hopefully help. Thank you in advanced!![capture](https://user-images.githubusercontent.com/37128718/37069558-8a4418bc-2179-11e8-9b81-64191ec3dfd9.PNG)