Sorry...that was easy to fix. ConfigParser just could not find the
configuration file. Now I get this error when I run my executable:

<type 'exceptions.TypeError'>
exceptions must be old-style classes or derived from BaseException,
not str <traceback object at 0x05F83FA8>

Is this because the code is raising a string exception somewhere?

Thanks for all the help.



On Jan 17, 7:35 pm, Ram <[email protected]> wrote:
> Thanks Martin. That patching worked! Now I get another error when I
> execute the executable...
>
> Traceback (most recent call last):
>   File "<string>", line 116, in <module>
>   File "<string>", line 56, in setup_Config
>   File "run_gui\build\pyi.win32\run_gui\outPYZ1.pyz/ConfigParser",
> line 557, in get
> ConfigParser.NoSectionError: No section: 'global'
>
> On Jan 17, 6:41 pm, Martin Zibricky <[email protected]> wrote:
>
>
>
>
>
>
>
> > Could you please look to folder:
>
> > c:\Python27\Lib\site-packages
>
> > if there is folder zope (the missing modules)
>
> > and if there is in the zope folder file '__init__.py'.
> > If the init file is missing there, try to create it there and running
> > pyinstaller again.
>
> > Ram píše v Po 17. 01. 2011 v 14:55 -0800:
>
> > > Thanks. Now it gives me another error...
>
> > > D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-rc1
> > > \run_gui>dist
> > > \run_gui\run_gui.exe
> > > Import Error: No module named zope
> > > Traceback (most recent call last):
> > >   File "<string>", line 16, in <module>
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 436, in importHook
> > >     mod = _self_doimport(nm, ctx, fqname)
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 521, in doimport
> > >     exec co in mod.__dict__
> > >   File "run_gui\build\pyi.win32\run_gui\outPYZ1.pyz/.newui.gui", line
> > > 29, in <module>
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 436, in importHook
> > >     mod = _self_doimport(nm, ctx, fqname)
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 521, in doimport
> > >     exec co in mod.__dict__
> > >   File "run_gui\build\pyi.win32\run_gui
> > > \outPYZ1.pyz/.browse.BrowseWidget", line 37, in <module>
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 477, in importHook
> > >     mod = self.doimport(nm, ctx, ctx+'.'+nm)
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 521, in doimport
> > >     exec co in mod.__dict__
> > >   File "run_gui\build\pyi.win32\run_gui\outPYZ1.pyz/
> > > twisted.internet.reactor", line 37, in <module>
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 477, in importHook
> > >     mod = self.doimport(nm, ctx, ctx+'.'+nm)
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line 521, in doimport
> > >     exec co in mod.__dict__
> > >   File "run_gui\build\pyi.win32\run_gui\outPYZ1.pyz/
> > > twisted.internet.selectreactor", line 17, in <module>
> > >   File "D:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > > rc1\iu.py", line455, in importHook
> > >     raise ImportError, "No module named %s" % fqname
> > > ImportError: No module named zope

-- 
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.

Reply via email to