Ticket #3567 (closed defect: fixed)

Opened 13 months ago

Last modified 12 months ago

Error at exit

Reported by: m_gol Owned by: asterix
Priority: normal Milestone: 0.11.4
Component: None Version: 0.11.4
Severity: normal Keywords:
Cc: OS: Windows

Description

I got here at exit (I had opened roster window and one conversation window):

E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: gdk_property_delete: assertion `window != NULL' failed
E:\Program Files\Gajim\src\library.zip\systray.py:239: Warning: g_main_context_prepare(): main loop already active in another thread
E:\Program Files\Gajim\src\library.zip\systray.py:285: Warning: g_main_context_prepare(): main loop already active in another thread
E:\Program Files\Gajim\src\gajim.exe:2279: Warning: g_main_context_prepare(): main loop already active in another thread
Traceback (most recent call last):
  File "roster_window.pyc", line 4343, in _on_treeview_selection_changed
IndexError: could not find tree path
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method am_et should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method cyrillic_translit should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method inuktitut should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method ipa should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method thai_broken should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method ti_er should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method ti_et should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method viqr should not use GTK's translation domain gtk20

Attachments

Change History

Changed 13 months ago by m_gol

I deleted a profile & reinstalled Gajim and now it's ok. I'll check in some time if it repeats.

Changed 13 months ago by steve-e

  • keywords unreproducable added

Changed 13 months ago by asterix

I think it's a GTK bug, cause in Gajim we don't use threads, so th thread the Warning talk about can only be GTK threads ... I don't know how GTK works internaly ...

Changed 13 months ago by asterix

could you try to uninstall Gajim, remove completly c:\program files\Gajim, and re-install it?

Changed 12 months ago by m_gol

I did it and errors dissapeared. But only for a while. Next time I run Gajim, after exit I got the following (in gajim.exe.log):

E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: gdk_property_delete: assertion `window != NULL' failed
E:\Program Files\Gajim\src\library.zip\systray.py:285: Warning: g_main_context_prepare(): main loop already active in another thread
E:\Program Files\Gajim\src\library.zip\message_window.py:212: Warning: g_main_context_prepare(): main loop already active in another thread
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method am_et should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method cyrillic_translit should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method inuktitut should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method ipa should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method thai_broken should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method ti_er should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method ti_et should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: Input method viqr should not use GTK's translation domain gtk20
E:\Program Files\Gajim\src\library.zip\gtkgui_helpers.py:54: GtkWarning: Nie można odnaleźć modułu obsługującego motyw w module_path: "metal",
E:\Program Files\Gajim\src\library.zip\gtkgui_helpers.py:54: GtkWarning: Nie można odnaleźć modułu obsługującego motyw w module_path: "redmond95",
E:\Program Files\Gajim\src\library.zip\systray.py:239: Warning: g_main_context_prepare() called recursively from within a source's check() or prepare() member.
E:\Program Files\Gajim\src\library.zip\systray.py:239: Warning: g_main_context_check() called recursively from within a source's check() or prepare() member.
E:\Program Files\Gajim\src\library.zip\systray.py:239: Warning: g_main_context_prepare(): main loop already active in another thread
Traceback (most recent call last):
  File "roster_window.pyc", line 4171, in drag_data_received_data
  File "common\helpers.pyc", line 485, in get_file_path_from_dnd_dropped_uri
  File "nturl2path.pyc", line 26, in url2pathname
IOError: Bad URL: file|///C|/autorun/Elements.ico
E:\Program Files\Gajim\src\gajim.exe:2279: GtkWarning: gdk_property_delete: assertion `window != NULL' failed
E:\Program Files\Gajim\src\gajim.exe:2052: Warning: g_main_context_prepare(): main loop already active in another thread

There is some TB among all the GTK errors and warnings, maybe it's going to tell You sth... What does drag_data_received_data do? At Windows drag&drop choosing files to send doesn't work at all, so the name seems strange...

Changed 12 months ago by asterix

  • keywords unreproducable removed

I can reproduce the "main loop already active in another thread" problem, but I don't understand it. In installer of 0.11.2 it doesn't apprear, but in svn snapshot of this release (so same Gajim code) it appears. So we could think it's not a Gajim bug, but I use exactly the same GTK / PyGTK version ! So what's causing that ... No idea ...

the only thing I can say is that it happens when I click on systray icon when I have a new message.

Changed 12 months ago by asterix

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

(In [9056]) call left_click handler of statusicon in main loop with idle_add. fixes #3567

Changed 12 months ago by asterix

(In [9057]) call left_click handler of statusicon in main loop with idle_add. fixes #3567

Changed 12 months ago by asterix

  • milestone changed from 0.12 to 0.11.4

Changed 12 months ago by m_gol

  • status changed from closed to reopened
  • version changed from 0.11.3 to 0.11.4
  • resolution fixed deleted
  • milestone 0.11.4 deleted

After updating to 0.11.4 with new GTK installer, I got this at exit:

C:\Program Files\Gajim\src\gajim.exe:2284: Warning: invalid cast from `GtkTreeView' to `GtkMenuItem'
C:\Program Files\Gajim\src\library.zip\gtkgui_helpers.py:54: GtkWarning: gtk_widget_queue_resize: assertion `GTK_IS_WIDGET (widget)' failed
C:\Program Files\Gajim\src\gajim.exe:2284: GtkWarning: gdk_property_delete: assertion `window != NULL' failed

It looks similar, especially this assertion error... Is it up to GTK? It is very buggy in Windows...

Changed 12 months ago by m_gol

I tried and I get this error only when I open a group chat; when I just run Gajim, wait for connection and then exit after several seconds, nothing wrong happens.

But now I only get the second line:

C:\Program Files\Gajim\src\library.zip\gtkgui_helpers.py:54: GtkWarning: gtk_widget_queue_resize: assertion `GTK_IS_WIDGET (widget)' failed

Changed 12 months ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone set to 0.11.4

this one is a dup of #3617

Add/Change #3567 (Error at exit)

Author



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