[BUG] agr export, symbolcolor #233

Closed
opened 2024-02-05 10:21:39 +00:00 by saeckech · 1 comment
Member

Current behavior

trying to export the data from the attached .nmr (renamed ending for gitea) session does not export the data. Error Log has a message about symbol colors. Changing the symbol color does not help.

Version

2024-01-031

Expected behavior

No response

Steps to reproduce

  1. select graph
  2. ctrl+shift+s
  3. chose existing .agr file
  4. nothing happens, ErrorLog has a new message

Log messages

05/02/2024 11:09:33 - ERROR - root : Uncaught exception:
Traceback (most recent call last):
  File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/main/mainwindow.py", line 317, in export_graphic
    self.current_graph_widget.export_dialog()
  File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/graphs/graphwindow.py", line 643, in export_dialog
    self.export(outfile)
  File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/graphs/graphwindow.py", line 669, in export
    GraceExporter(opts).export(outfile, mode=mode)
  File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/io/exporters.py", line 55, in export
    sc = item['symbolcolor']
KeyError: 'symbolcolor'

Anything else?

No response

### Current behavior trying to export the data from the attached .nmr (renamed ending for gitea) session does not export the data. Error Log has a message about symbol colors. Changing the symbol color does not help. ### Version 2024-01-031 ### Expected behavior _No response_ ### Steps to reproduce 1. select graph 2. ctrl+shift+s 3. chose existing .agr file 4. nothing happens, ErrorLog has a new message ### Log messages ```shell 05/02/2024 11:09:33 - ERROR - root : Uncaught exception: Traceback (most recent call last): File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/main/mainwindow.py", line 317, in export_graphic self.current_graph_widget.export_dialog() File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/graphs/graphwindow.py", line 643, in export_dialog self.export(outfile) File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/graphs/graphwindow.py", line 669, in export GraceExporter(opts).export(outfile, mode=mode) File "/tmp/.mount_NMRevaGNblqb/usr/src/gui_qt/io/exporters.py", line 55, in export sc = item['symbolcolor'] KeyError: 'symbolcolor' ``` ### Anything else? _No response_
saeckech added the
Kind/Bug
label 2024-02-05 10:21:39 +00:00
Author
Member

Found the error myself: one dataset is empty.

Found the error myself: one dataset is empty.
dominik added the
Priority
Low
Type/General
labels 2024-02-05 10:42:30 +00:00
dominik added this to the Bug tracker project 2024-02-05 10:42:33 +00:00
dominik self-assigned this 2024-02-05 10:42:35 +00:00
dominik reopened this issue 2024-02-05 10:42:40 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IPKM/nmreval#233
No description provided.