Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Cross Platform GUI for installing Meshtastic Firmware. It also checks and updates the RAK 4631 and LilyGo T-Echo bootloaders.
See https://meshtastic.org/docs/software/python/flasher
Note: The "single executable" installation option has been deprecated as of March 10, 2022.
To go into the Advanced Options page, press the "A" key or click on the "Advanced Options" in the top left of the main screen
Capabilities:
meshtastic --info
First clone repo and change into the Meshtastic-gui-installer directory.
python3 -m venv venv
source venv/bin/activate
# or if on windows: venv\scripts\activate
pip install --upgrade pip
pip install .
To run, type in "meshtastic-flasher"
pylint *.py
or
make lint
pytest
https://wiki.qt.io/Qt_for_Python
https://pygithub.readthedocs.io/en/latest/introduction.html
https://github.com/meshtastic/Meshtastic-device
If you get this error:
qt.qpa.plugin: Could not load the Qt platform "xcb" in "" even though it was found.
This application failed to start because not Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkrrdisplay, vnc, wayland-egl, wayland, xcb.
Aborted.
Then this might solve the issue:
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
pacman -S qt6 pyside6
pip install meshtastic-flasher
The following are known limitations:
Raspberry Pi is not available, since it is arm-based and there are no pre-built libraries for PySide. There is an interesting link here: https://github.com/piwheels/packages/issues/4#issuecomment-772058821 .
Ubuntu 20.04 is the version used for testing, it may work with other versions (Known issue with Wayland https://github.com/meshtastic/Meshtastic-gui-installer/issues/8 )
Ubuntu 18.04 will not work as PySide6/Qt6 libraries are not available.
Many linux arm variations will work as Qt does not support arm. See https://doc.qt.io/qt-6/supported-platforms.html
If you just run the pip install meshtastic-flasher
outside of a fresh python virtual environment (like say on a mac that has used brew
to install things) you may get this error:
from meshtastic_flasher.installer import main
File "/usr/local/lib/python3.9/site-packages/meshtastic_flasher/installer.py", line 20, in <module>
from meshtastic.util import detect_supported_devices, findPorts, detect_windows_needs_driver
If you get this error, then install in a python virtual environment as described in the Installation step above.
Windows 11 works with CP210x Universal Windows Driver, and you must start the command prompt as Administrator
Windows 10 will not work with python v3.8.0 due to issue https://stackoverflow.com/questions/56757044/pyside2-dll-load-failed-the-specified-procedure-could-not-be-found/70533728#70533728 . It has been tested on python 3.10 on Windows 10.
User reported it does not run on MacOS High Sierra.
Please keep code as simple as possible.
FAQs
Graphical user interface to flash Meshtastic firmware to devices
We found that meshtastic-flasher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.