This kind of error message usually happens when the same module is imported
in two different ways.  I recently had to deal with this with PIL, because
you can import it like this:

import Image

or like this:

from PIL import Image

In my case, my application was using the first incantation, and a library
that I was importing was using the second.

This is the same module, but it gives two entries in sys.modules, which
causes a hash collision as you see below.  The solution is just to be
consistent everywhere.  Hopefully, there is something that you or PySide is
importing that is similar to the above.

On Thu, Aug 9, 2012 at 2:51 AM, Gary Hawkins <[email protected]> wrote:

>  Should it work with PySide now?
>
>
>
> This error message is pretty vague, no line number for example.  Have
> unfortunately had to go with cxfreeze of late, prefer PyInstaller and
> single exe.
>
>
>
> >PyInstaller -F C:\_0\_vgp\vgp18d.py
>
> 93 INFO: wrote C:\Documents and Settings\garyha\My
> Documents\Downloads\_Python\pyinstaller\pyinstaller-2.0\vgp18d\vgp18d.spec
>
> 140 INFO: Testing for ability to set icons, version resources...
>
> 218 INFO: ... resource update available
>
> 296 INFO: UPX is available.
>
> 4780 WARNING: library python%s%s required via ctypes not found
>
> 5000 INFO: checking Analysis
>
> 5000 INFO: building Analysis because out00-Analysis.toc non existent
>
> 5000 INFO: running Analysis out00-Analysis.toc
>
> 5000 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final
> executable
>
> 5015 INFO: Searching for assembly
> x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww ...
>
> 5015 INFO: Found manifest
> C:\WINDOWS\WinSxS\Manifests\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375.manifest
>
> 5015 INFO: Searching for file msvcr90.dll
>
> 5015 INFO: Found file
> C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcr90.dll
>
> 5015 INFO: Searching for file msvcp90.dll
>
> 5015 INFO: Found file
> C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcp90.dll
>
> 5015 INFO: Searching for file msvcm90.dll
>
> 5015 INFO: Found file
> C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcm90.dll
>
> 5280 INFO: Analyzing C:\Documents and Settings\garyha\My
> Documents\Downloads\_Python\pyinstaller\pyinstaller-2.0\support\_pyi_bootstrap.py
>
> 10125 WARNING: library python%s%s required via ctypes not found
>
> 10296 INFO: Analyzing C:\Documents and Settings\garyha\My
> Documents\Downloads\_Python\pyinstaller\pyinstaller-2.0\PyInstaller\loader\archive.py
>
> 11280 INFO: Analyzing C:\Documents and Settings\garyha\My
> Documents\Downloads\_Python\pyinstaller\pyinstaller-2.0\PyInstaller\loader\carchive.py
>
> 12327 INFO: Analyzing C:\Documents and Settings\garyha\My
> Documents\Downloads\_Python\pyinstaller\pyinstaller-2.0\PyInstaller\loader\iu.py
>
> 12452 INFO: Analyzing C:\_0\_vgp\vgp18d.py
>
> AccessInit: hash collision: 3 for both 1 and 1
>
>
>
>
>   ------------------------------
>
> *From:* [email protected] [mailto:[email protected]]
> *On Behalf Of *Hartmut Goebel
> *Sent:* Wednesday, August 08, 2012 1:02 PM
> *To:* [email protected]
> *Subject:* [PyInstaller] [ANN] PyInstaller 2.0
>
>
>
> Hello,
>
>
>
> on behalf of the PyInstaller development team I'm happy to announce
>
> PyInstaller 2.0.
>
>
>
>    http://www.pyinstaller.org
>
>
>
> Special thanks to Martin Zibricky who did most of the development work for 
> this
>
> release.
>
>
>
>
>
> === What it is ===
>
>
>
>  <snip>
>
>
>
> --
> 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.
>



-- 
Daniel Hyams
[email protected]

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