On a clean checkout on fedora (no baggage) this works fine.
Can you try a clean checkout with no previous builds - Code files were removed in 1777 and this may be the cause of the crash
This needs to be debugged on the windows machines as it is not showing up on other machines.
Have all the dependencies been included
If you look at the trace file there seem to be compile bugs in the database classes.
Build 1781 is where this behavior first showed up for builds I do.
Running trunk (via eric4) works fine, the windows build does not.
I see no errors during the build.
I've changed nothing.
matysek had me try an updated version of pyinstaller (not because of this bug, but something else he's working on). I've tried Windows builds using both the original version of pyinstaller (that I've been using for month) and the new, but get same results with both. The newer version is displaying an lot of trace info during the build, but I see no "errors".
What exactly do you mean by "If you look at the trace file there seem to be compile bugs in the database classes."?
1779 - I changed the alert code to fix the change of settings and refactor the CSS loading
1780 - Translation fixes
1781 - Live Preview changes and fixes.
1782 - Build script fixes for startup
All the plugins are throwing this error
2011-10-19 11:09:09,371 openlp.core.lib.pluginmanager DEBUG Importing alerts.alertsplugin from C:\Program Files (x86)\OpenLP\plugins\alerts\alertsplugin.py. Depth 6
2011-10-19 11:09:09,377 openlp.core.lib.pluginmanager ERROR Failed to import module alerts.alertsplugin on path C:\Program Files (x86)\OpenLP\plugins\alerts\alertsplugin.py for reason No module named openlp.core.lib.db
Traceback (most recent call last):
File "D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz\openlp.core.lib.pluginmanager", line 95, in find_plugins
File "D:\pyinstaller\PyInstaller\iu.py", line 424, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "D:\pyinstaller\PyInstaller\iu.py", line 514, in doimport
exec co in mod.__dict__
File "C:\Program Files (x86)\OpenLP\plugins\alerts\alertsplugin.py", line 33, in <module>
from openlp.core.lib.db import Manager
File "D:\pyinstaller\PyInstaller\iu.py", line 443, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named openlp.core.lib.db
Why is openlp.core.lib.db not loading? This has not changed for a few months
Is it possible to build each of the releases so we can see which one did the damage cos from the evidence it is not clear.
matysek had me try a new version of pyinstaller, which didn't change anything except produce a lot of trace output.
I deleted my pyinstaller directory and un-zipped the version of svn-pyinstaller I had been using but.....
forgot to copy the 2 hook files from openlp to the hooks directory of pyinstaller.
Copied the hooks and all is back to normal.
Would it be possible to add a code to check_dependencies.py to insure these hooks are in place?
Except for comments in windows-builder.py, I don't think this is documented anywhere. In the back of my mind I thought something needed to be done, but couldn't remember exactly what it was.
On a clean checkout on fedora (no baggage) this works fine.
Can you try a clean checkout with no previous builds - Code files were removed in 1777 and this may be the cause of the crash