Seg fault when trying to run timekpr-gui

Bug #510844 reported by kieran_spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
timekpr
Invalid
Undecided
Even Nedberg

Bug Description

Please keep in mind: I am only about two steps higher than a bumbling idiot when it comes to Linux, so it may very well be that I am doing something quite wrong. That being said - I installed Timekpr from Synaptic Package Manager. Since I was unable to find any way to open it from the 'Applications' menu, I went in to terminal as root, browsed the manager, and saw the timekpr-gui option.

When I tried 'timekpr-gui', here was the result:
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: invalid (NULL) pointer instance
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_get_pixel_extents: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_context_get_language: assertion `context != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_context_get_metrics: assertion `PANGO_IS_CONTEXT (context)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_font_metrics_get_ascent: assertion `metrics != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_font_metrics_get_descent: assertion `metrics != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Invalid icon size 4

  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-dialog-authentication' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: /build/buildd/gtk+2.0-2.18.3/gtk/gtkstyle.c:2318: invalid icon size '4'
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gtk_style_render_icon: assertion `pixbuf != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-clear' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: Warning: g_error_free: assertion `error != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-missing-image' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-refresh' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-add' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_font_metrics_get_approximate_digit_width: assertion `metrics != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-strikethrough' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-justify-fill' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: Error loading theme icon 'gtk-indent-ltr' for stock:
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_layout_get_context: assertion `layout != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: PangoWarning: pango_font_metrics_get_approximate_char_width: assertion `metrics != NULL' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
/usr/share/python-support/timekpr/timekpr-gui.py:97: GtkWarning: get_monitor: assertion `GDK_IS_SCREEN (screen)' failed
  self.wTree = gtk.glade.XML(gladefile, 'mainwindow', APP_NAME)
Segmentation fault

Revision history for this message
kieran_spencer (kieran-spencer) wrote :
Revision history for this message
kieran_spencer (kieran-spencer) wrote :
Revision history for this message
kieran_spencer (kieran-spencer) wrote :
Revision history for this message
Savvas Radevic (medigeek) wrote :

Hi kieran, which Ubuntu release are you using? Are you using KDE or Gnome or some other desktop manager?
Try log out and log back in, the menu should be System -> Administration -> Timekpr

Otherwise, try executing this in terminal: gksu timekpr-gui

Revision history for this message
Even Nedberg (nedberg) wrote :

The Admin panel should be under System->Administration->Timekpr Control Panel

Don't use root! Never! Use sudo (or gksu) instead, it is the "Ubuntu way"...

If you can't start Timekpr Control Panel from the menu, press Alt-F2 and run 'gksu timekpr-gui' (without ''). Also reboot your computer just in case (at least log out and in again).

From your logs I can see that timekpr is running just fine!

Revision history for this message
kieran_spencer (kieran-spencer) wrote :

Savvas - I'm using Karmic. I don't believe I'm using some other desktop manager than the standard. I was agble to find the timekepr control panel at the place you pointed - I can't believe I didn't check there! (I was only looking in the Applications menu...)

Even - I was able to start Timekpr Control Panel from the menu, but thanks for the tip - I'll read up more on sudo and gksu.
I hope to one day be a Jedi Master of the 'Ubuntu way' :)

Everything is now working fine, and I was able to set up the time limits for all the kids' accounts.

Many thanks for making this (hopefully very) useful tool.

Even Nedberg (nedberg)
Changed in timekpr:
assignee: nobody → Even Nedberg (nedberg)
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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