runtime_files.list
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 16 Feb 2018 18:38:30 +0100
changeset 1941 cde74a39df51
parent 1902 2b7e2db31d81
child 2266 ed415982a9aa
child 2294 da288f63612f
permissions -rw-r--r--
Fixed Exception dialog disapearing after a view second when exception occurs during app startup.
Problem was caused by splashscreen timeout, wx closing averything else if there is no more main frame.
Changes:
- no more timeout for splashscreen
- use wx.App OnInit method to give first operation to mainloop, object are then now created in mainloop
- main loop is then created _before_ showing splash screen
- no more wxyield or wx processevent tricks needed to display splash screen
- exception handler not blocking anymore on dialog (callafter)
- because of mainloop being there before everything, exit must be called explicitely if exception caught during startup -> exit parameter in handle_exception + try/except around startup calls

UNTESTED ON WINDOWS
# those files are used in runtime
# licensed according to LGPL, see COPYING.runtime 

images/icostop24.png
images/icoplay24.png
images/brz.png
util/__init__.py
util/paths.py
runtime/WampClient.py
runtime/PLCObject.py
runtime/NevowServer.py
runtime/webinterface.js
runtime/__init__.py
runtime/ServicePublisher.py
runtime/typemapping.py 
runtime/loglevels.py 
Beremiz_service.py