Taskcoach fails to launch if GTK2 is installed

Bug #1769701 reported by Gary Moon
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
taskcoach (Debian)
Fix Released
Unknown
taskcoach (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am experiencing the same bug detailed at https://bugzilla.redhat.com/show_bug.cgi?id=1187849, but on Ubuntu Bionic. Applying the patch attached to the bug report to my installed copy (adjusting for filenames) fixes the issue, and taskcoach runs as expected.

Release:
Description: Ubuntu 18.04 LTS
Release: 18.04

Package:
taskcoach:
  Installed: 1.4.3-6
  Candidate: 1.4.3-6
  Version table:
 *** 1.4.3-6 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

The errors I was seeing (at the end of which it would hang with no UI):

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_set_qdata: assertion 'node != NULL' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type 'GtkWidget'
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type 'GtkBuildable'
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_once_init_leave: assertion 'result != 0' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_register_static: assertion 'parent_type > 0' failed
  from gtk import _gtk

Gary Moon (garymoon)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in taskcoach (Ubuntu):
status: New → Confirmed
Revision history for this message
Lutchy Horace (lhprojects) (lhprojects) wrote :

This issue was reported in 2015 upstream and nothing has been done about it. See https://sourceforge.net/p/taskcoach/bugs/1593/. Right now, this package is broken.

Revision history for this message
Lutchy Horace (lhprojects) (lhprojects) wrote :

Addendum, see https://sourceforge.net/p/taskcoach/bugs/1661/, the bug has been assigned and hopefully the fix(es) are implemented by next release!

Additionally, see https://sourceforge.net/p/taskcoach/bugs/1660/.

Revision history for this message
Little Girl (littlergirl) wrote :

I'm also having this bug in Ubuntu MATE 18.04 LTS. It's been fixed upstream in version 1.4.4, so there should be a good copy of it that could be grabbed and added to Ubuntu's repository.

Revision history for this message
Little Girl (littlergirl) wrote :

Here's my output when taskcoach is run on the command line:

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_set_qdata: assertion 'node != NULL' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type 'GtkWidget'
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type 'GtkBuildable'
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_once_init_leave: assertion 'result != 0' failed
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_register_static: assertion 'parent_type > 0' failed
  from gtk import _gtk

Changed in taskcoach (Debian):
status: Unknown → Fix Released
Revision history for this message
Little Girl (littlergirl) wrote :

Thank you very much. Will this fix be backported for the Ubuntu LTS?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.