Description of problem: dropping url from Firefox into the terminator window Version-Release number of selected component: terminator-2.1.3-1.fc38 Additional info: reporter: libreport-2.17.10 kernel: 6.3.5-200.fc38.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/terminator cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-terminator-20970.scope uid: 1000 reason: terminal.py:1697:feed:AttributeError: 'bytes' object has no attribute 'encode' executable: /usr/bin/terminator type: Python3 package: terminator-2.1.3-1.fc38 runlevel: N 5 exception_type: AttributeError crash_function: feed interpreter: python3-3.11.3-2.fc38.x86_64 comment: dropping url from Firefox into the terminator window Truncated backtrace: terminal.py:1697:feed:AttributeError: 'bytes' object has no attribute 'encode' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/terminatorlib/terminal.py", line 1264, in on_drag_data_received term.feed(txt.encode()) File "/usr/lib/python3.11/site-packages/terminatorlib/terminal.py", line 1697, in feed self.vte.feed_child(text.encode()) ^^^^^^^^^^^ AttributeError: 'bytes' object has no attribute 'encode' Local variables in innermost frame: self: <terminal.Terminal object at 0x7fc19799ef00 (terminatorlib+terminal+Terminal at 0x556220177950)> text: b'file:///home/gael/T%C3%A9l%C3%A9chargements/manifest(1).m3u8' Potential duplicate: bug 2180891
Created attachment 1971661 [details] File: os_info
Created attachment 1971662 [details] File: environ
Created attachment 1971663 [details] File: mountinfo
Created attachment 1971664 [details] File: open_fds
Created attachment 1971665 [details] File: namespaces
Created attachment 1971666 [details] File: backtrace
Created attachment 1971667 [details] File: cpuinfo
Crash happens while dragging an icon to the terminal. Upstream is already fixed. reporter: libreport-2.17.10 kernel: 6.3.8-200.fc38.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/terminator --layout=ReD cgroup: 0::/user.slice/user-1000.slice/session-2.scope uid: 1000 reason: terminal.py:1697:feed:AttributeError: 'bytes' object has no attribute 'encode' executable: /usr/bin/terminator type: Python3 package: terminator-2.1.3-1.fc38 runlevel: N 5 exception_type: AttributeError crash_function: feed interpreter: python3-3.11.4-1.fc38.x86_64
Crash happens while dragging an icon to the terminal. Upstream is already fixed. The following is a very quick workaround while waiting for the upstream mods to trickle in: $ sudo sed -i 's/self.vte.feed_child(text.encode())/self.vte.feed_child(text)/' /usr/lib/python3.11/site-packages/terminatorlib/terminal.p reporter: libreport-2.17.11 kernel: 6.3.8-200.fc38.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/terminator --layout=ReD cgroup: 0::/user.slice/user-1000.slice/session-2.scope uid: 1000 reason: terminal.py:1697:feed:AttributeError: 'bytes' object has no attribute 'encode' executable: /usr/bin/terminator type: Python3 package: terminator-2.1.3-1.fc38 runlevel: N 5 exception_type: AttributeError crash_function: feed interpreter: python3-3.11.4-1.fc38.x86_64