Skip to content

Instantly share code, notes, and snippets.

[INFO ] Logger: Record log in /home/richard/.pyenv/versions/.kivy/logs/kivy_25-11-12_14.txt
[INFO ] Kivy: v3.0.0.dev0
[INFO ] Kivy: Installed at "/home/richard/Repos/kivy/kivy/kivy/__init__.py"
[INFO ] Python: v3.12.8 (main, Feb 5 2025, 19:47:50) [GCC 13.3.0]
[INFO ] Python: Interpreter at "/home/richard/.pyenv/versions/kivy_3.12.8/bin/python"
[INFO ] Logger: Purge log fired. Processing...
[INFO ] Logger: Purge finished!
[INFO ] creating /tmp/tmp8wf_1673/build/tmp/tmp8wf_1673
[INFO ] gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/home/richard/.pyenv/versions/kivy_3.12.8/include -I/home/richard/.pyenv/versions/3.12.8/include/python3.12 -c /tmp/tmp8wf_1673/test.c -o /tmp/tmp8wf_1673/build/tmp/tmp8wf_1673/test.o
[WARNING] stderr: /home/richard/.pyenv/versions/kivy_3.12.8/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
(kivy_3.12.8) richard@richard-lm:~/Repos/kivy/kivy$ python examples/demo/kivycatalog/main.py
[INFO ] [Logger ] Record log in /home/richard/.pyenv/versions/.kivy/logs/kivy_25-11-12_4.txt
[INFO ] [Kivy ] v3.0.0.dev0
[INFO ] [Kivy ] Installed at "/home/richard/Repos/kivy/kivy/kivy/__init__.py"
[INFO ] [Python ] v3.12.8 (main, Feb 5 2025, 19:47:50) [GCC 13.3.0]
[INFO ] [Python ] Interpreter at "/home/richard/.pyenv/versions/kivy_3.12.8/bin/python"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
[INFO ] [Factory ] 195 symbols loaded
[INFO ] [ImageLoaderFFPy] Using ffpyplayer 4.5.3
@Zen-CODE
Zen-CODE / gist:1e9e6182020979d9c789094ecea6ce65
Last active January 17, 2025 05:51
VSCode: launch.json configs
Config for launching a single test in pytest. For all test, just remove the `args` line.
```json
{
"name": "Python: Run single pytest",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": "/home/richard/Repos/dotmodus/remchannel_backend/apps/reports/tests/viewsets/test_survey_reports.py::test_html_and_pdf",
"console": "integratedTerminal",
@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