Gajim crashes while connecting to server when MAM history is recieved
Gajim crashes while connecting to server when MAM history is recieved.
Gajim spawns multiple error popups with the following message:
Traceback (most recent call last): File "c:\python27\lib\site-packages\nbxmpp\dispatcher_nb.py", line 497, in dispatch File "src\common\connection_handlers.py", line 1796, in _messageCB File "src\common\nec.py", line 76, in push_incoming_event File "src\common\nec.py", line 98, in _generate_events_based_on_incoming_event File "src\common\connection_handlers_events.py", line 1143, in generate File "src\common\logger.py", line 1123, in save_if_not_exists UnboundLocalError: local variable 'type_' referenced before assignment
After all errors dialogs are quitted client is unusable.
Trying to send ad-hoc commands, or simply querying user info for a contact re-triggers the error dialogs.
Connecting with a user that hasn't enabled archiving works fine.
Steps to reproduce
Enable archiving for user. Connect with a client that has part or none of the history.
OS version: Windows 7 SP1 x64
GTK version: 2.24.10
PyGTK version: 2.24.0
Prosody: 0.10 8b4c8e957211