Comments (14)
I have the same issue thanks
from copilot.
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
from copilot.
@MarioBG have you fixed any of the other issues:
#7
or anything with concurrent.futures
Thanks
from copilot.
Thanks @MarioBG ! That worked!
from copilot.
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
[INFO ] [GL ] OpenGL version <OpenGL ES 2.0>
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <8>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Loader ] using a thread pool of 2 workers
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
Traceback (most recent call last):
File "main.py", line 2077, in
MainApp().run()
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 799, in run
self.load_kv(filename=self.kv_file)
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 596, in load_ kv
root = Builder.load_file(rfilename)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 301, in load_file
return self.load_string(data, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 382, in load_string
self._apply_rule(widget, parser.root, parser.root)
File "/usr/local/lib/python2.7/dist-packages/kivy/lang/builder.py", line 612, in _apply_rule
e), cause=tb)
kivy.lang.builder.BuilderException: Parser: File "/home/pi/CoPilot/main.kv", li ne 1297:
...
1295: o n_press: Animation(y=-100, duration=0).start(dock_normal_power)
1296: f ont_size: 30
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)
`
from copilot.
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.
from copilot.
from copilot.
@MarioBG I get nothing but a white screen and
"libpng warning: Interlace handling should be turned on when using png_read_image"
from copilot.
Is there anywhere i can activate Interlace??
from copilot.
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.
from copilot.
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.
from copilot.
from copilot.
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?
from copilot.
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.
from copilot.
Related Issues (11)
- No Serious Issues
- launcher.sh generated AttributeError: 'super' object has no attribute 'on_disabled' HOT 5
- TypeError: float() argument must be a string or a number HOT 1
- Adding support for Subaru SSM Protocol HOT 3
- start problem HOT 2
- [Question] Using Spotify for music HOT 1
- Doesn't display right on monitor HOT 2
- im getting the error: Unable to import package 'mapview.MapSource' HOT 7
- mapview concurrent.futures HOT 2
- mapview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copilot.