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

software dependencies #2

Open
vick2075 opened this issue Nov 27, 2022 · 0 comments
Open

software dependencies #2

vick2075 opened this issue Nov 27, 2022 · 0 comments

Comments

@vick2075
Copy link

Hi again,

Is there an alternative to kivy? What exactly are the software dependencies to run the Python main.py? I am having the following error:

`[INFO ] [Logger ] Record log in C:\Users\dell.kivy\logs\kivy_22-11-27_6.txt
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.3
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.4.5
[INFO ] [Kivy ] v2.1.0
[INFO ] [Kivy ] Installed at "C:\Program Files\Python38\lib\site-packages\kivy_init_.py"
[INFO ] [Python ] v3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Program Files\Python38\pythonw.exe"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
[INFO ] [Factory ] 189 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.0.0 - Build 10.18.10.5100'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4000'>
[INFO ] [GL ] OpenGL parsed version: 4, 0
[INFO ] [GL ] Shading version <b'4.00 - Build 10.18.10.5100'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [GL ] NPOT texture support is available
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\site-packages\kivy\lang\builder.py", line 704, in _apply_rule
setattr(widget_set, key, value)
File "kivy\weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.setattr
File "kivy\properties.pyx", line 520, in kivy.properties.Property.set
File "kivy\properties.pyx", line 549, in kivy.properties.Property.set
File "kivy\properties.pyx", line 748, in kivy.properties.NumericProperty.convert
File "kivy\properties.pyx", line 769, in kivy.properties.NumericProperty.parse_list
TypeError: Expected unicode, got int

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\dell\Desktop\ballistics sol\bal_solver\Main.py", line 452, in
BallisticSolver().run()
File "C:\Program Files\Python38\lib\site-packages\kivy\app.py", line 954, in run
self._run_prepare()
File "C:\Program Files\Python38\lib\site-packages\kivy\app.py", line 924, in _run_prepare
root = self.build()
File "C:\Users\dell\Desktop\ballistics sol\bal_solver\Main.py", line 447, in build
return ContainerBox()
File "C:\Users\dell\Desktop\ballistics sol\bal_solver\Main.py", line 38, in init
super(ContainerBox, self).init(**kwargs)
File "C:\Program Files\Python38\lib\site-packages\kivy\uix\boxlayout.py", line 145, in init
super(BoxLayout, self).init(**kwargs)
File "C:\Program Files\Python38\lib\site-packages\kivy\uix\layout.py", line 76, in init
super(Layout, self).init(**kwargs)
File "C:\Program Files\Python38\lib\site-packages\kivy\uix\widget.py", line 366, in init
self.apply_class_lang_rules(
File "C:\Program Files\Python38\lib\site-packages\kivy\uix\widget.py", line 470, in apply_class_lang_rules
Builder.apply(
File "C:\Program Files\Python38\lib\site-packages\kivy\lang\builder.py", line 540, in apply
self._apply_rule(
File "C:\Program Files\Python38\lib\site-packages\kivy\lang\builder.py", line 709, in _apply_rule
raise BuilderException(rule.ctx, rule.line,
kivy.lang.builder.BuilderException: Parser: File "C:\Users\dell\Desktop\ballistics sol\bal_solver\GUI_layout.kv", line 133:
...
131:
132: Button:

133: padding_y:[10,10]
134: text:'Save Settings'
135: size_hint:1,0.15
...
TypeError: Expected unicode, got int
File "C:\Program Files\Python38\lib\site-packages\kivy\lang\builder.py", line 704, in _apply_rule
setattr(widget_set, key, value)
File "kivy\weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.setattr
File "kivy\properties.pyx", line 520, in kivy.properties.Property.set
File "kivy\properties.pyx", line 549, in kivy.properties.Property.set
File "kivy\properties.pyx", line 748, in kivy.properties.NumericProperty.convert
File "kivy\properties.pyx", line 769, in kivy.properties.NumericProperty.parse_list`

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

1 participant