Progress - was Re: on to communications

Craig White <[email protected]>
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
On Fri, 2004-06-11 at 17:11, Craig White wrote:

> Is there a way to use gnue-designer in GTK2? 
----
thanks for putting up with me.

fixed the problem with wxPythonGTK2 - turned out to be the fedora-extra
rpms. Downloaded rpms from python.org...different problems but still
problems. Ended up building from the source. Ouch, this was a rough
road.

Now... gnue-designer - this problem is with gnue-designer

-bash-2.05b$ gnue-designer -n forms
/usr/lib/python2.3/site-packages/wxPython/lib/splashscreen.py:5:
DeprecationWarning: \

#####################################################\
# THIS MODULE IS NOW DEPRECATED                      |
#                                                    |
# The core wx library now contains an implementation |
# of the 'real' wx.SpashScreen.                      |
#####################################################/


  import wx.lib.splashscreen
10:18:38 PM: Debug: Adding duplicate image handler for 'Windows bitmap
file'
10:18:38 PM: Debug: Adding duplicate image handler for 'Windows bitmap
file'
10:18:38 PM: Debug: Adding duplicate image handler for 'PNG file'
10:18:38 PM: Debug: Adding duplicate image handler for 'JPEG file'
10:18:38 PM: Debug: Adding duplicate image handler for 'TIFF file'
10:18:38 PM: Debug: Adding duplicate image handler for 'GIF file'
10:18:38 PM: Debug: Adding duplicate image handler for 'PNM file'
10:18:38 PM: Debug: Adding duplicate image handler for 'PCX file'
10:18:38 PM: Debug: Adding duplicate image handler for 'Windows icon
file'
10:18:38 PM: Debug: Adding duplicate image handler for 'Windows cursor
file'
10:18:38 PM: Debug: Adding duplicate image handler for 'Windows animated
cursor file'
10:18:38 PM: Debug: Adding duplicate image handler for 'XPM file'
DB000: Traceback (most recent call last):
DB000:   File "/usr/local/bin/gnue-designer", line 33, in ?
DB000:     designer = Designer.Designer ()
DB000:   File "/usr/local/gnue/lib/python/gnue/designer/Designer.py",
line 107, in __init__
DB000:     wxApp.__init__(self,0)
DB000:   File "/usr/lib/python2.3/site-packages/wx/core.py", line 5042,
in __init__
DB000:     self._BootstrapApp()
DB000:   File "/usr/lib/python2.3/site-packages/wx/core.py", line 4791,
in _BootstrapApp
DB000:     return _core.PyApp__BootstrapApp(*args, **kwargs)
DB000:   File "/usr/local/gnue/lib/python/gnue/designer/Designer.py",
line 126, in OnInit
DB000:     self.SetTopWindow(self.newInstance(self.OPTIONS['new']))
DB000:   File "/usr/local/gnue/lib/python/gnue/designer/Designer.py",
line 367, in newInstance
DB000:     c = dyn_import("gnue.designer.%s.Instance" % module).Instance
DB000:   File
"/usr/local/gnue/lib/python/gnue/common/utils/FileUtils.py", line 42, in
dyn_import
DB000:     mod = __import__(name)
DB000:   File
"/usr/local/gnue/lib/python/gnue/designer/forms/Instance.py", line 48,
in ?
DB000:     from TreeView import TreeView
DB000:   File
"/usr/local/gnue/lib/python/gnue/designer/forms/TreeView.py", line 40,
in ?
DB000:     from gnue.designer.base.Icons import treeIconMap,
treeIconList
DB000:   File "/usr/local/gnue/lib/python/gnue/designer/base/Icons.py",
line 44, in ?
DB000:     if sys.platform != 'win32':
DB000: NameError: name 'sys' is not defined

and of course, I am dumped. Did get pretty far and got nice splash
screen. I can see in the file Icons.py but I haven't a clue why it's
breaking. Clues?

Craig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.