Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

cannot create any button. #401

Open
liuxiang0 opened this issue Aug 15, 2018 · 2 comments
Open

cannot create any button. #401

liuxiang0 opened this issue Aug 15, 2018 · 2 comments

Comments

@liuxiang0
Copy link

Environment Info

Pip is not installed

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
    self._mainloop()
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
    EventLoop.idle()
  File "/usr/lib/python3/dist-packages/kivy/base.py", line 340, in idle
    self.dispatch_input()
  File "/usr/lib/python3/dist-packages/kivy/base.py", line 325, in dispatch_input
    post_dispatch_input(*pop(0))
  File "/usr/lib/python3/dist-packages/kivy/base.py", line 231, in post_dispatch_input
    listener.dispatch('on_motion', etype, me)
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python3/dist-packages/kivy/core/window/__init__.py", line 1364, in on_motion
    self.dispatch('on_touch_up', me)
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python3/dist-packages/kivy/core/window/__init__.py", line 1400, in on_touch_up
    if w.dispatch('on_touch_up', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python3/dist-packages/kivy/uix/dropdown.py", line 310, in on_touch_up
    if super(DropDown, self).on_touch_up(touch):
  File "/usr/lib/python3/dist-packages/kivy/uix/scrollview.py", line 848, in on_touch_up
    if self.dispatch('on_scroll_stop', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python3/dist-packages/kivy/uix/scrollview.py", line 887, in on_scroll_stop
    self.simulate_touch_down(touch)
  File "/usr/lib/python3/dist-packages/kivy/uix/scrollview.py", line 607, in simulate_touch_down
    ret = super(ScrollView, self).on_touch_down(touch)
  File "/usr/lib/python3/dist-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python3/dist-packages/kivy/uix/widget.py", line 460, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/usr/lib/python3/dist-packages/kivy/uix/behaviors/button.py", line 151, in on_touch_down
    self.dispatch('on_press')
  File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "/home/liu/working/kivy-designer/designer/uix/action_items.py", line 183, in on_press
    self.cont_menu.dismiss()
AttributeError: 'NoneType' object has no attribute 'dismiss'

End of Traceback

@liuxiang0
Copy link
Author

[CRITICAL] [Clock ] Warning, too much iteration done before the next frame. Check your code, or increase the Clock.max_iteration attribute

@liuxiang0
Copy link
Author

liuxiang0 commented Aug 25, 2018

when I run:

make style

I get the error:

(ve_kvd) liu@T440:~/working/kivy-designer$ make style
python tools/pep8checker/pep8kivy.py .
./ve_kvd/bin/activate_this.py:18:81: E501 line too long (90 > 80 characters)
Makefile:16: recipe for target 'style' failed
make: *** [style] Error 1

Environments:

Ubuntu 18.04, Python 3.6.5, Requirements.txt is below:
(ve_kvd) liu@T440:~/working/kivy-designer$ pip freeze
argh==0.26.2
certifi==2018.8.24
chardet==3.0.4
docutils==0.14
gitdb2==2.0.4
GitPython==2.1.11
idna==2.7
jedi==0.12.1
Kivy==1.10.1
Kivy-Garden==0.1.4
nose==1.3.7
parso==0.3.1
pathtools==0.1.2
pygame==1.9.4
Pygments==2.2.0
PyYAML==3.13
requests==2.19.1
six==1.11.0
smmap2==2.0.4
urllib3==1.23
watchdog==0.8.3

Does anyone know why?

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

No branches or pull requests

1 participant