Opened 6 years ago

Closed 6 years ago

#5598 closed defect (duplicate)

Error when reciving message

Reported by: zimio Owned by:
Priority: normal Milestone:
Component: None Version: hg
Severity: critical Keywords:
Cc: Blocked By:
Blocking: OS: Unix

Description

Bug description

I got an error message when a friend of mine sent me a new message.

Steps to reproduce

It happens to me every time I run gajim and I attempt to read that message, then I quit gajim and when I started it again there's the same unread message and i always get the same error.

TraceBack? call

Traceback (most recent call last):

File "/home/zimio/workspace/Gajim/src/src/statusicon.py", line 113, in on_status_icon_left_clicked

self.on_left_click()

File "/home/zimio/workspace/Gajim/src/src/statusicon.py", line 387, in on_left_click

self.handle_first_event()

File "/home/zimio/workspace/Gajim/src/src/statusicon.py", line 393, in handle_first_event

gajim.interface.handle_event(account, jid, event.type_)

File "/home/zimio/workspace/Gajim/src/src/gui_interface.py", line 2209, in handle_event

session=session)

File "/home/zimio/workspace/Gajim/src/src/gui_interface.py", line 2698, in new_chat

chat_control.read_queue()

File "/home/zimio/workspace/Gajim/src/src/chat_control.py", line 2666, in read_queue

encrypted = data[4], subject = data[1], xhtml = data[7])

File "/home/zimio/workspace/Gajim/src/src/chat_control.py", line 2218, in print_conversation

simple=simple, xep0184_id=xep0184_id)

File "/home/zimio/workspace/Gajim/src/src/chat_control.py", line 778, in print_conversation_line

subject, old_kind, xhtml, simple=simple, graphics=graphics)

File "/home/zimio/workspace/Gajim/src/src/conversation_textview.py", line 1261, in print_conversation_line

self.print_real_text(text, text_tags, name, xhtml, graphics=graphics)

File "/home/zimio/workspace/Gajim/src/src/conversation_textview.py", line 1350, in print_real_text

self.detect_and_print_special_text(text, text_tags, graphics=graphics)

File "/home/zimio/workspace/Gajim/src/src/conversation_textview.py", line 1001, in detect_and_print_special_text

iterator = gajim.interface.emot_and_basic_re.finditer(otext)

AttributeError?: 'NoneType?' object has no attribute 'finditer'

Change History (1)

comment:1 Changed 6 years ago by asterix

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

dup of #5596.

hg users, please use search function before reporting a bug.

Note: See TracTickets for help on using tickets.