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

OpenRefine 2.5/2.6 + CKAN 2.3a = JSONException with CKAN 2.3a #4

Open
florianm opened this issue Jan 5, 2015 · 0 comments
Open

OpenRefine 2.5/2.6 + CKAN 2.3a = JSONException with CKAN 2.3a #4

florianm opened this issue Jan 5, 2015 · 0 comments

Comments

@florianm
Copy link

florianm commented Jan 5, 2015

Hi,
first of all thanks for creating this extension! I've just installed it into OpenRefine 2.6 beta for Linux, trying to upload a dataset to my CKAN 2.3a instance. I've changed the CKAN url to my own instance, kept the /api/rest/package path, pasted an existing dataset id and my API key, and ran into:

org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
        at org.json.JSONTokener.syntaxError(JSONTokener.java:423)
        at org.json.JSONObject.<init>(JSONObject.java:184)
        at org.json.JSONObject.<init>(JSONObject.java:311)
        at org.deri.orefine.ckan.StorageApiProxy.uploadFile(StorageApiProxy.java:40)

Looks more like a string conversion issue than some breaking API changes - will need to read through the code to see whether I can narrow it down further. Getting the same exception with google refine 2.5.

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