Opened 3 years ago
Last modified 21 months ago
#64513 new defect
diffuse fails to run: AttributeError: 'NoneType' object has no attribute 'get_width' — at Version 1
Reported by: | keithdtyler (Keith Tyler) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | diffuse |
Description (last modified by jmroot (Joshua Root))
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) /opt/local/bin/diffuse:7359: Warning: invalid (NULL) pointer instance gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL) /opt/local/bin/diffuse:7359: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL) /opt/local/bin/diffuse:7368: GtkWarning: gdk_screen_get_width: assertion 'GDK_IS_SCREEN (screen)' failed self.int_state['window_x'] = max(0, (gtk.gdk.screen_width() - self.int_state['window_width']) / 2) /opt/local/bin/diffuse:7369: GtkWarning: gdk_screen_get_height: assertion 'GDK_IS_SCREEN (screen)' failed self.int_state['window_y'] = max(0, (gtk.gdk.screen_height() - self.int_state['window_height']) / 2) /opt/local/bin/diffuse:7391: GtkWarning: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: gtk_icon_size_lookup_for_settings: assertion 'GTK_IS_SETTINGS (settings)' failed p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: Invalid icon size 3 p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: gtk_icon_theme_load_icon: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: Error loading theme icon 'document-new' for stock: p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: gtkstyle.c:2358: invalid icon size '3' p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: GtkWarning: gtk_style_render_icon: assertion 'pixbuf != NULL' failed p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) /opt/local/bin/diffuse:7391: Warning: g_object_ref: assertion 'G_IS_OBJECT (object)' failed p0 = self.render_icon(gtk.STOCK_NEW, gtk.ICON_SIZE_LARGE_TOOLBAR) Traceback (most recent call last): File "/opt/local/bin/diffuse", line 8329, in <module> diff = Diffuse(rc_dir) File "/opt/local/bin/diffuse", line 7392, in __init__ w, h = p0.get_width(), p0.get_height() AttributeError: 'NoneType' object has no attribute 'get_width'
Change History (1)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Summary: | Installed port fails → diffuse fails to run: AttributeError: 'NoneType' object has no attribute 'get_width' |
Note: See
TracTickets for help on using
tickets.