Menu

#1660 TC on kubuntu 18.04 not starting / does not show any window

closed
None
linux
2026-01-20
2018-05-02
No

On kubuntu 18.04 64 Bit taskcoach does not work.
It will start but does not show any window.

Errormessages on console when starting taskcoach in terminal:
/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

Taskcoach installed from ubuntu repository
Version: 1.4.3-6

Discussion

  • Christian Perreault

    +1 (I also face this bug on Ubuntu 18.04) (#1661 seems to be a duplicate of this issue.)

     

    Last edit: Christian Perreault 2018-05-03
  • Torsten Kelsch

    Torsten Kelsch - 2018-05-13

    I also experience this bug, but on Xubuntu 18.04., with the same messages that the thread starter posted.

     
  • Torsten Kelsch

    Torsten Kelsch - 2018-05-14

    I followed the instructions on https://wiki.ubuntuusers.de/patch/, but I must have done something wrong, as it does not work for me:

    sudo patch /usr/bin/taskcoach < taskcoach_gtk3_v3.patch
    patching file /usr/bin/taskcoach
    Hunk #1 FAILED at 25.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/bin/taskcoach.rej
    patching file /usr/bin/taskcoach
    Hunk #1 FAILED at 27.
    Hunk #2 FAILED at 46.
    2 out of 2 hunks FAILED -- saving rejects to file /usr/bin/taskcoach.rej
    patching file /usr/bin/taskcoach
    Hunk #1 FAILED at 29.
    Hunk #2 FAILED at 225.
    2 out of 2 hunks FAILED -- saving rejects to file /usr/bin/taskcoach.rej
    patching file /usr/bin/taskcoach
    Hunk #1 FAILED at 902.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/bin/taskcoach.rej

    Related
    Bugs: #1661

     

    Last edit: Torsten Kelsch 2018-05-14
  • Andreas Helmcke

    Andreas Helmcke - 2018-05-15

    try:
    sudo patch -p0 -i /PATH-TO-PATCHFILE/taskcoach_gtk3_v3.patch -d /usr/lib/python2.7/dist-packages

     
  • Torsten Kelsch

    Torsten Kelsch - 2018-05-15

    Thanks, Andreas, that did the trick! Wonderful to have a working Task Coach again!

     
  • Torsten Kelsch

    Torsten Kelsch - 2018-05-16

    While finishing the program, the following error message appears:

    /usr/lib/python2.7/dist-packages/taskcoachlib/notify/notifier_libnotify.py:31: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
    import gi.repository.Notify

    What is that notifier, and is it possible to disable it, and if it is, how can I do it? Anyway, I haven’t seen this message in all the years I’ve been using Task Coach, so I think it must have something to do with the patch. Any ideas? Thanks in advance.

     
  • Christian Perreault

    Hi! Thanks Andreas, that did the trick for me too!
    Concerning the previous mentionned warning, that turns into an error alert when closing the application, I created a patch that fixed it on my side. I attach it to this comment and the command to apply it is:

    sudo patch -p0 -i /PATH-TO-PATCHFILE/warning_gi_libnotify.patch -d /usr/lib/python2.7/dist-packages
    
     
    • Torsten Kelsch

      Torsten Kelsch - 2018-05-30

      Thanks, Christian, it works!

       
    • Paul McKimmy

      Paul McKimmy - 2018-06-12

      +1, applied both patchfiles and appreciate your assistance!!

       
  • Sjef

    Sjef - 2018-08-19

    Had to patch my TaskCoach too. Just a question: will there be a new version shortly, one that doesn't require these patches?

     
    • Wolfgang Helm

      Wolfgang Helm - 2018-11-09

      I would like to know that, too, because neither the patch nor de- and reinstalling helped me.

       
      • Wolfgang Helm

        Wolfgang Helm - 2018-11-11

        ...oh, it works again - don't know why. Maybe some automatic update...

         
  • Aaron Wolf

    Aaron Wolf - 2018-12-06
    • status: open --> fixed
    • assigned_to: Aaron Wolf
     
  • Aaron Wolf

    Aaron Wolf - 2018-12-06

    We just released 1.4.4 please help us verify that it works now without any extra patching. Cheers

     
  • Sjef

    Sjef - 2018-12-06

    Upgraded. No patch required here (yet ;-). Thanks!!

     
  • Aaron Wolf

    Aaron Wolf - 2018-12-06
    • status: fixed --> closed
     
  • Torsten Kelsch

    Torsten Kelsch - 2018-12-06

    Seems to work fine on Xubuntu 18.10 (64 bit).

     

Log in to post a comment.

MongoDB Logo MongoDB