On Mon, Oct 17, 2011 at 6:24 PM, Matt Wilkie <map...@gmail.com> wrote: [...] >> launchLeo\dist\launchLeo\launchLeo.exe --debug > *** isPython3: False > scanOptions: *** debug mode on > Traceback (most recent call last): [...] > File > "D:\temp\pyinstaller\launchLeo\build\pyi.win32\launchLeo\outPYZ1.pyz\leo. > plugins.qtGui", line 7349, in createFrame > File > "D:\temp\pyinstaller\launchLeo\build\pyi.win32\launchLeo\outPYZ1.pyz\leo. > plugins.qtGui", line 2176, in construct > AssertionError
If you go near line 2176 in the file leo\plugins\qtGui.py, you will see this code: ui_file_name = c.config.getString('qt_ui_file_name') if not ui_file_name: ui_file_name = 'qt_main.ui' ui_description_file = g.app.loadDir + "/../plugins/" + ui_file_name # g.pr('DynamicWindw.__init__,ui_description_file) assert g.os_path_exists(ui_description_file) It that last line which is giving the "AssertionError" in the output. So the pyinstaller output either doesn't have the qt_main.ui file or the file is there, but not in a way that leo can find it. Leo's own files are already self contained. I wonder if it would be easier to use pyinstaller to create a "portable" version of python containing PyQt and any other required libraries (also docutils so viewrendered works well on rst). Then copy the leo directory in and run the pyintaller outputted executable on launchLeo.py. Just thinking out loud. Brian -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.