Skip to content

AttributeError: 'SelectionData' object has no attribute 'target' #43

@quozl

Description

@quozl

Seen in a contributor's Log on Ubuntu 24.04.1 with Sugar 0.121

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sugar3/graphics/colorbutton.py", line 246, in __drag_data_get_cb
    selection_data.set(selection_data.target, 16, data)
                       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SelectionData' object has no attribute 'target'
Normal successful completion, pid 2928 activity_id d59235ba315e7d8f5956b158b1ea26dd915e6ee5

Means an action to drag data did fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions