[BUG] dataset properties do not show #240

Closed
opened 2024-02-10 16:42:12 +00:00 by saeckech · 0 comments
Member

Current behavior

selecting a set in the data tree and expanding the Properties section does not show the properties, but looks like it does when no set is selected.

Version

2024-02-07

Expected behavior

No response

Steps to reproduce

No response

Log messages

10/02/2024 17:43:15 - ERROR - root : Uncaught exception:
Traceback (most recent call last):
File "/tmp/.mount_NMRevarj0uKE/usr/src/gui_qt/data/datawidget/datawidget.py", line 613, in set_properties
self.proptable.populate(props)
File "/tmp/.mount_NMRevarj0uKE/usr/src/gui_qt/data/datawidget/properties.py", line 29, in populate
table.populate(v)
File "/tmp/.mount_NMRevarj0uKE/usr/src/gui_qt/data/datawidget/properties.py", line 69, in populate
value_item.setData(QtCore.Qt.ItemDataRoleDisplayRole, v)
AttributeError: type object 'Qt' has no attribute 'ItemDataRoleDisplayRole'

Anything else?

No response

### Current behavior selecting a set in the data tree and expanding the Properties section does not show the properties, but looks like it does when no set is selected. ### Version 2024-02-07 ### Expected behavior _No response_ ### Steps to reproduce _No response_ ### Log messages 10/02/2024 17:43:15 - ERROR - root : Uncaught exception: Traceback (most recent call last): File "/tmp/.mount_NMRevarj0uKE/usr/src/gui_qt/data/datawidget/datawidget.py", line 613, in set_properties self.proptable.populate(props) File "/tmp/.mount_NMRevarj0uKE/usr/src/gui_qt/data/datawidget/properties.py", line 29, in populate table.populate(v) File "/tmp/.mount_NMRevarj0uKE/usr/src/gui_qt/data/datawidget/properties.py", line 69, in populate value_item.setData(QtCore.Qt.ItemDataRoleDisplayRole, v) AttributeError: type object 'Qt' has no attribute 'ItemDataRoleDisplayRole' ### Anything else? _No response_
saeckech added the
Kind/Bug
label 2024-02-10 16:42:12 +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#240
No description provided.