开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

QtTinySA update to v1.0.2 #software


 

I have updated the PC App to
Note:? Any existing config database QtTSAprefs.db must be updated, it's not backwards-compatible.
?

Updated with improvements and new features. See the for details of how features work and how to update the database.

??

New:

Waterfall display.
Save sweep data to a CSV file continuously.
Github workflow now builds the executables for Linux, Windows and macOS directly in Github runners.

??

Improved:
Any marker can be associated with any trace.
Marker max/min tracking much improved and now with 9 levels.
All markers can have a delta marker.
Peak detection threshold and frequency boundary lines de-cluttered.
All Python files moved into 'src' folder.

?

Please report any or start on the Github pages , not here.? It would be interesting to know on here if the macOS executable works ok since I can't test it.

?

Thank you to Clive, Bill, povnz and xros for testing and contribution of ideas.

?

Ian G4IXT


 

Ian,
When I attempt to execute the app, I get the following error:
Traceback (most recent call last):
? File "QtTinySA.py", line 1805, in <module>
? File "QtTinySA.py", line 1191, in mapWidget
? File "<string>", line 1, in <module>
AttributeError: 'Ui_MainWindow' object has no attribute 'marker1'
[PYI-37212:ERROR] Failed to execute script 'QtTinySA' due to unhandled exception!
?
Gary
W9TD


 

I had the same.
When I deleted ~/home/config/QtTinySA/QtTSAprefs.db all worked again.
?
73, PA3HBS


 

I try to run QtTinySA v1.0.2. Command prompt screen pops up but nothing is running.

QtTinySA v0.11.7 is working fine. Windows 10 laptop.

Mike N2MS


 

Ooops, typo, must be ~/.config/QtTinySA/QtTSAprefs.db


 

in Windows the c:\Users\xxx\AppData\Local\QTtinySA\QtTSAprefs.db must be deleted
Replace the 'xxx' with your Windows user name.
73's de OE1MWW
Wolfgang


 

Trying to download the QtTinySA_win.zip package, both Chrome and Opera flag the download as having a virus.? The others seem OK.??
Any tips on how I can get the Windows package?? "Make it up from source code" is not an option.
Best regards, Don Brant


 

Try Firefox?


On Sat, Feb 1, 2025, 2:00?PM Donald S Brant Jr via <dsbrantjr=gmail.com@groups.io> wrote:
Trying to download the QtTinySA_win.zip package, both Chrome and Opera flag the download as having a virus.? The others seem OK.??
Any tips on how I can get the Windows package?? "Make it up from source code" is not an option.
Best regards, Don Brant


 

Wolfgang,
Thanks, it works perfectly now.
Gary
W9TD


 

Thanks for this Ian, any ideas where the db file would be stored on a Mac OS version?


On Sun, 2 Feb 2025 at 10:46, Gary W9TD via <w9td=arrl.net@groups.io> wrote:
Wolfgang,
Thanks, it works perfectly now.
Gary
W9TD


 

/home/username/.config/QtTinySA
or in Windows 11:?C:\Users\username\AppData\Local\QtTinySA
or in macOS:?/Users/username/Library/Application Support/QtTinySA


 

Thanks for this Ian,?

Library was hidden on my Mac got there in the end :)

On Sun, Feb 2, 2025 at 10:02?PM Ian Jefferson via <ian.jefferson=btinternet.com@groups.io> wrote:

/home/username/.config/QtTinySA
or in Windows 11:?C:\Users\username\AppData\Local\QtTinySA
or in macOS:?/Users/username/Library/Application Support/QtTinySA


 

I have Windows 7 professional 64 bits and the QtTinySa program does not work. Error: api-ms-win-core-path-l1-1-0.dll. Is there a solution?


 

On Sun, Feb 2, 2025 at 07:59 PM, JCR wrote:
I have Windows 7 professional 64 bits and the QtTinySa program does not work. Error: api-ms-win-core-path-l1-1-0.dll. Is there a solution?
?
It doesn't work on Windows version < 10 and it's 5 years since Microsoft ended support for Win-7.
You could install Linux as a dual-boot system if you do not wish to upgrade Windows.


 

I believe you'd also have to use an older version of Linux,?or at least older versions of Python and Qt.?
On Fedora 41 with Python 3.13.1 and Qt6 yields this:

