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

Datapusher fails when trying to push json and pdf formats to the datastore #265

Open
tazchalmers opened this issue Jun 14, 2024 · 0 comments

Comments

@tazchalmers
Copy link

tazchalmers commented Jun 14, 2024

Datapusher using Alpine based Docker image ckan/ckan-base-datapusher:0.0.20 fails when trying to push json and pdf (and other) formats.

I do note that "DataPusher is a standalone web service that automatically downloads any tabular data files like CSV or Excel from a CKAN site's resources when they are added to the CKAN site, parses them to pull out the actual data, then uses the DataStore API to push the data into the CKAN site's DataStore."

However, the button allows me to click "Upload to Datastore" and the problem is that it fails in a horrible way for the user with an unfriendly Python traceback in the UI. Maybe it could be made not possible to click the "Upload to Datastore" button for certain formats and/or present the user with more of a "This format cannot be pushed to the DataStore" kind of message?

(I have edited this since I first posted as I realised that the datapusher did not automatically try and push to the datastore).

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