Skip to content

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

@tazchalmers

Description

@tazchalmers

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions