[ECODP-dev] json request fails for unkown reason

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Thu Jan 24 15:19:01 UTC 2013


Hi David,

did you looked into the json? To provide an idea of the problem?

Bert



2013/1/24 David Raznick <david.raznick at okfn.org>:
> It looks like an error in the json produced.  Can not understand anything
> more from what you have said, would need to look on the server and am not
> sure of the state now.
>
> David
>
>
>
>
> On Wed, Jan 23, 2013 at 9:29 PM, Bert Van Nuffelen
> <bert.van.nuffelen at tenforce.com> wrote:
>>
>> Hi,
>>
>> moreover on the portal the datasets are being created.
>>  It looks even with some sensible information if one just sees the
>> overviews, but that is false positive news.
>> If one selects a dataset then one gets a server error.
>>
>> This corresponds to the explanation of PO:
>>
>> The logs look fine, but the changes are not taken into account.
>>
>> Bert
>>
>> 2013/1/23 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>:
>> > Hi John,
>> >
>> > On odp.tenforce.com we have tried to upload the jrc.zip package to the
>> > CKAN instance.
>> > CKAN returns for every request an error.
>> >
>> > At
>> > /applications/ecodp/users/ecodp/rdf2ckan/work
>> >
>> > a test script
>> >
>> > call_ckan.sh
>> >
>> > and a extracted json file
>> >
>> > test.json
>> >
>> > is there
>> >
>> > ./call_ckan.sh test.json
>> >
>> > The test script does not accept the json.
>> >
>> > root at ecodp-odp3 work]# ./call_ckan.sh test.json
>> > "Bad request - JSON Error: Error decoding JSON data. Error:
>> > ValueError('Unterminated string starting at: line 1 column 29 (char
>> > 29)',) JSON data extracted from the request:
>> > '{\"resources\":[{\"description\":\"Compressed archive of geotiff maps
>> > of Pinus cembra suitability for the current situation (year
>> > 2000'"[root at ecodp-odp3 work]# vim call_ckan.sh
>> >
>> >
>> > to see the rdf2ckan output
>> >
>> > cd /applications/ecodp/users/ecodp/rdf2ckan/
>> > cp work/done-zip/jrc*.zip work/import
>> > cd bin
>> > ./rdf2ckan.sh
>> >
>> >
>> > --
>> > Bert Van Nuffelen
>> >
>> > Semantic Technologies Software Architect at TenForce
>> > www.tenforce.be
>> >
>> > Bert.Van.Nuffelen at tenforce.com
>> > Office: +32 (0)16 31 48 60
>> > Mobile:+32 479 06 24 26
>> > skype: bert.van.nuffelen
>>
>>
>>
>> --
>> Bert Van Nuffelen
>>
>> Semantic Technologies Software Architect at TenForce
>> www.tenforce.be
>>
>> Bert.Van.Nuffelen at tenforce.com
>> Office: +32 (0)16 31 48 60
>> Mobile:+32 479 06 24 26
>> skype: bert.van.nuffelen
>>
>> _______________________________________________
>> Ecodp-dev mailing list
>> Ecodp-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>



-- 
Bert Van Nuffelen

Semantic Technologies Software Architect at TenForce
www.tenforce.be

Bert.Van.Nuffelen at tenforce.com
Office: +32 (0)16 31 48 60
Mobile:+32 479 06 24 26
skype: bert.van.nuffelen




More information about the ecodp-dev mailing list