[user]@[machine]:~/QtTinySA/src$ ./QtTinySA.py
QSocketNotifier: Can only be used with threads started with QThread
Database QtTSAprefs.db found at /home/[user]/.config/QtTinySA
QtTSAprefs.db open: True ?Connection = "settings"
QtTinySA v1.0.2
Traceback (most recent call last):
? File "/home/[user]/QtTinySA/src/./QtTinySA.py", line 1805, in <module>
? ? checkboxes.mapWidget('checkboxes') ?# uses mapping table from database
? ? ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
? File "/home/[user]/QtTinySA/src/./QtTinySA.py", line 1191, in mapWidget
? ? self.dwm.addMapping(eval(gui), int(column))
? ? ? ? ? ? ? ? ? ? ? ? ~~~~^^^^^
? File "<string>", line 1, in <module>
AttributeError: 'Ui_MainWindow' object has no attribute 'marker1'

On Sun, Feb 2, 2025 at 3:57?PM Ian Jefferson via <ian.jefferson=btinternet.com@groups.io> wrote:
On Sun, Feb 2, 2025 at 07:59 PM, JCR wrote:
I have Windows 7 professional 64 bits and the QtTinySa program does not work. Error: api-ms-win-core-path-l1-1-0.dll. Is there a solution?
?
It doesn't work on Windows version < 10 and it's 5 years since Microsoft ended support for Win-7.
You could install Linux as a dual-boot system if you do not wish to upgrade Windows.



--
Tate

"Success is not Final, Failure is not Fatal.
It is the courage to continue that counts."
? -- W. C.


 

OK, that was my bad - i'd missed the need to update the Database,?
Deleted the old one and tried?again.?
Maybe a Fedora specific issue and it gets past the previous error, copies the new database, flashes on the screen and then fails?with:

[user]@[machine]:~/QtTinySA/src$ ./QtTinySA.py
QSocketNotifier: Can only be used with threads started with QThread
QtTSAprefs.db copied from /home/[user]/QtTinySA/src/. to /home/[user]/.config/QtTinySA
QtTSAprefs.db open: True ?Connection = "settings"
QtTinySA v1.0.2
The Wayland connection experienced a fatal error: Protocol error

Just to ensure I've not done something else ignorant, I'm going back through all the prerequisites, again.

On Sun, Feb 2, 2025 at 4:19?PM WyoHam via <wyoham=gmail.com@groups.io> wrote:
I believe you'd also have to use an older version of Linux,?or at least older versions of Python and Qt.?
On Fedora 41 with Python 3.13.1 and Qt6 yields this:

[user]@[machine]:~/QtTinySA/src$ ./QtTinySA.py
QSocketNotifier: Can only be used with threads started with QThread
Database QtTSAprefs.db found at /home/[user]/.config/QtTinySA
QtTSAprefs.db open: True ?Connection = "settings"
QtTinySA v1.0.2
Traceback (most recent call last):
? File "/home/[user]/QtTinySA/src/./QtTinySA.py", line 1805, in <module>
? ? checkboxes.mapWidget('checkboxes') ?# uses mapping table from database
? ? ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
? File "/home/[user]/QtTinySA/src/./QtTinySA.py", line 1191, in mapWidget
? ? self.dwm.addMapping(eval(gui), int(column))
? ? ? ? ? ? ? ? ? ? ? ? ~~~~^^^^^
? File "<string>", line 1, in <module>
AttributeError: 'Ui_MainWindow' object has no attribute 'marker1'

On Sun, Feb 2, 2025 at 3:57?PM Ian Jefferson via <ian.jefferson=btinternet.com@groups.io> wrote:
On Sun, Feb 2, 2025 at 07:59 PM, JCR wrote:
I have Windows 7 professional 64 bits and the QtTinySa program does not work. Error: api-ms-win-core-path-l1-1-0.dll. Is there a solution?
?
It doesn't work on Windows version < 10 and it's 5 years since Microsoft ended support for Win-7.
You could install Linux as a dual-boot system if you do not wish to upgrade Windows.



--
Tate

"Success is not Final, Failure is not Fatal.
It is the courage to continue that counts."
? -- W. C.



--
Tate

"Success is not Final, Failure is not Fatal.
It is the courage to continue that counts."
? -- W. C.


 

Hey, Mikey! It works!

ran: pip install --upgrade [name]
Against all dependencies listed, a few updates accomplished and tried it again - it launches.?
Now to try it with my updated TinySA Ultra connected

Dependency?list:??
? ? What I now have installed here
altgraph-0.17.4
numpy-2.2.2
platformdirs-4.3.6
PyOpenGL-3.1.9
PyQt5-5.15.11?
PyQt5-Qt5-5.15.16
PyQT5-sip-12.17.0
pyqtgraph 2.2.2
pyserial 3.5

