Opened 10 years ago

Closed 5 years ago

#2495 closed defect (fixed)

gpg-crypted messages show as empty

Reported by: jim++ Owned by: asterix
Priority: normal Milestone: 0.15
Component: None Version: 0.11.2
Severity: normal Keywords: Gajim Fail
Cc: Blocked By:
Blocking: OS: Unix

Description

Elginn reported to me that messages that contains accentuated (french) characters are not showed correctly. He sees only

[time] nick:

He can see message is received correctly (encrypted) in XML Console. He uses 0.10.1. Didn't test myself.

02:57:53 Elghinn: /usr/share/gajim/src/conversation_textview.py:683: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
  buffer.insert_with_tags_by_name(end_iter, text[index:], *text_tags)
02:58:04 Elghinn: /usr/share/gajim/src/conversation_textview.py:464: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
  text_before_special_text, *other_tags)

http://persocom.no-ip.org/~pibu/img/screenshots/2006-10-05_17:38:49.png

Change History (7)

comment:1 Changed 10 years ago by nk

GTK complains about non-UTF-8 data. if he can repro in svn that's

interesting

comment:2 Changed 10 years ago by jim++

  • Resolution set to fixed
  • Status changed from new to closed

No problem with svn.

comment:3 Changed 8 years ago by computix@…

  • OS set to All
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 0.10.1 to 0.11.2

I still have this problem with gajim 0.11.2.

First time i receive an encrypted message, i see this output on the commandline:

/usr/share/gajim/src/conversation_textview.py:826: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
  buffer.insert_with_tags_by_name(end_iter, text[index:], *text_tags)

It is followed by this information:

Traceback (most recent call last):
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events
    obj.pollin()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 153, in pollin
    self._do_receive() 
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 255, in _do_receive
    self.on_receive(received)
  File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 353, in dispatch
    handler['func'](session,stanza)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1541, in _messageCB
    subject, chatstate, msg_id, composing_xep, user_nick, msghtml))
  File "/usr/share/gajim/src/common/connection.py", line 109, in dispatch
    self.put_event((event, data))
  File "/usr/share/gajim/src/common/connection.py", line 105, in put_event
    gajim.handlers[ev[0]](self.name, ev[1])
  File "gajim.py", line 737, in handle_event_msg
    self.remote_ctrl.raise_signal('NewMessage', (account, array))
  File "/usr/share/gajim/src/remote_control.py", line 94, in raise_signal
    getattr(self.signal_object, signal)(get_dbus_struct(arg))
  File "/usr/lib/python2.5/site-packages/dbus/decorators.py", line 305, in emit_signal
    message.append(signature=signature, *args)
TypeError: expected string without null bytes

comment:4 Changed 8 years ago by computix

I have just seen, it does show the message text of the encrypted messages in the history-dialog.

comment:5 Changed 8 years ago by asterix

  • Milestone changed from 0.11 to 0.12
  • Resolution set to fixed
  • Status changed from reopened to closed

comment:6 follow-up: Changed 5 years ago by Stereodinamik

  • Keywords Gajim Fail added
  • Milestone changed from 0.12 to 0.15
  • OS changed from All to Unix
  • Status changed from closed to needinfo

When Gajim starts, i receive such message in my console

/usr/share/gajim/src/common/passwords.py:108: UserWarning: multiple gnome keyring items found for account jabber.ru; trying to use the first one...
  % account_name)
/usr/share/gajim/src/groupchat_control.py:1808: GtkWarning: gtk_tree_view_expand_row: assertion `tree_view->priv->model != NULL' failed
  self.list_treeview.expand_row((self.model.get_path(role_iter)), False)
/usr/share/gajim/src/conversation_textview.py:1033: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
  insert_tags_func(end_iter, otext[index:], *other_tags)

After that it fail. What can i do whith it? OS - Debian 6.02, gajim 0.15 alfa.

comment:7 in reply to: ↑ 6 Changed 5 years ago by Dicson

  • Status changed from needinfo to closed

Replying to Stereodinamik:

When Gajim starts, i receive such message in my console

/usr/share/gajim/src/common/passwords.py:108: UserWarning: multiple gnome keyring items  What can i do whith it? OS - Debian 6.02, gajim 0.15 alfa.

see #6974. This is not gpg-crypted message

Last edited 5 years ago by Dicson (previous) (diff)
Note: See TracTickets for help on using tickets.