Project

Profile

Help

Bug #106

closed

[Linux] CocoMUD crashes when pasting text

Added by Vincent Le Goff over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Category:
User interface
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

When pasting in the CocoMUD main window (using CTRL + V or another strategy), the following error occurs:

Traceback (most recent call last):
  File "/home/vincent/src/cocomud/src/ui/window.py", line 649, in OnPaste
    success = wx.TheClipboard.GetData(clipboard)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_misc.py", line 5855, in GetData
    return _misc_.Clipboard_GetData(*args, **kwargs)
PyAssertionError: C++ assertion "m_open" failed at ../src/gtk/clipbrd.cpp(688) in GetData(): clipboard not open

This error doesn't occur in Windows, although the behavior remains a bit unreliable.

Actions #1

Updated by Vincent Le Goff about 7 years ago

  • Sprint/Milestone set to 14
Actions #2

Updated by Vincent Le Goff about 7 years ago

  • Status changed from Open to Feedback
  • Assignee set to Vincent Le Goff
  • % Done changed from 0 to 90

Attempted fixing in commit f378d95f98dcbd98941b180caf55dd255ee588fe, need feedback.

Actions #3

Updated by Vincent Le Goff about 7 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

This was tested under Linux. The suggested fix is good. Even on Windows, the clipboard is now more stable.

Please register to edit this issue

Also available in: Atom PDF Tracking page