LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-29-2012, 09:10 AM   #1
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 718

Rep: Reputation: 102Reputation: 102
Angry System-Config-Printer -- > GTK /Segmentation Fault


have been tring to run System-Config-Pringter (common) to set up my Cannon MP560 printer. I have Cups , ghostscripts, lib32-cnijfilter-mp560 installed as well but I get the error below. I have done multiple searches and reviewed the wiki pages and I appear to have the correct dependencies insItalled. Any ideas ?

I am running Openbox on Arch Linux.


Thanks in advance for your help.


Code:
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/share/system-config-printer/gui.py:41: Warning: invalid (NULL) pointer instance
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/system-config-printer.py:299: Warning: invalid (NULL) pointer instance
  newmenu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:299: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  newmenu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:301: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:301: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:301: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:303: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  newclassitem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:303: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  newclassitem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:303: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  newclassitem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:317: Warning: invalid (NULL) pointer instance
  server_context_menu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:317: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  server_context_menu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:332: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:332: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:332: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:325: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  item = gtk.MenuItem (_("_New"))
/usr/share/system-config-printer/system-config-printer.py:325: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  item = gtk.MenuItem (_("_New"))
/usr/share/system-config-printer/system-config-printer.py:337: Warning: invalid (NULL) pointer instance
  new_menu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:337: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  new_menu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:341: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:341: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:341: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:346: Warning: invalid (NULL) pointer instance
  self.printer_context_menu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:346: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.printer_context_menu = gtk.Menu ()
/usr/share/system-config-printer/system-config-printer.py:362: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:362: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  item = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:362: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  item = action.create_menu_item ()
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: Invalid icon size 1

  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: Error loading theme icon 'edit-find' for stock: 
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: gtkstyle.c:2358: invalid icon size '1'
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: Error loading theme icon 'text-x-generic' for stock: 
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gtk_icon_theme_lookup_by_gicon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT (layout)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: PangoWarning: pango_layout_get_pixel_extents: assertion `PANGO_IS_LAYOUT (layout)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
/usr/share/system-config-printer/gui.py:41: GtkWarning: IA__gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  bld.add_from_file (os.path.join (ui_dir, xmlfile + ".ui"))
Segmentation fault (core dumped)
 
Old 12-29-2012, 12:01 PM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,955

Rep: Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767Reputation: 767
Arch has obviously made a mess of System-Config-Printer. Use your web browser instead, with the url
http://127.0.0.1:631
to access CUPS.
 
Old 12-30-2012, 07:47 AM   #3
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 718

Original Poster
Rep: Reputation: 102Reputation: 102
Thanks for the response.

I ended up removing and reinstalling both the printer and video drivers in hopes of grabbing some dependencies that I did not notice before. I did not see any but it worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C GTK+: String returned by gtk_file_chooser_get_filename gives segmentation fault youarefunny Programming 2 10-05-2010 04:50 PM
ALL GTK APPS do a segmentation fault when X win in monochrome smeezekitty Linux - Newbie 10 10-27-2009 01:25 AM
Segmentation Fault - Gtk Static App boogy Programming 2 01-22-2007 06:44 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika Suse/Novell 2 12-02-2005 09:34 AM
segmentation fault with my Gtk Application jaganmolleti Programming 1 03-18-2003 11:05 AM


All times are GMT -5. The time now is 09:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration