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

Dialog box instead of fail / stack trace when plugin doesn't load #42

Open
cholmes opened this issue Dec 11, 2024 · 0 comments
Open

Dialog box instead of fail / stack trace when plugin doesn't load #42

cholmes opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@cholmes
Copy link
Owner

cholmes commented Dec 11, 2024

The new installation code should hopefully make it rare for a duckdb import to fail, but it'd be good to have a better dialog when that happens. The init code should have an example of how to do a 'try' around the import, and then if it fails we should be able to load a dialog to inform the user it didn't work. I'm 90% sure this should work, but if it doesn't maybe there's another nice way to not just show a stack trace in the plugin dialog when the duckdb import fails.

It'd be also good in this code to check for DuckDB's that are below 1.1.0. Things sorta work when this happens, as it's a geospatially compatible parquet file that gets written out - it just won't have CRS information, but it will render in QGIS.

@cholmes cholmes added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant