mobatime cmd line util
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
timebot/README.md

48 lines
1.1 KiB

# Timebot
A simple command line utility to make mobatime time entries.
# Development
This is a poetry managed project. For details see:
* https://python-poetry.org/docs/#installation
* https://python-poetry.org/docs/basic-usage/
## Test
``poetry run pytest``
## Build
### Python
``poetry build``
### App Image
``poetry run python -m nuitka --standalone --onefile --enable-plugin=pyqt5 --output-dir=build/nuitka timebot/app.py``
# ERRORS
## SSL verify error
Try exporting `REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt` to use system ca store.
## QT XCB Error
```
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: offscreen, minimalegl, vnc, linuxfb, minimal, vkkhrdisplay, xcb, wayland-egl, wayland, eglfs.
```
Install xcb libs:
```sudo apt-get install libglu1-mesa-dev libx11-xcb-dev '^libxcb*'```
# Other Ressources
## Manuals/How-To's
* https://www.pythonguis.com/tutorials/pyside6-first-steps-qt-designer/