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

Database import: no error check #213

Closed
bsteubing opened this issue Dec 11, 2018 · 2 comments · Fixed by #308
Closed

Database import: no error check #213

bsteubing opened this issue Dec 11, 2018 · 2 comments · Fixed by #308
Assignees
Milestone

Comments

@bsteubing
Copy link
Member

I am importing a database through the Wizard (ecoinvent 3.5 cutoff) and the Console throws an error: bw2data.errors.InvalidExchange
The Database Import Wizard should catch such errors and tell the user that there was a problem (perhaps point to the debug window) and that the import was aborted.

@bsteubing
Copy link
Member Author

actually in my case the reason was that I didn't have the latest default data installed (so this hint could also be given to the user)

@bsteubing
Copy link
Member Author

Hi Adrian, I assigned you to this... don't know if you can still contribute or not, if not, please let me know. If yes, I think this should be an easy fix for you as you wrote that part of the code... I tried quickly, but it is complicated due to the threading... is there a way that the import wizard dialogue would not stay forever after an error occurs, but instead give an error message to the user and closes the import wizard?

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

Successfully merging a pull request may close this issue.

3 participants