Open reinauer opened 3 years ago
Full error message:
~/git/pytouch-cube$ python3 setup.py py2app
Honestly, this is veery alpha quality. It runs on mac on windows, but I know that I have some local modifications on both machines to make them work a little bit better for each platform. I don't currently use any linux desktop OS, but I'll see if I can get it working in a VM and let you know.
I updated the deps and added a package that seems to have vanished (pyBarcode).
py2app is just for macos, use
pip3 install .
to install dependencies, and then
python3 gui.py
to launch the app.
Ok, got a bit further... On Linux I can start the App as you described above, but can not currently seem to talk to the rfcomm0 device. On MacOS I can build the App, but starting it results in a "PyTouch Cube Error" which offers me to start the console, but the only thing in the logs I can find is... com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.apple.Console.1152921500311974274.1152921500311974279(501)> [9758] com.apple.xpc.launchd[1] (application.org.pythonmac.unspecified.PyTouchCubeEditor.12889544304.12889547414[17265]): Service exited with abnormal code: 255
For mac, try the compiled binary. The error messages tend to be kind of bad when the crashes occur in Qt.
Does the device get listed? It should be using pyserial's list_ports_linux for the port list, but since #1 was reported, maybe that's not working? I don't have bluetooth in the VM unfortunately...
I tested build on Ubuntu 18.04, 20.04 and 22.04 with #37. Ubuntu 20.10 is EOL and should not be supported at this point. rfcomms connecting also works by now :)
Not sure how to run / build this, I tried:
python3 setup.py py2app
and got