Ram píše v Po 17. 01. 2011 v 16:39 -0800:
>
> 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.
Maybe that somewhere you could have own exception and the MyException is
not inherited from class BaseException like:
---
class MyException(object):
# class code
try:
# something
except MyException, e:
# handling exception
---
That's just my guess.
--
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.