Operating in Ubuntu 13 (Actually, Lubuntu 13 but all the libs are the same).

Bundle a big PyQt4 program using version 2.0, it works. (Note this is using
a spec file generated by 2.0)

Bundle same program using v.2.1 (using a spec file generated by 2.1) and it
fails. The loader debug output is below, the key lines appear to be:
LOADER: Running scripts
Traceback (most recent call last):
  File "<string>", line 36, in <module>
ImportError: No module named QtCore
LOADER: RC: -1 from pyi_rth_qt4plugins

I tried replacing that rthook with the one from v2.0 but it made no
difference.

I tried looking at the generated executable with cliutils/archive_viewer
but I can't get it to do anything.


LOADER: executable is /home/dcortesi/Desktop/scratch/dist/ppqt/ppqt
LOADER: homepath is /home/dcortesi/Desktop/scratch/dist/ppqt
LOADER: _MEIPASS2 is NULL
LOADER: archivename is /home/dcortesi/Desktop/scratch/dist/ppqt/ppqt
LOADER: Extracting binaries
LOADER: Executing self as child
LOADER: LD_LIBRARY_PATH=/home/dcortesi/Desktop/scratch/dist/ppqt
LOADER: executable is /home/dcortesi/Desktop/scratch/dist/ppqt/ppqt
LOADER: homepath is /home/dcortesi/Desktop/scratch/dist/ppqt
LOADER: _MEIPASS2 is /home/dcortesi/Desktop/scratch/dist/ppqt
LOADER: archivename is /home/dcortesi/Desktop/scratch/dist/ppqt/ppqt
LOADER: Already in the child - running user's code.
LOADER: Python library:
/home/dcortesi/Desktop/scratch/dist/ppqt/libpython2.7.so.1.0
LOADER: Manipulating evironment
LOADER: PYTHONPATH=/home/dcortesi/Desktop/scratch/dist/ppqt
LOADER: PYTHONHOME=/home/dcortesi/Desktop/scratch/dist/ppqt
LOADER: Manipulating Python's sys.path
LOADER: importing modules from CArchive
LOADER: extracted struct
LOADER: extracted pyi_os_path
LOADER: extracted pyi_archive
LOADER: extracted pyi_importers
LOADER: Installing import hooks
LOADER: out00-PYZ.pyz
LOADER: Running scripts
Traceback (most recent call last):
  File "<string>", line 36, in <module>
ImportError: No module named QtCore
LOADER: RC: -1 from pyi_rth_qt4plugins
LOADER: OK.
LOADER: Cleaning up Python interpreter.
LOADER: Back to parent
LOADER: Doing cleanup
LOADER: Freeing archive status for
/home/dcortesi/Desktop/scratch/dist/ppqt/ppqt

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To post to this group, send email to pyinstaller@googlegroups.com.
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to