Skip to content

Drag and drop multiple items from clipboard doesnt work and creates error. #246

@TheMihle

Description

@TheMihle

I first to say I love the drag and drop functionality of this plugin that you dont have to open the edit windows. (I like it a lot in general)

When you drag and drop from clipboard to the edit window, Gramps allow you to drag and drop multiple things at once from clipboard by selecting multiple before dragging. In Cardview, when I try to do that on top of a card, I get this error and it doesnt work;

1251405: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
  File "C:\Users\Mihle\AppData\Roaming\gramps\gramps52\plugins\CardView\src\view\cards\card_object.py", line 217, in drag_data_received
    dnd_type, obj_id, obj_or_handle, dummy_var1 = pickle.loads(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions