Skip to content

Instantly share code, notes, and snippets.

@Zen-CODE
Zen-CODE / output.txt
Created June 6, 2021 08:31
buildozer android debug deploy run logcat > out.put.txt
This file has been truncated, but you can view the full file.
# Check configuration tokens
# Ensure build layout
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.7 (amd64).
This is free software; see the GNU General Public License version 2 or
@Zen-CODE
Zen-CODE / out.txt
Last active June 23, 2022 06:22
The output of `buildozer android debug deploy run logcat > out.txt`
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.7 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
@Zen-CODE
Zen-CODE / cd-workflow.yaml
Last active May 11, 2021 17:22
iOD Deployment for '.github/workflows/cd-workflow.yaml'
name: Frontend Deployment - Staging
on:
push:
branches:
- master
jobs:
validate:
runs-on: ubuntu-latest
@Zen-CODE
Zen-CODE / Err.log
Created April 26, 2020 18:25
Error when building in a venv with PR 454
[DEBUG ] ar rcs libpython3.8.a Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/token.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o Objects/abstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/call.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/interpreteridobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/odictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/picklebufobject.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobje
@Zen-CODE
Zen-CODE / output.txt
Created February 25, 2020 01:29
Error when trying to open IOS FileBrwoser
Exception ignored in: 'pyobjus.pyobjus.protocol_forwardInvocation'
Traceback (most recent call last):
File "pyobjus/pyobjus.pyx", line 872, in pyobjus.pyobjus.protocol.f.f2
File "/Users/richard/Library/Developer/CoreSimulator/Devices/E5F90713-0057-4F0B-A728-F6F27038B40F/data/Containers/Bundle/Application/2CE2C18C-4F02-4179-801E-FFBF0085A31F/btp-kivy-app.app/lib/python3.7/site-packages/plyer/platforms/ios/filechooser.py", line 74, in imagePickerController_didFinishPickingMediaWithInfo_
native_image_picker = autoclass("NativeImagePicker").alloc().init()
File "pyobjus/pyobjus.pyx", line 740, in pyobjus.pyobjus.autoclass
File "pyobjus/pyobjus.pyx", line 98, in pyobjus.pyobjus.MetaObjcClass.__new__
File "pyobjus/pyobjus.pyx", line 129, in pyobjus.pyobjus.MetaObjcClass.resolve_class
pyobjus.pyobjus.ObjcException: Unable to find class b'NativeImagePicker'
@Zen-CODE
Zen-CODE / iOS File Chooser error
Created February 7, 2020 20:21
iOS File Chooser error
[INFO ] [Text ] Provider: sdl2
Traceback (most recent call last):
File "/Users/richard/Repos/btp/kivy-ios/filechooser-ios/YourApp/main.py", line 33, in <module>
File "/Users/richard/Library/Developer/CoreSimulator/Devices/E5F90713-0057-4F0B-A728-F6F27038B40F/data/Containers/Bundle/Application/92050856-4497-4BC8-B4B8-B32D77D6567A/filechooser.app/lib/python3.7/site-packages/kivy/app.py", line 949, in run
self._run_prepare()
File "/Users/richard/Library/Developer/CoreSimulator/Devices/E5F90713-0057-4F0B-A728-F6F27038B40F/data/Containers/Bundle/Application/92050856-4497-4BC8-B4B8-B32D77D6567A/filechooser.app/lib/python3.7/site-packages/kivy/app.py", line 944, in _run_prepare
self.dispatch('on_start')
File "kivy/_event.pyx", line 709, in kivy._event.EventDispatcher.dispatch
File "/Users/richard/Repos/btp/kivy-ios/filechooser-ios/YourApp/main.py", line 18, in on_start
File "pyobjus/pyobjus.pyx", line 740, in pyobjus.pyobjus.autoclass
@Zen-CODE
Zen-CODE / main.py
Created January 2, 2020 20:15
FileChooser on_selection fires multiple times
'''
Example of an Android filechooser.
'''
from __future__ import unicode_literals
from textwrap import dedent
from plyer import filechooser
from kivy.app import App
[DEBUG ] Compiling '/Users/richard/Repos/kivy-ios/dist/hostpython3/lib/python3.7/site-packages/easy_install.py'...
[INFO ] Create a python3.7.zip
[DEBUG ] New State: python3.build_all at 2019-11-06 21:54:50.011553
[INFO ] Download ios
[DEBUG ] New State: ios.download at 2019-11-06 21:54:50.013889
[INFO ] Extract ios
[INFO ] Extract ios for x86_64
[INFO ] Extract ios for arm64
[DEBUG ] New State: ios.extract at 2019-11-06 21:54:50.035576
[INFO ] Build_all ios
[INFO ] Running Shell: /Users/richard/Repos/kivy-ios/dist/hostpython3/bin/python ('setup.py', 'install', '--prefix', '/Users/richard/Repos/kivy-ios/dist/root/python3') {'_env': {'CC': '/var/folders/fb/x41km3811v36_hbq21l4kdnw0000gn/T/tmp7ymyw9sr', 'CXX': '/var/folders/fb/x41km3811v36_hbq21l4kdnw0000gn/T/tmpq2k0no5x', 'AR': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar', 'LD': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld', 'OTHER_CFLAGS': '-I/Users/richard/Repos/kivy-ios/dist/include/x86_64/ffi -I/Users/richard/Repos/kivy-ios/dist/include/x86_64/openssl -I/Users/richard/Repos/kivy-ios/dist/include/x86_64', 'OTHER_LDFLAGS': '-L/Users/richard/Repos/kivy-ios/dist/lib', 'CFLAGS': '-O3 -miphoneos-version-min=8.0 -I/Users/richard/Repos/kivy-ios/dist/include/x86_64/ffi -I/Users/richard/Repos/kivy-ios/dist/include/x86_64/openssl -I/Users/richard/Repos/kivy-ios/dist/include/x86_64', 'LDFLAGS': '-arch x86_64 --sysroot /Applicat
toolchain.py:93: DeprecationWarning: ChromeDownloader style of invoking requests is deprecated. Use newer urlopen functions/methods
urlretrieve = ChromeDownloader().retrieve
[INFO ] Building with 12 processes, where supported
[INFO ] Want to build ['itsdangerous']
[INFO ] Loaded recipe itsdangerous (depends of ['python3'], optional are [])
[INFO ] Loaded recipe python3 (depends of ['hostpython3', 'libffi', 'openssl'], optional are [])
[INFO ] Loaded recipe hostpython3 (depends of [], optional are ['openssl'])
[INFO ] Loaded recipe libffi (depends of [], optional are [])
[INFO ] Loaded recipe openssl (depends of [], optional are [])
[INFO ] Build order is ['libffi', 'openssl', 'hostpython3', 'python3', 'itsdangerous']