Closed sm3ulc closed 6 months ago
I just spun up a Docker Container with Ubuntu 20.04. I'm able to confirm the reported bug.
$ apt search pyhamtools
Sorting... Done
Full Text Search... Done
python3-pyhamtools/focal,now 0.7.4-2 all [installed]
Python library with amateur radio functions and methods
According to the changelog, this bug was fixed in version 0.7.6. I'm not sure if we can fix this bug in the Debian / Ubuntu 20.04 repos. Maybe @df7cb can help out?
Alternatives that come to my mind:
I have no idea how Ubuntu works there, but on the Debian side, updating old releases is a pretty involved process.
Perhaps the fix for the future could be to make the loader robust so it doesn't die on unknown countries.
thanks for the swift answer!
Right - good point to make the loader more robust.
Considering that there are alternatives on how to make pyhamtools work on Ubuntu 20.04 I guess it will remain the way it is. Probably most consumers are anyway already on Debian 12 or a later Ubuntu release.
I thought Ubuntu mainly relies on Debian packages.
Got weird error on first test of example:
Ubuntu 20.04.6 LTS sudo apt install python3-pyhamtools
=>
Python 3.8.10 (default, May 26 2023, 14:05:08) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. **>>> from pyhamtools import LookupLib, Callinfo