Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Upgrade to kivy==1.10.1 #100

Closed
AndreMiras opened this issue Jul 30, 2018 · 1 comment
Closed

Upgrade to kivy==1.10.1 #100

AndreMiras opened this issue Jul 30, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@AndreMiras
Copy link
Owner

AndreMiras commented Jul 30, 2018

We're currently running kivy version somewhere between 1.10.0 and 1.10.1.
Recently 1.10.1 was released, so we should migrate to this stable version.
Last time I checked it lead to a regression with KivyMD probably because of this change: kivy/kivy@1d999d1#diff-151341732485c62ff861ee753aae9017
The error was:

python src/main.py
[INFO   ] [Logger      ] Record log in /home/andre/.kivy/logs/kivy_18-07-30_0.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [KivyMD      ] KivyMD version: 0.1.2
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <b'3.0 Mesa 18.0.5'>
[INFO   ] [GL          ] OpenGL vendor <b'Intel Open Source Technology Center'>
[INFO   ] [GL          ] OpenGL renderer <b'Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) '>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <b'1.30'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [GL          ] NPOT texture support is available
xclip version 0.12
Copyright (C) 2001-2008 Kim Saunders et al.
Distributed under the terms of the GNU GPL
[INFO   ] [Clipboard   ] Provider: xclip
[INFO   ] [CutBuffer   ] cut buffer support enabled
 Traceback (most recent call last):
   File "src/main.py", line 5, in <module>
     main()
   File "/home/andre/workspace/EtherollApp/src/etheroll/controller.py", line 513, in main
     client.captureException()
   File "/home/andre/workspace/EtherollApp/src/etheroll/controller.py", line 507, in main
     EtherollApp().run()
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivy/app.py", line 800, in run
     root = self.build()
   File "/home/andre/workspace/EtherollApp/src/etheroll/controller.py", line 482, in build
     return Controller()
   File "/home/andre/workspace/EtherollApp/src/etheroll/controller.py", line 39, in __init__
     self.disabled = True
   File "kivy/properties.pyx", line 483, in kivy.properties.Property.__set__
   File "kivy/properties.pyx", line 1470, in kivy.properties.AliasProperty.set
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivy/uix/widget.py", line 1318, in set_disabled
     self.inc_disabled()
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivy/uix/widget.py", line 1327, in inc_disabled
     c.inc_disabled()
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivy/uix/widget.py", line 1327, in inc_disabled
     c.inc_disabled()
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivy/uix/widget.py", line 1327, in inc_disabled
     c.inc_disabled()
   [Previous line repeated 5 more times]
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivy/uix/widget.py", line 1325, in inc_disabled
     self.property('disabled').dispatch(self)
   File "kivy/properties.pyx", line 562, in kivy.properties.Property.dispatch
   File "kivy/properties.pyx", line 579, 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/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivymd/button.py", line 294, in on_disabled
     super(BaseRaisedButton, self).on_disabled(instance, value)
   File "/home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/kivymd/button.py", line 178, in on_disabled
     super(BaseButton, self).on_disabled(instance, value)

Upstream KivyMD issue https://gitlab.com/kivymd/KivyMD/issues/143

AndreMiras added a commit that referenced this issue Jul 30, 2018
AndreMiras added a commit that referenced this issue Aug 5, 2018
@AndreMiras AndreMiras added the enhancement New feature or request label Sep 17, 2018
@AndreMiras
Copy link
Owner Author

KivyMD fixed in personal fork, https://github.com/AndreMiras/KivyMD
KivyMD seems unmaintained, see https://gitlab.com/kivymd/KivyMD/issues/147

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant