i am trying to package up Smart (http://labix.org/smart) as a standalone program under Linux using PyInstaller (svn690 snapshot). So far, I've been able to successfully create a one-dir version of the program that can run in command line more. However, Smart is able to run in both CLI and GUI modes, so now I am trying to make the Gtk version work as well. However, I keep running into a problem:
[r...@localhost smart-lite]# smart --gui --log-level=debug thisfile is /usr/lib/smart-lite/smart_lite _MEIPASS2 (workpath) is NULL homepath is /usr/lib/smart-lite/ Extracting binaries Executing self as child with /usr/lib/smart-lite/ thisfile is /usr/lib/smart-lite/smart_lite _MEIPASS2 (workpath) is /usr/lib/smart-lite/ homepath is /usr/lib/smart-lite/ Already have a workpath - running! /usr/lib/smart-lite/libpython2.6.so.1.0 Manipulating evironment PYTHONPATH=/usr/lib/smart-lite importing modules from CArchive extracted iu extracted struct extracted archive Installing import hooks outPYZ1.pyz Running scripts No protocol specified smart/build/pyi.linux2/smart/outPYZ1.pyz/gtk:57: GtkWarning: could not open display /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:36: Warning: invalid (NULL) pointer instance gtk.Window.__init__(self) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:36: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed gtk.Window.__init__(self) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:50: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed self._scrollwin = gtk.ScrolledWindow() /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: PangoWarning: pango_context_set_font_description: assertion `context ! = NULL' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: PangoWarning: pango_context_set_language: assertion `context != NULL' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed self._scrollwin.add(self._textview) /usr/lib/python2.6/site-packages/smart/interfaces/gtk/log.py:59: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed self._scrollwin.add(self._textview) Back to parent... I am not quite sure what its complaining about or how to go about fixing that. Any help would be greatly appreciated. Thanks in advance. P.S. please ask if you need more information. I simply don't know what else may be useful in troubleshooting this problem --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