Sorry for the clutter


On Sun, Feb 2, 2025 at 4:28?PM WyoHam via <wyoham=gmail.com@groups.io> wrote:
OK, that was my bad - i'd missed the need to update the Database,?
Deleted the old one and tried?again.?
Maybe a Fedora specific issue and it gets past the previous error, copies the new database, flashes on the screen and then fails?with:

[user]@[machine]:~/QtTinySA/src$ ./QtTinySA.py
QSocketNotifier: Can only be used with threads started with QThread
QtTSAprefs.db copied from /home/[user]/QtTinySA/src/. to /home/[user]/.config/QtTinySA
QtTSAprefs.db open: True ?Connection = "settings"
QtTinySA v1.0.2
The Wayland connection experienced a fatal error: Protocol error

Just to ensure I've not done something else ignorant, I'm going back through all the prerequisites, again.

On Sun, Feb 2, 2025 at 4:19?PM WyoHam via <wyoham=gmail.com@groups.io> wrote:
I believe you'd also have to use an older version of Linux,?or at least older versions of Python and Qt.?
On Fedora 41 with Python 3.13.1 and Qt6 yields this:

[user]@[machine]:~/QtTinySA/src$ ./QtTinySA.py
QSocketNotifier: Can only be used with threads started with QThread
Database QtTSAprefs.db found at /home/[user]/.config/QtTinySA
QtTSAprefs.db open: True ?Connection = "settings"
QtTinySA v1.0.2
Traceback (most recent call last):
? File "/home/[user]/QtTinySA/src/./QtTinySA.py", line 1805, in <module>
? ? checkboxes.mapWidget('checkboxes') ?# uses mapping table from database
? ? ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
? File "/home/[user]/QtTinySA/src/./QtTinySA.py", line 1191, in mapWidget
? ? self.dwm.addMapping(eval(gui), int(column))
? ? ? ? ? ? ? ? ? ? ? ? ~~~~^^^^^
? File "<string>", line 1, in <module>
AttributeError: 'Ui_MainWindow' object has no attribute 'marker1'

On Sun, Feb 2, 2025 at 3:57?PM Ian Jefferson via <ian.jefferson=btinternet.com@groups.io> wrote:
On Sun, Feb 2, 2025 at 07:59 PM, JCR wrote:
I have Windows 7 professional 64 bits and the QtTinySa program does not work. Error: api-ms-win-core-path-l1-1-0.dll. Is there a solution?
?
It doesn't work on Windows version < 10 and it's 5 years since Microsoft ended support for Win-7.
You could install Linux as a dual-boot system if you do not wish to upgrade Windows.



--
Tate

"Success is not Final, Failure is not Fatal.
It is the courage to continue that counts."
? -- W. C.



--
Tate

"Success is not Final, Failure is not Fatal.
It is the courage to continue that counts."
? -- W. C.



--
Tate

"Success is not Final, Failure is not Fatal.
It is the courage to continue that counts."
? -- W. C.


 

On Sun, Feb 2, 2025 at 11:39 PM, WyoHam wrote:
Hey, Mikey! It works!
?
ran: pip install --upgrade [name]
Against all dependencies listed, a few updates accomplished and tried it again - it launches.?
Now to try it with my updated TinySA Ultra connected
Well done.? I use kubuntu 24.04LTS on my desktop machine but it works on my Pi4 OS12 (which uses Wayland) and my ideapad with Lubuntu 24.10.
It uses PyQt5 not PyQt6.? I will update to PyQt6 eventually.


 

That's because the packing system of QtTinySA is not okay. I released my own version of QtTinySA which doesn't have this virus warning. I suggested the author to switch to `pyinstall` for packing the software. He switched to `pyinstaller` for packing software for windows. But still some virus were detected by virustotal. Either his computer has virus or something wrong with the code itself. I made my version of QtTinySA with pure source codes and virtualtotal said no virus.


 

I didn't build the executables on my machine this time, I used Github workflow pyinstaller 'actions', which I had to learn how to do and then experiment with to get it right.? ?When I downloaded the result to my machine, Windows Defender did not flag up any problems with it.? I am pretty certain that I do not have any virus on my PC because I almost never use Windows on it and it is fully up to date with MS security patches and Windows Defender scans show nothing.? I have also tried the 'nuitka' compiler but that was worse.? It's possible that I have some Python packages that are out of date on my Windows machine,.
??
I give up.? I will top building it for Windows and attempting to support Windows users since I have no use for a Windows version and I will delete the Windows exectutables.
?
Ian