Open ckwjdals90 opened 7 years ago
Yes. Don't use python 3!
It wasn't written with python 3 in mind so I have no idea if it will work.
If you really want to try it then I would disable all screens except the clock and see if that works.
If it does then try enabling other screens one by one and see if they work.
hmm.. I see
I did try to run the app with everything disabled except for the clock, and still gave me the same error.
Any other suggestions I could try out?
Thank you :D
Is there any reason you have to use python 3?
Our lead wants us to use Python 3, and I love your work and structure of codes, so I want to learn to use it haha
Well, your lead is right. All new code should be in python 3 unless there's a good reason not to use it.
Unfortunately, I learnt python 2 (as that's what I needed to develop some (legitimate) add-ons for xbmc/kodi).
To be honest, I won't have the time to see if I could get it to run in python 3.
That is totally understandable.
I will try and see what I can do to make it work in Python 3.
If you have insight where I might want to check out, please let me know.
And again, thank you so much for sharing the awesome project, and sharing your thoughts.
Cheers
Hello again!
Sorry to bother you again D:
I figured that it was how super() works in python3, so I managed to get it to work!
However, I have another issue when I try to display the next screen (in this case, "clock" again since the only active screen is the "clock")
`[INFO ] [Logger ] Record log in /Users/ckwjdals90/.kivy/logs/kivy_17-07-06_90.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.1 (default, Apr 4 2017, 09:40:21)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_imageio, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [OSC ] using
shell returned 1`
it is super weird because I see the clock screen working and displayed, but as soon as I click on the hidden button, it throws this error message.
Any idea why it is breaking??
I found out that if you add an extra class to all screens like:
class BlackHole(object):
def __init__(self, **kw):
super(BlackHole, self).__init__()
class FinlandArrivals(BoxLayout, BlackHole):
Then the stuff works with python3. As a lot of my pull requests are still hanging I have not yet made a pull request that would make this work for python3.
Sorry everyone! I haven't looked at this project in a lot for time and I haven't been writing stuff for the pi either.
Karrika, great that you've got it working on python 3.
I don't have time to test pull requests but I am happy to merge. Let me know if you want to update them for python3 before I merge.
I should also update to say that this project is unmaintained!
Thanks for your interest in this project.
Thanks for returning on this. I could spend some time to test the pull requests and create a python3 pull as well. I am also running this on an Ubuntu 19.04 workstation. And plan to try it on Windows as well.
Ok. Let me merge them as they are and, if you do update for python 3, just submit a new pull request.
Sounds great!
Hello, Thanks for sharing the awesome project! I am fairly new to Python world and only a week old of kivy stuffs, so if I do not understand things well, please bare with me :P I am trying to learn from your code and create my own dashboard. I first ran it in Python 2.7, it was working very well, then I tried to run it with Python 3.6 (since I am planning to create one with 3.6) it gave me this error:
Could you please help me out?