Created
October 1, 2013 21:32
-
-
Save rainbowdesign/6785457 to your computer and use it in GitHub Desktop.
Short kivy file creates pygame segfault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.button import Button | |
kv = ''' | |
<MainUI>: | |
BoxLayout: | |
Button: | |
text: 'Hello' | |
''' | |
class MainUI(Button): | |
pass | |
class MahApp(App): | |
def build(self): | |
return MainUI | |
if __name__ == '__main__': | |
MahApp().run() | |
Leads to Fatal Python error: (pygame parachute) Segmentation Fault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment