Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when starting #21

Open
LCPallares opened this issue Jul 18, 2019 · 14 comments
Open

error when starting #21

LCPallares opened this issue Jul 18, 2019 · 14 comments

Comments

@LCPallares
Copy link

[WARNING] Parser: File "", line 26:
...
24: on_size: Clock.schedule_once(lambda dt: setattr(self, 'grid_len', int(self.width/(self.children[0].width+10))), 1)
25:

26:[StudioFileThumbEntry@IconWidget_]:
27: image: image
28: locked: False

 self._process_events()

File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
File "", line 24, in
IndexError: list index out of range

@mcroni
Copy link
Contributor

mcroni commented Jul 20, 2019

this issue has been fixed, please try pulling the current build

@avour avour closed this as completed Aug 2, 2019
@paaKways
Copy link

paaKways commented Aug 11, 2019

Hey there!

I just saw this. I actually pulled much recently than 22 days ago when LuisCarlos had this issue but im still having this issue

File "main.py", line 46, in
studio_app.run()

self._process_events()
File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
File "", line 24, in
IndexError: list index out of range

@mcroni
Copy link
Contributor

mcroni commented Aug 12, 2019

if you just want an emulator , you can use this kivyEmu whilst we continue to work on kivystudio

@avour
Copy link
Collaborator

avour commented Aug 15, 2019

@mcroni the KivyEmu is a really nice project. love it

@avour avour reopened this Aug 15, 2019
@avour
Copy link
Collaborator

avour commented Aug 15, 2019

@LuisCarlosPallaresAscanio
it seems i have seen the list out of range error before.
can you state your system specs, the python version and your window provider

@LCPallares
Copy link
Author

LCPallares commented Aug 16, 2019 via email

@LCPallares
Copy link
Author

[WARNING] Parser: File "", line 26:
...
24: on_size: Clock.schedule_once(lambda dt: setattr(self, 'grid_len', int(self.width/(self.children[0].width+10))), 1)
25:

26:[StudioFileThumbEntry@IconWidget_]:
27: image: image
28: locked: False
...
Deprecated Kivy lang template syntax used "[StudioFileThumbEntry@IconWidget_]". Templates will be removed in a future version
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Start application main loop
[INFO ] [Loader ] using a thread pool of 2 workers
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "X:\P\Programacion\Python\Pruebas\GUI\Kivy\Dependencias\kivystudio\build\lib\kivystudio\main.py", line 47, in
studio_app.run()
File "C:\Users\Compaq\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\app.py", line 855, in run
runTouchApp()
File "C:\Users\Compaq\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 504, in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\Compaq\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 747, in mainloop
self._mainloop()
File "C:\Users\Compaq\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 479, in _mainloop
EventLoop.idle()
File "C:\Users\Compaq\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 339, in idle
Clock.tick()
File "C:\Users\Compaq\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\clock.py", line 591, in tick
self._process_events()
File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
File "", line 24, in
IndexError: list index out of range

@mcroni
Copy link
Contributor

mcroni commented Aug 17, 2019

this is really strange, @avour thanks, hit me up [email protected] ,lets discuss some issues there, @LuisCarlosPallaresAscanio we need to dig deep into this

@LCPallares
Copy link
Author

Maybe it's a mistake on my part, tell me one step at a time, the strange thing is that sometimes a moment works

@avour
Copy link
Collaborator

avour commented Aug 20, 2019 via email

@LCPallares
Copy link
Author

--Did you set it up with the setup.py, cause i think that's what causing the issue the setup.py still has some setuo issues, try unistalling it and running main.py in the kivystudio directory.

install it with setup.py and then run main.py

@mahart-studio
Copy link
Owner

mahart-studio commented Aug 23, 2019 via email

@rajat45mishra
Copy link

for python3 replace super(KivyStudio, self).run() in main.py to super().run() then build and run work like charm

@mahart-studio
Copy link
Owner

mahart-studio commented Apr 20, 2020 via email

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

No branches or pull requests

6 participants