I had the same problem as Joseph, because url.parse is python 3, I am
using python 2, and some library I use must have a try-catch for the
import like the one in his code.

This mini-patch against the current release (1.5.1) of iu.py seems to
solve the problem, at least getting my program to start (don't see how
to add an attachment in groups interface):

454c454,455
<             del sys.modules[fqname]
---
>             if fqname in sys.modules:
>                 del sys.modules[fqname]

Not sure if it creates other problems.

ciao,
Paolo



On Feb 18, 2:33 am, Martin Zibricky <[email protected]> wrote:
> Joseph Tate píše v Pá 17. 02. 2012 v 18:03 -0800:
>
> > I patched the iu.py so that it checks that fqname is in sys.modules
> > before del'ing it and I can get it to build and run now.
>
> Could you please submit your patch?
>
> http://www.pyinstaller.org/wiki/Development/HowtoContribute
>
> Thanks in advance.

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