Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSL formatter manages to crash ghini if no institution data is given #430

Closed
mfrasca opened this issue Sep 24, 2018 · 2 comments
Closed

Comments

@mfrasca
Copy link
Member

mfrasca commented Sep 24, 2018

As a graphical environment, I want computing threads not to mix with the GUI, so that the program doesn't crash.

Expected behaviour

threads computing things should only compute things, not also display messages and dialog boxes. when something goes wrong, they should fail with an error condition (an exception), so that the invoking GUI can display the dialog box.

Opinions

unfortunately, much of bauble/ghini is built around this smart and simple fibra thing, implementing collaborative concurrency, and letting the programmer forget about good behaviour. I think we should really get rid of that.

@mfrasca
Copy link
Member Author

mfrasca commented Sep 26, 2018

I have added a utils.idle_message function, which you can invoke from any thread.
it should display 'modal' though.

@mfrasca
Copy link
Member Author

mfrasca commented Sep 26, 2018

it is modal. :-)

@mfrasca mfrasca closed this as completed Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant