I installed Kivy and Cython. I am using VirtualBox and Arch Linux with Gnome as the Display Manager. After creating the next application
from kivy.app import App from kivy.uix.button import Button class CalcApp(App): def build(self): return Button(text="Hello World") if __name__ == '__main__': CalcApp().run()
I get the following error
[INFO ] [Logger ] Record log in /home/kyle/.kivy/logs/kivy_17-10-19_40.txt [INFO ] [Kivy ] v1.10.0 [INFO ] [Python ] v3.6.2 (default, Jul 20 2017, 03:52:27) [GCC 7.1.1 20170630] [INFO ] [Factory ] 194 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [OSC ] using <multiprocessing> for socket [INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored) X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 4 (X_DestroyWindow) Resource id in failed request: 0x0 Serial number of failed request: 151 Current serial number in output stream: 152
If I run the disset DISPLAY command, it will work as intended, but without the ability to minimize, maximize, and close the window that is normally available.
Is there a way to fix this error, so I wonβt need to enter unset DISPLAY every time a new terminal window opens and does it look like a regular window?
source share