Open cfobel opened 7 years ago
Trac update at 20120308T16:36:31: ryan commented:
I just realized that the paths listed in the traceback (i.e., "C:\buildbot\microdrop...") are paths from the machine that the .exe was built on. These paths do not exist on the machine trying to run the .exe.
Even if I install an .msi file onto the same machine that created it, I get a similar error, but the paths listed are from the build directory rather than the install directory.
Tested on version v0.1-376-gb5170d7, Win7 and XP.
When you run the installed .exe, it produces the following traceback:
Traceback (most recent call last): File "", line 25, in
File "C:\pyinstaller\iu.py", line 436, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "C:\pyinstaller\iu.py", line 521, in doimport
exec co in mod.dict
File "C:\buildbot\microdrop\WinXP_Py2_7\build\build\pyi.win32\microdrop\outPYZ1.pyz/matplotlib", line 765, in
File "C:\buildbot\microdrop\WinXP_Py2_7\build\build\pyi.win32\microdrop\outPYZ1.pyz/matplotlib", line 683, in rc_params
File "C:\buildbot\microdrop\WinXP_Py2_7\build\build\pyi.win32\microdrop\outPYZ1.pyz/matplotlib", line 599, in matplotlib_fname
File "C:\buildbot\microdrop\WinXP_Py2_7\build\build\pyi.win32\microdrop\outPYZ1.pyz/matplotlib", line 246, in wrapper
File "C:\buildbot\microdrop\WinXP_Py2_7\build\build\pyi.win32\microdrop\outPYZ1.pyz/matplotlib", line 520, in _get_data_path_cached
File "C:\buildbot\microdrop\WinXP_Py2_7\build\build\pyi.win32\microdrop\outPYZ1.pyz/matplotlib", line 485, in _get_data_path
RuntimeError: Path in environment MATPLOTLIBDATA not a directory
Running the .exe from the dist directory seems to work ok, so I suspect that it is a problem with the msi installer.
Migrated from http://microfluidics.utoronto.ca/ticket/63