hmatuschek / qdmr

A GUI application for configuring and programming cheap DMR radios under Linux and MacOS X.
https://dm3mat.darc.de/qdmr/
GNU General Public License v3.0
216 stars 45 forks source link

Error when writing Anytone codeplug with current github version (gd73 branch) #383

Closed allesand closed 11 months ago

allesand commented 11 months ago

Good morning, please refer to attached screenshot, trying to write to my 878 with the current gd73 branch: anytone

hmatuschek commented 11 months ago

This is actually a bug in the devel-branch. Should be easy to fix.

hmatuschek commented 11 months ago

Ok, should be fixed now.

allesand commented 11 months ago

Maybe b/c of my switching between versions: all "non-decimal" MHz-Values were written as "145 Hz" instead of "145.0 MHz" in the yaml-file. Fixed that with search&replace.

Then, there seems to be something about more than one radio id (I have entered a second one for testing purposes), current devel crashes when writing the config with:

Debug in lib/config.cc@371: Using format version 0.12.0. Debug in lib/config.cc@425: Set default radio ID to 'first_id_here'. [...] Debug in lib/radioid.cc@207: Automatically set default radio id to second_id_here. Debug in lib/radioid.cc@207: Automatically set default radio id to second_id_here. Speicherzugriffsfehler (Speicherabzug geschrieben)

That never happened before, qdmr always wrote the ids where they belong. What should I look for, a digital channel entry without an ID or what makes qdmr jump to lib/radioid.cc@207 suddenly? I tried with some older yaml files, happens there as well, so it seems not to be caused by config changes?

(I replaced the ID identifiers, interesting: when writing the config, the second id is set as the default one according to the debug output - when opening the yaml file earlier the first one was reported correctly as the default one.)

hmatuschek commented 11 months ago

Opened a new issue for that #385, close that one.