{"action":"opened","issue":{"url":"https://api.github.com/repos/ckan/ckanapi/issues/102","repository_url":"https://api.github.com/repos/ckan/ckanapi","labels_url":"https://api.github.com/repos/ckan/ckanapi/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckanapi/issues/102/comments","events_url":"https://api.github.com/repos/ckan/ckanapi/issues/102/events","html_url":"https://github.com/ckan/ckanapi/issues/102","id":192820826,"number":102,"title":"Uploading a file from url","user":{"login":"carbowizzy","id":4240748,"avatar_url":"https://avatars.githubusercontent.com/u/4240748?v=3","gravatar_id":"","url":"https://api.github.com/users/carbowizzy","html_url":"https://github.com/carbowizzy","followers_url":"https://api.github.com/users/carbowizzy/followers","following_url":"https://api.github.com/users/carbowizzy/following{/other_user}","gists_url":"https://api.github.com/users/carbowizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/carbowizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carbowizzy/subscriptions","organizations_url":"https://api.github.com/users/carbowizzy/orgs","repos_url":"https://api.github.com/users/carbowizzy/repos","events_url":"https://api.github.com/users/carbowizzy/events{/privacy}","received_events_url":"https://api.github.com/users/carbowizzy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-01T11:30:56Z","updated_at":"2016-12-01T11:30:56Z","closed_at":null,"body":"I get errors trying to upload file into CKAN using resource_create from URL with the below\r\n\r\n\r\nfrom ckanapi import RemoteCKAN\r\nua = 'ckanapiexample/1.0 (+http://example.com/my/website)'\r\nfileurl = \"http://goog.com/go/file.csv\"\r\nmysite = RemoteCKAN('http://myckan.example.com', apikey='real-key', user_agent=ua)\r\nmysite.action.resource_create(\r\n    package_id='my-dataset-with-files',\r\n    url='dummy-value',  # ignored but required by CKAN<=2.5.x\r\n    upload=open(fileurl, 'rb'))\r\n"}}
{"actor":{"display_login":"carbowizzy"}}