Comment 54 for bug 1662544

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

New python3 bug (reincarnation of bug #1518705):

Drag-n-drop a link from Firefox. Gives this error:

    Traceback (most recent call last):
      File "/home/egmont/src/terminator-py3/terminatorlib/terminal.py", line 1102, in on_drag_data_received
        txt = txt.split('\n')[0]
    TypeError: a bytes-like object is required, not 'str'

Drag-n-drop a file from Nautilus. Gives this error:

    Traceback (most recent call last):
      File "/home/egmont/src/terminator-py3/terminatorlib/terminal.py", line 1104, in on_drag_data_received
        txt_lines = txt.split( "\r\n" )
    TypeError: a bytes-like object is required, not 'str'