Replies: 6 comments 1 reply
-
I haven't seen that before but I wonder if it's because you have an older version of python as well as python3. Try: python3 QtTinySA.py Do you have the correct serial module? It should be 'python3-serial' from the repository. Check for that first and if that fixes the serial connection we can look at the database issue. The database connection is separate from the serial connection to the tinySA. |
Beta Was this translation helpful? Give feedback.
-
Hi, first of all sorry for my late reply... I only have a single version of Python installed on the machine (which is 3.10.12), and I'm using Debian's / Ubuntu's package When testing with `python3 QtTinySA.py", I get the exact same output as stated above. The The installation of the OS is new, and QtTinySA is the first project on this installation to use Python (or any serial port driver, for that matter). So I am pretty confident that there are no preexisting artifacts that complicate things. |
Beta Was this translation helpful? Give feedback.
-
If you try it without the TinySA connected, do you get anything like this? (base) ian@Study:~/Documents/GitHub/QtTinySA$ python3 QtTinySA.py |
Beta Was this translation helpful? Give feedback.
-
Just got on my hands a new TinySA Ultra and faced this same issue. |
Beta Was this translation helpful? Give feedback.
-
Phew, now I feel stupid... @arsinisa 's hint to look at the permissions of the virtual serial port got me to resolve the first problem. However, @arsinisa , I would suggest to rather add the user you are using to the
@g4ixt, may I suggest adding a short hint like "make sure your user account has permission to access the /dev/ttyACM0 interface" into the prerequisites section of the README? |
Beta Was this translation helpful? Give feedback.
-
@g4ixt , my remaining issue was that database error, which I now was able to resolve. With the serial connection working, I focused on the error message So perhaps that driver should also be included in the README under "dependencies" -- for many people, it will get auto-installed as a suggestion from another package, but that does not always seem to be the case. Anyway, problem solved! :-) Thanks for your quick help here, and above all for the very nice software! |
Beta Was this translation helpful? Give feedback.
-
I am trying to run the software on an Ubuntu 22.04 LTS system and get the following message on startup (with an already switched-on TinySA connected):
The GUI then starts up fine, but there is obviously no communication with the device. I have the
python3-pyqt5.qtsql
package installed, so the QSQLITE driver should be present on the system. There is, however, nothing to suggest that the "Database not open" message is in any way related to the "serial port exception". Can anyone suggest a way to diagnose this further?Many thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions