Code: Select all
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "./main.py", line 88, in <module>
InfoScreenApp().run()
File "/usr/local/lib/python2.7/dist-packages/kivy/app.py", line 828, in run
runTouchApp()
File "/usr/local/lib/python2.7/dist-packages/kivy/base.py", line 487, in runTouchApp
EventLoop.window.mainloop()
File "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py", line 89, in mainloop
self._mainloop()
File "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py", line 84, in _mainloop
EventLoop.idle()
File "/usr/local/lib/python2.7/dist-packages/kivy/base.py", line 327, in idle
Clock.tick()
File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 521, in tick
self._process_events()
File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 653, in _process_events
event.tick(self._last_tick, remove)
File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 412, in tick
ret = callback(self._dt)
File "/root/.kivy/garden/garden.mapview/mapview/downloader.py", line 87, in _check_executor
callback(*args)
File "/root/.kivy/garden/garden.mapview/mapview/view.py", line 93, in set_source
self.source = cache_fn
File "kivy/graphics/instructions.pyx", line 362, in kivy.graphics.instructions.VertexInstruction.source.__set__ (kivy/graphics/instructions.c:7177)
File "kivy/graphics/context_instructions.pyx", line 381, in kivy.graphics.context_instructions.BindTexture.source.__set__ (kivy/graphics/context_instructions.c:7309)
File "/usr/local/lib/python2.7/dist-packages/kivy/core/image/__init__.py", line 512, in __init__
self.filename = arg
File "/usr/local/lib/python2.7/dist-packages/kivy/core/image/__init__.py", line 700, in _set_filename
mipmap=self._mipmap, nocache=self._nocache)
File "/usr/local/lib/python2.7/dist-packages/kivy/core/image/__init__.py", line 430, in load
im = loader(filename, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/kivy/core/image/__init__.py", line 198, in __init__
self._data = self.load(filename)
File "/usr/local/lib/python2.7/dist-packages/kivy/core/image/img_pygame.py", line 85, in load
(filename, im.fmt))
AttributeError: 'pygame.Surface' object has no attribute 'fmt'
Same error here. There are a few references on the Internet, but I did not find a solution to it.DougieLawson wrote:Your ISS tracker gets these errors
elParaguayo wrote:I've not tested on pi3 but I don't see any reason that it wouldn't work (although it does seem that the ISS Tracker may be broken...)
As for Ubuntu Mate, all I can say is that the script works on my laptop (running Ubuntu 15.10). However, it is designed to run fullscreen on the official monitor so, if you want to change resolution or run windowed, you may need to tweak the code slightly.
Sorry Drooneyef, meant to reply to this earlier.Drooneyef wrote:I've been playing with your project a few weeks now and i really like it.
I have a few questions.
Is it possible that the screens change automatically instead of clicking on the touchscreen?
Are you planning to make a screen for viewing an ip cam that's connected in your local network?
English isn't my native language so i hope you understand my questions.
Code: Select all
from kivy.clock import ClockCode: Select all
Clock.schedule_interval(self.next_screen, 15.0)Thanks.elParaguayo wrote:Sorry Drooneyef, meant to reply to this earlier.Drooneyef wrote:I've been playing with your project a few weeks now and i really like it.
I have a few questions.
Is it possible that the screens change automatically instead of clicking on the touchscreen?
Are you planning to make a screen for viewing an ip cam that's connected in your local network?
English isn't my native language so i hope you understand my questions.
In order to change screens automatically, just add a clock object in the core/infoscreen.py file.
Add the necessary import:At the end of the __init__ method (but not nested in the "if" block), add the timer:Code: Select all
from kivy.clock import Clock(this moves onto the next screen every 15 seconds).Code: Select all
Clock.schedule_interval(self.next_screen, 15.0)
Can you post the error message?Drooneyef wrote:Anyone else got the problem that the program is crashing?
When i enable photoalbum it's working for a while and then the program stops with an error.
I turned photoalbum off now and then it's working for hours with no problems.
Can you post the error message?[/quoteelParaguayo wrote:Drooneyef wrote:Anyone else got the problem that the program is crashing?
When i enable photoalbum it's working for a while and then the program stops with an error.
I turned photoalbum off now and then it's working for hours with no problems.
Code: Select all
[WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50>
[WARNING] [Image_GIF ] decoding error on frame <0>
[WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50>
[WARNING] [Image_GIF ] decoding error on frame <0>
[WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50>
[WARNING] [Image_GIF ] decoding error on frame <0>
[WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50>
[WARNING] [Image_GIF ] decoding error on frame <0>
Haven't figured that out yet...bigatl22 wrote:I was able to get it working on the Pi3 running Ubuntu Mate. However, there is one issue...the GIFs are continuously flashing on the weather screen. How do I fix this?
Code: Select all
[WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50> [WARNING] [Image_GIF ] decoding error on frame <0> [WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50> [WARNING] [Image_GIF ] decoding error on frame <0> [WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50> [WARNING] [Image_GIF ] decoding error on frame <0> [WARNING] [Image_GIF ] decoding error on code <8830587767822> aode size <50> [WARNING] [Image_GIF ] decoding error on frame <0>
Ok, thanks. So for someone who is unfamiliar with Kivy development and a beginner with python, how difficult would it be to add alarm button(s) to the clock screen or just set an alarm in the conf.json?Haven't figured that out yet...
https://github.com/elParaguayo/RPi-Info ... /issues/20
I am also having a problem with the photoalbum screen crashing. It will cycle through a dozen or so photos and then the whole program just closes. I'm not seeing any error messages, just "Killed" in the terminal. I've tried different folders and adjusting the display duration but its always the same result. All my images are high resolution .JPGDrooneyef wrote:Can you post the error message?[/quoteelParaguayo wrote:Drooneyef wrote:Anyone else got the problem that the program is crashing?
When i enable photoalbum it's working for a while and then the program stops with an error.
I turned photoalbum off now and then it's working for hours with no problems.
It ends with:
Exception: Shader didn't link, check info log