Qestion: Copying an executable to another machine and it dies ! # 145 + #165 seem to be related
Documentation for reproduction: (this error happens by running version 1.4 as well as a svn from 28/06/2010:16:00, applying the files from #165) I have a python script which i compiled and run nicely on my maschine > python Makespec.py --onefile --debug zs_netcdf.py > python Build.py zs_netcdf/zs_netcdf.spec ..... > zs_netcdf/build/pyi.linux2/zs_netcdf/outPYZ1.pyz/nose.proxy:93: > SyntaxWarning: assertion is always true, perhaps remove parentheses? ... > Appending archive to EXE zs_netcdf/dist/zs_netcdf so, running it on my maschine (ubuntu 9.04,intel) without parameter looks like (bails as arguments are missing): han...@hirubu:~/Desktop/pyinstaller-1.4/zs_netcdf/dist$ ./zs_netcdf $BASE/ncu2_1606dd2.tif $BASE/b1_remap2080.n thisfile is ./zs_netcdf _MEIPASS2 (workpath) is NULL homepath is ./ Extracting binaries Executing self as child with /tmp/_MEIPOM5cX/::/usr/local/lib thisfile is ./zs_netcdf _MEIPASS2 (workpath) is /tmp/_MEIPOM5cX/ homepath is ./ Already have a workpath - running! /tmp/_MEIPOM5cX/libpython2.6.so.1.0 Manipulating evironment PYTHONPATH=/tmp/_MEIPOM5cX:. importing modules from CArchive extracted iu extracted struct extracted archive Installing import hooks outPYZ1.pyz Running scripts Traceback (most recent call last): File "<string>", line 15, in <module> IndexError: list index out of range RC: -1 from zs_netcdf OK. Back to parent... Code produces results etc.. so it is running however, by copying it to another maschine (ubuntu 9.10) ./zs_netcdf thisfile is /media/work/hannes/remo/b1/zs_netcdf _MEIPASS2 (workpath) is NULL homepath is /media/work/hannes/remo/b1/ Extracting binaries Executing self as child with /tmp/_MEIrrypkw/ Back to parent... hmm, we miss some parts here.. everything after <thisfile> it seems it kill itself/or does not even start in the initial phase. I searched and found error #145 and patch #165 which seems to relate to that. Any further insights ? Cheers Hannes -- 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.
