Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-810

CKAN datastore support


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Backend
    • None

      Seeing a stack trace when trying to Preview a dataset:

      image-upload.js:4730 Uncaught ReferenceError: filtersDiv is not defined
          at Module.initialize (image-upload.js:4730)
          at Function.module.createInstance (image-upload.js:1677)
          at String.<anonymous> (image-upload.js:1646)
          at Function.each (jquery.min.js:36)
          at Function.module.initializeElement (image-upload.js:1642)
          at HTMLDivElement.<anonymous> (image-upload.js:1619)
          at Function.each (jquery.min.js:36)
          at init.each (jquery.min.js:9)
          at Function.module.initialize (image-upload.js:1618)
          at Object.<anonymous> (image-upload.js:2475)

      Digging a bit further, apparently there is a JSONP request that seems to be failing to url == *http://jsonpdataproxy.appspot.com/?callback=jQuery17109552887620567783_1490721969565&url=http%3A%2F%2Fsvxyz4-ckan.ischool.ndslabs.org%2Fdataset%2F6ffc8d56-fe96-4e43-b632-11bb5c30eb96%2Fresource%2Ff19bff91-ed27-440f-82dc-2f2713282f13%2Fdownload%2Ftest.csv&max-results=58&type=CSV&_=1490721969963*

          "error": {
              "message": "Data transformation failed. HTTPError: HTTP Error 404: Not Found", 
              "title": "Data Transformation Error"

      This ticket is complete when the above error has been addressed (to the best of our abilities), and the CKAN service is able to preview datasets in JSON and/or CSV format.

      NOTE: I was unable to find an example XML dataset to use here, but ideally that should work too.

              willis8 Craig Willis
              lambert8 Sara Lambert
              0 Vote for this issue
              2 Start watching this issue