ham-radio-software / D-Rats

D-Rats program for D-Star Ham Radios
https://iz2lxi.jimdofree.com/
Other
43 stars 13 forks source link

Form save/send/print has errors #215

Closed wb8tyw closed 1 year ago

wb8tyw commented 1 year ago
  1. Attempting to save, send, or print an ARRL radiogram, an NHC Hurricane Report, a Skywarn Report or the hics260 form causes an error, but calls to print the ICS forms are rendered correctly and can be saved, sent, or printed in Firefox. Trying to fill out the above forms and the program will not allow the message to be saved or sent. It always gives an error message that can be ignored. The forms are presently unusable.
wb8tyw commented 1 year ago

Need to know the specific error messages produced.

wb8tyw commented 1 year ago

Reproduced with radiogram

Traceback (most recent call last):
  File "/mnt/aviary/home/malmberg/work/d-rats/D-Rats/d_rats/ui/message_list.py", line 271, in form_done
dlg.save_to(filename)
  File "/mnt/aviary/home/malmberg/work/d-rats/D-Rats/d_rats/formgui.py", line 1508, in 
save_to
field.update_node()
  File "/mnt/aviary/home/malmberg/work/d-rats/D-Rats/d_rats/formgui.py", line 1058, in update_node
    self.entry.update_node()
  File "/mnt/aviary/home/malmberg/work/d-rats/D-Rats/d_rats/formgui.py", line 759, in update_node
    child.unsetProp("set")
AttributeError: 'lxml.etree._Element' object has no attribute 'unsetProp'
wb8tyw commented 1 year ago

Two sections of code found that had not been converted to lxml calls.