Can't Run KivEnt Examples

38 views
Skip to first unread message

Kenneth Solano

unread,
Apr 5, 2018, 6:02:36 PM4/5/18
to KivEnt
I've been running the KivEnt tests

Example 0: Runs OK

[INFO   ] [Logger      ] Record log in C:\Users\Kenneth\.kivy\logs\kivy_18-04-05_17.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <thread> for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 388.43'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 770M/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[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   ] [Base        ] Start application main loop
[INFO   ] [Base        ] Leaving application in progress...

Example 1:

[INFO   ] [Logger      ] Record log in C:\Users\XXXXXX\.kivy\logs\kivy_18-04-05_10.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <thread> for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 388.43'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 770M/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[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   ] [AudioGstplayer] Using Gstreamer 1.10.2.0
[INFO   ] [Audio       ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)
 
Traceback (most recent call last):
   
File "C:\Python\Python36\share\kivent-examples\1_empty_kivent_app\main.py", line 30, in <module>
     
YourAppNameApp().run()
   
File "C:\Python\Python36\lib\site-packages\kivy\app.py", line 801, in run
     
self.load_kv(filename=self.kv_file)
   
File "C:\Python\Python36\lib\site-packages\kivy\app.py", line 598, in load_kv
     root
= Builder.load_file(rfilename)
   
File "C:\Python\Python36\lib\site-packages\kivy\lang\builder.py", line 301, in load_file
     
return self.load_string(data, **kwargs)
   
File "C:\Python\Python36\lib\site-packages\kivy\lang\builder.py", line 381, in load_string
     widget
= Factory.get(parser.root.name)()
   
File "C:\Python\Python36\share\kivent-examples\1_empty_kivent_app\main.py", line 9, in __init__
     
self.gameworld.init_gameworld([], callback=self.init_game)
   
File "kivent_core\gameworld.pyx", line 272, in kivent_core.gameworld.GameWorld.init_gameworld
   
File "kivent_core\gameworld.pyx", line 225, in kivent_core.gameworld.GameWorld.allocate
   
File "kivent_core\managers\entity_manager.pyx", line 53, in kivent_core.managers.entity_manager.EntityManager.allocate
   
File "kivent_core\memory_handlers\indexing.pyx", line 280, in kivent_core.memory_handlers.indexing.IndexedMemoryZone.__cinit__
   
File "kivent_core\memory_handlers\zone.pyx", line 68, in kivent_core.memory_handlers.zone.MemoryZone.__cinit__
   
File "kivent_core\memory_handlers\pool.pyx", line 94, in kivent_core.memory_handlers.pool.MemoryPool.__cinit__
   
File "kivent_core\memory_handlers\membuffer.pyx", line 74, in kivent_core.memory_handlers.membuffer.Buffer.__cinit__
 
ZeroDivisionError: integer division or modulo by zero

Example 2:

[INFO   ] [Logger      ] Record log in C:\Users\XXXXXX\.kivy\logs\kivy_18-04-05_12.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <thread> for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 388.43'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 770M/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[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   ] [AudioGstplayer] Using Gstreamer 1.10.2.0
[INFO   ] [Audio       ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Shader      ] Read <C:\Python\Python36\share\kivent-examples\assets\glsl\positionshader.glsl>
[ERROR  ] [GameSystem  ] System_id: renderer not attached retrying in 1 sec. If you see this error once or twice, we are probably just waiting on the KV file to load. If you see it a whole bunch something is probably wrong. Make sure all systems are setup properly.
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Leaving application in progress...
 
Traceback (most recent call last):
   
File "C:\Python\Python36\share\kivent-examples\2_basic_app\main.py", line 78, in <module>
     
YourAppNameApp().run()
   
File "C:\Python\Python36\lib\site-packages\kivy\app.py", line 828, in run
     runTouchApp
()
   
File "C:\Python\Python36\lib\site-packages\kivy\base.py", line 504, in runTouchApp
     
EventLoop.window.mainloop()
   
File "C:\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
     
self._mainloop()
   
File "C:\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
     
EventLoop.idle()
   
File "C:\Python\Python36\lib\site-packages\kivy\base.py", line 339, in idle
     
Clock.tick()
   
File "C:\Python\Python36\lib\site-packages\kivy\clock.py", line 581, in tick
     
self._process_events()
   
File "kivy\_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7700)
   
File "kivy\_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7577)
   
File "kivy\_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7498)
   
File "kivy\_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy\_clock.c:3483)
   
File "kivent_core\gameworld.pyx", line 278, in kivent_core.gameworld.GameWorld.init_gameworld.lambda
   
File "kivent_core\gameworld.pyx", line 272, in kivent_core.gameworld.GameWorld.init_gameworld
   
File "kivent_core\gameworld.pyx", line 225, in kivent_core.gameworld.GameWorld.allocate
   
File "kivent_core\managers\entity_manager.pyx", line 53, in kivent_core.managers.entity_manager.EntityManager.allocate
   
File "kivent_core\memory_handlers\indexing.pyx", line 280, in kivent_core.memory_handlers.indexing.IndexedMemoryZone.__cinit__
   
File "kivent_core\memory_handlers\zone.pyx", line 68, in kivent_core.memory_handlers.zone.MemoryZone.__cinit__
   
File "kivent_core\memory_handlers\pool.pyx", line 94, in kivent_core.memory_handlers.pool.MemoryPool.__cinit__
   
File "kivent_core\memory_handlers\membuffer.pyx", line 74, in kivent_core.memory_handlers.membuffer.Buffer.__cinit__
 
ZeroDivisionError: integer division or modulo by
zero

Example 3:

[INFO   ] [Logger      ] Record log in C:\Users\XXXXXX\.kivy\logs\kivy_18-04-05_13.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <thread> for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 388.43'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 770M/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[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   ] [AudioGstplayer] Using Gstreamer 1.10.2.0
[INFO   ] [Audio       ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Shader      ] Read <C:\Python\Python36\share\kivent-examples\assets\glsl\positionshader.glsl>
[ERROR  ] [GameSystem  ] System_id: renderer not attached retrying in 1 sec. If you see this error once or twice, we are probably just waiting on the KV file to load. If you see it a whole bunch something is probably wrong. Make sure all systems are setup properly.
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Leaving application in progress...
 
Traceback (most recent call last):
   
File "C:\Python\Python36\share\kivent-examples\3_creating_a_gamesystem\main.py", line 95, in <module>
     
YourAppNameApp().run()
   
File "C:\Python\Python36\lib\site-packages\kivy\app.py", line 828, in run
     runTouchApp
()
   
File "C:\Python\Python36\lib\site-packages\kivy\base.py", line 504, in runTouchApp
     
EventLoop.window.mainloop()
   
File "C:\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
     
self._mainloop()
   
File "C:\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
     
EventLoop.idle()
   
File "C:\Python\Python36\lib\site-packages\kivy\base.py", line 339, in idle
     
Clock.tick()
   
File "C:\Python\Python36\lib\site-packages\kivy\clock.py", line 581, in tick
     
self._process_events()
   
File "kivy\_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7700)
   
File "kivy\_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7577)
   
File "kivy\_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7498)
   
File "kivy\_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy\_clock.c:3483)
   
File "kivent_core\gameworld.pyx", line 278, in kivent_core.gameworld.GameWorld.init_gameworld.lambda
   
File "kivent_core\gameworld.pyx", line 272, in kivent_core.gameworld.GameWorld.init_gameworld
   
File "kivent_core\gameworld.pyx", line 225, in kivent_core.gameworld.GameWorld.allocate
   
File "kivent_core\managers\entity_manager.pyx", line 53, in kivent_core.managers.entity_manager.EntityManager.allocate
   
File "kivent_core\memory_handlers\indexing.pyx", line 280, in kivent_core.memory_handlers.indexing.IndexedMemoryZone.__cinit__
   
File "kivent_core\memory_handlers\zone.pyx", line 68, in kivent_core.memory_handlers.zone.MemoryZone.__cinit__
   
File "kivent_core\memory_handlers\pool.pyx", line 94, in kivent_core.memory_handlers.pool.MemoryPool.__cinit__
   
File "kivent_core\memory_handlers\membuffer.pyx", line 74, in kivent_core.memory_handlers.membuffer.Buffer.__cinit__
 
ZeroDivisionError: integer division or modulo by
zero


Example 4:

[INFO   ] [Logger      ] Record log in C:\Users\XXXXXX\.kivy\logs\kivy_18-04-05_14.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <thread> for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 388.43'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'GeForce GTX 770M/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[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   ] [AudioGstplayer] Using Gstreamer 1.10.2.0
[INFO   ] [Audio       ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)
Chipmunk warning: cpInitChipmunk is deprecated and no longer required. It will be removed in the future.
       
