You are not logged in.

#1 2010-03-12 12:31:47

Lifschitz
Member
Registered: 2010-03-11
Posts: 4

关于wifi-radar的一个问题

我装上wifi-radar后,在terminal中输入wifi-radar命令后得到如下显示

No protocol specified
/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/sbin/wifi-radar:792: Warning: invalid (NULL) pointer instance
  self.window = gtk.Dialog('WiFi Radar', None, gtk.DIALOG_MODAL )
/usr/sbin/wifi-radar:792: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.window = gtk.Dialog('WiFi Radar', None, gtk.DIALOG_MODAL )
/usr/sbin/wifi-radar:804: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.close_button = gtk.Button( "Close", gtk.STOCK_CLOSE )
/usr/sbin/wifi-radar:804: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.close_button = gtk.Button( "Close", gtk.STOCK_CLOSE )
/usr/sbin/wifi-radar:804: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  self.close_button = gtk.Button( "Close", gtk.STOCK_CLOSE )
/usr/sbin/wifi-radar:807: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.about_button = gtk.Button( "About", gtk.STOCK_ABOUT )
/usr/sbin/wifi-radar:807: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.about_button = gtk.Button( "About", gtk.STOCK_ABOUT )
/usr/sbin/wifi-radar:807: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  self.about_button = gtk.Button( "About", gtk.STOCK_ABOUT )
/usr/sbin/wifi-radar:810: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.preferences_button = gtk.Button( "Preferences", gtk.STOCK_PREFERENCES )
/usr/sbin/wifi-radar:810: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.preferences_button = gtk.Button( "Preferences", gtk.STOCK_PREFERENCES )
/usr/sbin/wifi-radar:810: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'
  self.preferences_button = gtk.Button( "Preferences", gtk.STOCK_PREFERENCES )
/usr/sbin/wifi-radar:825: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.plist.append_column( self.icons_col )
/usr/sbin/wifi-radar:825: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.plist.append_column( self.icons_col )
/usr/sbin/wifi-radar:831: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.plist.append_column( self.ap_col )
/usr/sbin/wifi-radar:831: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.plist.append_column( self.ap_col )
/usr/sbin/wifi-radar:837: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.plist.append_column( self.signal_col )
/usr/sbin/wifi-radar:837: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.plist.append_column( self.signal_col )
/usr/sbin/wifi-radar:843: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.plist.append_column( self.mode_col )
/usr/sbin/wifi-radar:843: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.plist.append_column( self.mode_col )
/usr/sbin/wifi-radar:849: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.plist.append_column( self.protocol_col )
/usr/sbin/wifi-radar:849: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.plist.append_column( self.protocol_col )
/usr/sbin/wifi-radar:855: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.plist.append_column( self.channel_col )
/usr/sbin/wifi-radar:855: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.plist.append_column( self.channel_col )
/usr/sbin/wifi-radar:868: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.new_button = gtk.Button( "_New" )
/usr/sbin/wifi-radar:868: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.new_button = gtk.Button( "_New" )
/usr/sbin/wifi-radar:872: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.edit_button = gtk.Button( "C_onfigure" )
/usr/sbin/wifi-radar:872: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.edit_button = gtk.Button( "C_onfigure" )
/usr/sbin/wifi-radar:877: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.delete_button = gtk.Button( "_Delete" )
/usr/sbin/wifi-radar:877: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.delete_button = gtk.Button( "_Delete" )
/usr/sbin/wifi-radar:882: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.connect_button = gtk.Button( "Co_nnect" )
/usr/sbin/wifi-radar:882: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.connect_button = gtk.Button( "Co_nnect" )
/usr/sbin/wifi-radar:885: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.disconnect_button = gtk.Button( "D_isconnect" )
/usr/sbin/wifi-radar:885: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.disconnect_button = gtk.Button( "D_isconnect" )
/usr/sbin/wifi-radar:918: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 10
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -1052230 and height -1196078
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width 1 and height -1196068
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -1052227 and height 0
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -1052227 and height 1
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  self.window.show_all()
/usr/sbin/wifi-radar:918: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  self.window.show_all()
段错误

请问这事什么原因。(我已经安装好无线网卡驱动)清高手指教!

Offline

#2 2013-03-27 07:15:30

itlodge
Member
Registered: 2013-03-27
Posts: 3

Re: 关于wifi-radar的一个问题

我也遇到了同样的问题,解决的办法是使用kdesu或者其他桌面的su来打开。https://bugs.frugalware.org/ticket/1944

Last edited by itlodge (2013-03-27 07:17:01)

Offline

Board footer

Powered by FluxBB