Hello,

I upgraded to PyTables 2.4.0 and I was "freezing" an application on Windows 
with PyInstaller. The frozen app fails at this new find_library call in 
__init__.py:

     if not ctypes.util.find_library('hdf5dll.dll'):
         raise ImportError('Could not load "hdf5dll.dll", please ensure' +
                 ' that it can be found in the system path')

PyInstaller correctly places this DLL in the same directory as the application 
.exe where standard Windows DLL search logic will find it. Apparently the 
find_library doesn't do that in a frozen application. That is a big problem. I 
had to comment this code out to get a working frozen app.

That code was added in revision e9f6919.

This is on Windows 7 64-bit with a 32-bit Python toolchain. Trying both 
PyInstaller 1.5.1 and 2.0.

Should I file a bug report? Any easy work-around?

Thanks,
Stuart

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to