kivy

Why does the Kivy app crash when using the paramiko module?

点点圈 提交于 2020-06-27 16:31:29
问题 I have an application using paramiko, the application itself is going well, but it crashes when you start it, I understand it's in the paramiko module. I have placed the white list next to main.py file and next to the black list file in the pythonforandroid/bootstraps/sdl2/build folder/ Part of my spec file: source.include_exts = py,png,jpg,kv,atlas requirements = kivy,kivymd,boto3,botocore,openssl,pyjnius,ecdsa,bcrypt,cryptography,paramiko, android osx.python_version = 3 osx.kivy_version = 1

Python Kivy packing to exe

允我心安 提交于 2020-06-26 07:56:15
问题 I am trying to packing kivy for windows. I am using windows 10 with python 3.7.2 with kivy 1.10.1. With the reference of this documentation I have done exe building successfully but when I run exe it shows the following error Error loading Python DLL 'C:\Users\acer\Desktop\coding\build\hello\python37.dll'. LoadLibrary: The specified module could not be found. Thanks for helping me :D and This is the Specs i got from python -m PyInstaller --name hello main.py hello.spec # -*- mode: python -*-

SDL2 Error: “Unable to load image <default.png>” when freezing kivy application using pyinstaller

我的梦境 提交于 2020-06-25 05:40:27
问题 I'm unable to produce a working exe with pyinstaller (the name of the app is settings_gui). Runtime error: (Full log) [WARNING ] [Image ] Unable to load image <<project_path>\dist\SETTIN~1\kivy_install\data\glsl\default.png> [CRITICAL ] [Window ] Unable to find any valuable Window provider at all! sdl2 - Exception: SDL2: Unable to load image File "site-packages\kivy\core\__init__.py", line 67, in core_select_lib File "site-packages\kivy\core\window\window_sdl2.py", line 138, in __init__ File

Kivy-iOS toolchain wont run 'Permission Denied'

时光毁灭记忆、已成空白 提交于 2020-06-17 15:53:29
问题 Im trying to convert a kivy app to run on iOS and have followed the information on the kivy site. However, once everything is downloaded the first step is to compile the toolchain process, which I cant do. So the command ./toolchain.py openssl kivy returns ./toolchain.py: Permission denied No other messages so a bit difficult to troubleshoot. I found this post. That suggestion hasn't been accepted or marked as correct, but I tried anyway and changing permissions doesn't fix the problem. I

kivy putting video inside a Canvas?

混江龙づ霸主 提交于 2020-06-17 15:23:45
问题 i want to put a video inside a canvas. i'm using images inside them just fine but when i use videos it triggers some errors Unknown <mp4> type, no loader found. i do not know where is the probleme. this is my code for the image : with self.canvas: self.bg = Rectangle(source='mahrez.jpg', pos=self.pos, size=self.size) but instead of the image i want to use a video 回答1: You can do what you want by using kivy.core.video and using that to set the texture of the Rectangle : from kivy.core.video

Kivy: AttributeError: 'NoneType' object has no attribute 'parent' when scroll down and scroll up again in recycle view

巧了我就是萌 提交于 2020-06-17 09:58:07
问题 My Kivy App Description: I have 3 types of widgets in MyFirstScreen : A RecycleView that has multiple "User"s as its items. (each item is a dictionary ) Three TextInput s that are related to values of each recycle view item. (if you select any items of RecycleView these TextInput s will loaded with corresponding dictionary values) An "Add New User" Button . (if you enter NEW values in TextInputs s and press this button, RecycleView will be updated with: previous items + your new item) Issue:

Kivy: Can't update text input value from another class

一个人想着一个人 提交于 2020-06-17 09:36:14
问题 I'm new on kivy .I'm trying to change text input value (the string value that is shown in TextInput box) from another class, But nothing passes. I have following widgets in class MyFirstScreen : One RecycleView with multiple items (each item is a dictionary ) Two TextInput s What I want to do: When each items in RecycleView selected, TextInput s should be update and load with corresponding values of selected item's dictionary . But when i try to access current TextInput 's value from another

Kivy : Error weakly-referenced object (in a clock function) no longer exists

家住魔仙堡 提交于 2020-06-17 03:53:25
问题 So here is my error code I think there's something hard in this error, i looked on forums but couldn't find out. And ... i have the error on my phone (with kivy launcher python 3 and when i build with buildozer) but not on my computer (ubuntu 18.0.4 and windows 10) The error, from what i understand, comes from the garbage collector that delete a reference and the code try to access the reference after the garbage collector. but i am not sure if I rly understand the garbage collector thing

kivy-ios .toolchain.py: line 4: syntax error: unexpected end of file in Mac High Sierra

我们两清 提交于 2020-06-16 16:58:33
问题 I try to compile python file to ios file on mac. I used kivy-for-ios documentation. I executed: brew install autoconf automake libtool pkg-config brew link libtool sudo easy_install pip sudo pip install Cython==0.29.10 git clone git://github.com/kivy/kivy-ios cd kivy-ios I also executed this line: chmod +x ./toolchain.py because before I got error: -bash: .toolchain.py: Permission denied then ./toolchain.py build kivy the last string returns error: |from: can not read /var/mail/kivy-ios

Kivy Camera on multiple screen

不羁的心 提交于 2020-06-01 07:41:05
问题 I'm trying to create a simples app in kivy that have two screen and i need it load the a custom camera in each screen dont need do in same time. I tryed load in gui.kv the cam in microscope widget and main widget, but's retorn me a erro self._buffer = frame.reshape(-1) AttributeError: 'NoneType' object has no attribute 'reshape' When i remove one of the cameras it work, but's i need the camera in both screen follow my code main.py import kivy from kivy.app import App from kivy.uix