Failed condition: cpFalse
       
Source:C:\Python\Python36\cymunk-master\cymunk\Chipmunk-Physics\src\chipmunk.c:53
Initializing cpSpace - Chipmunk v6.2.1 (Debug Enabled)
Compile with -DNDEBUG defined to disable debug mode and runtime assertion checks
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Shader      ] Read <C:\Python\Python36\share\kivent-examples\assets\glsl\positionrotateshader.glsl>
[ERROR  ] [GameSystem  ] System_id: cymunk_physics not attached retrying in 1 sec. If you see this error once or twice, we are probably just waiting on the KV file to load. If you see it a whole bunch something is probably wrong. Make sure all systems are setup properly.
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Leaving application in progress...
 
Traceback (most recent call last):
   
File "C:\Python\Python36\share\kivent-examples\4_adding_physics_objects\main.py", line 114, in <module>
     
YourAppNameApp().run()
   
File "C:\Python\Python36\lib\site-packages\kivy\app.py", line 828, in run
     runTouchApp
()
   
File "C:\Python\Python36\lib\site-packages\kivy\base.py", line 504, in runTouchApp
     
EventLoop.window.mainloop()
   
File "C:\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
     
self._mainloop()
   
File "C:\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
     
EventLoop.idle()
   
File "C:\Python\Python36\lib\site-packages\kivy\base.py", line 339, in idle
     
Clock.tick()
   
File "C:\Python\Python36\lib\site-packages\kivy\clock.py", line 581, in tick
     
self._process_events()
   
File "kivy\_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7700)
   
File "kivy\_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7577)
   
File "kivy\_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events (kivy\_clock.c:7498)
   
File "kivy\_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy\_clock.c:3483)
   
File "kivent_core\gameworld.pyx", line 278, in kivent_core.gameworld.GameWorld.init_gameworld.lambda
   
File "kivent_core\gameworld.pyx", line 272, in kivent_core.gameworld.GameWorld.init_gameworld
   
File "kivent_core\gameworld.pyx", line 225, in kivent_core.gameworld.GameWorld.allocate
   
File "kivent_core\managers\entity_manager.pyx", line 53, in kivent_core.managers.entity_manager.EntityManager.allocate
   
File "kivent_core\memory_handlers\indexing.pyx", line 280, in kivent_core.memory_handlers.indexing.IndexedMemoryZone.__cinit__
   
File "kivent_core\memory_handlers\zone.pyx", line 68, in kivent_core.memory_handlers.zone.MemoryZone.__cinit__
   
File "kivent_core\memory_handlers\pool.pyx", line 101, in kivent_core.memory_handlers.pool.MemoryPool.__cinit__
   
File "kivent_core\memory_handlers\block.pyx", line 53, in kivent_core.memory_handlers.block.MemoryBlock.allocate_memory_with_buffer
   
File "kivent_core\memory_handlers\membuffer.pyx", line 148, in kivent_core.memory_handlers.membuffer.Buffer.add_data
 
MemoryError

Is it some KivEnt bug?
Are the examples up to date?
Is there any other way I can test my KivEnt installation is OK?


Jacob Kovac

unread,
Apr 5, 2018, 6:14:39 PM4/5/18
to Kenneth Solano, KivEnt
KivEnt has largely been tested with Python2.7 and Python3.4. I have never personally ran it on 3.6, and especially not on Windows and 3.6. It is possible something has changed that has made some previously valid code no longer valid. The one error about division by 0 is very suprising.

--
You received this message because you are subscribed to the Google Groups "KivEnt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivent+unsubscribe@googlegroups.com.
To post to this group, send email to kiv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivent/d4f7117f-f383-4293-a5f1-1b84d631ed5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kenneth Solano

unread,
Apr 5, 2018, 7:20:57 PM4/5/18
to KivEnt
I've found some people with the same problem


I want participate in Pyweek and their rules require the latest libraries (not to develop, but it must run there).

I just sent an email just to see if it's allowed to use Python 2.7 or 3.4

Just for curiosity...
I read KivEnt performance is amazing (prolly the best performance) compared with other Python stuff, but was still less than Unity and Unreal Engine.
How does it compare to Godot, Game Maker and Construct 2? (I'm specially interested in KivEnt performance compared to Godot)
To unsubscribe from this group and stop receiving emails from it, send an email to kivent+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages