Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

RuntimeError and TypeError (automated bug report, cause unclear) #23

Description

@smathot

This error came in as an automated bug report:

Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\QOpenScienceFramework\widgets\projecttree.py", line 427, in get_node_data
    return node.data(idx, QtCore.Qt.UserRole)
RuntimeError: wrapped C/C++ object of type QTreeWidgetItem has been deleted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\QOpenScienceFramework\manager.py", line 396, in <lambda>
    callback, *args, **kwargs
  File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\QOpenScienceFramework\manager.py", line 824, in __reply_finished
    errorCallback(reply, *args, **kwargs)
  File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\QOpenScienceFramework\widgets\projecttree.py", line 163, in __cleanup_reply
    nodeStatus = self.get_node_data(args[0], 1)
  File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\QOpenScienceFramework\widgets\projecttree.py", line 430, in get_node_data
    ' deleted', e)
TypeError: category must be a Warning subclass, not 'RuntimeError'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions