Crash during closing a 1:1 chat Windows
Hi, When I want to Close a 1:1 Chat windows I see following error. I'm not really sure, but I think it started when I enabled "Message Box Size" Plugin. Closing a Group Chat Window works without issues. (XMPP Protocol)
Versions
- OS: Ubuntu 20.04.1 LTS
- GTK Version: 3.24.20
- PyGObject Version: 3.36.0
- GLib Version : 2.64.2
- python-nbxmpp Version: 1.0.2
- Gajim Version: 1.2.91
Traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/gajim/message_window.py", line 231, in _on_action
self.remove_tab(control, self.CLOSE_ESC)
File "/usr/local/lib/python3.8/dist-packages/gajim/message_window.py", line 612, in remove_tab
ctrl.allow_shutdown(method, on_yes, on_no, on_minimize)
File "/usr/local/lib/python3.8/dist-packages/gajim/chat_control.py", line 1143, in allow_shutdown
on_yes(self)
File "/usr/local/lib/python3.8/dist-packages/gajim/message_window.py", line 596, in on_yes
close(ctrl)
File "/usr/local/lib/python3.8/dist-packages/gajim/message_window.py", line 590, in close
ctrl.shutdown()
File "/usr/local/lib/python3.8/dist-packages/gajim/chat_control.py", line 1108, in shutdown
super(ChatControl, self).shutdown()
File "/usr/local/lib/python3.8/dist-packages/gajim/chat_control_base.py", line 670, in shutdown
app.plugin_manager.remove_gui_extension_point('chat_control_base', self)
File "/usr/local/lib/python3.8/dist-packages/gajim/plugins/pluginmanager.py", line 443, in remove_gui_extension_point
disconnect_handler(args[0])
File "/home/raver/.local/share/gajim/plugins/message_box_size/msg_box_size.py", line 25, in _on_disconnect_chat_control
control.msg_textview.set_size_request(-1, -1)
AttributeError: 'ChatControl' object has no attribute 'msg_textview'
Steps to reproduce the problem
- Open Gajim Roster
- Enable "Message Windows Size" Plugin
- Open a 1:1 XMPP Chat
- Close the Chat window