Ticket #2495 (closed defect: fixed)

Opened 2 years ago

Last modified 12 months ago

gpg-crypted messages show as empty

Reported by: jim++ Owned by: asterix
Priority: normal Milestone: 0.12
Component: None Version: 0.11.2
Severity: normal Keywords:
Cc: OS: All

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

Attachments

Change History

Changed 2 years ago by nk

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

interesting

Changed 2 years ago by jim++

  • status changed from new to closed
  • resolution set to fixed

No problem with svn.

Changed 12 months ago by computix@…

  • status changed from closed to reopened
  • resolution fixed deleted
  • version changed from 0.10.1 to 0.11.2
  • os set to All

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

Changed 12 months ago by computix

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

Changed 12 months ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone changed from 0.11 to 0.12

that should be fixed in [9093]

Add/Change #2495 (gpg-crypted messages show as empty)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.