[PyQt] pyqtdeployed app crashes on launch

Dave Gradwell davegradwell at yahoo.co.uk
Sat Jul 12 15:46:47 BST 2014


Hello again,

I reverted to using Python 3.4.0 and dodged the problem from 3.4.1...

The next problem (!) still causes the pyqtdeployed app to crash on launch.  When started from the command line, it leaves this message:
admins-Mac:MacOS admin$ ./application 
Traceback (most recent call last):
  File "application.py", line 51, in <module>
  File "bootstrap_py3.py", line 2216, in _find_and_load
  File "bootstrap_py3.py", line 2203, in _find_and_load_unlocked
ImportError: No module named 'application_rc'

Yet the output in the 'build' tab of pyqtdeploy seems to show this module being frozen:
"""""""
Generating code...
Cleaning /Users/admin/Desktop/application/build.
Freezing /var/folders/wq/k3bzbz7d4m15ddsw3psx003c0000gn/T/bootstrap_py3.py
Freezing /Users/admin/Desktop/application/application.py
Freezing /Users/admin/Desktop/application/application_rc.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/_weakrefset.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/abc.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/codecs.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/__init__.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/aliases.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/ascii.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/cp437.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/latin_1.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/mbcs.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/encodings/utf_8.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/importlib/__init__.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/io.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/types.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/warnings.py
Freezing /Users/admin/Desktop/building/built/lib/python3.4/site-packages/PyQt5/__init__.py
Code generation succeeded.
Running qmake...
qmake succeeded.
Running make...
make succeeded.
"""""""


Am I doing the wrong thing?  How can I get this application to launch?

Thanks,

Dave.









 


More information about the PyQt mailing list