[ECODP-dev] urgent validation required
John Glover
john.glover at okfn.org
Wed Sep 25 09:01:11 UTC 2013
Hi Bert,
At what stage are you getting this error message?
Also: on a new database you should really load the publishers and vocabs
before importing the CSV translations, the recommended sequence is in the
'Additions for operations manual - Release 01.00' Google doc. I don't think
that this is the source of your error though.
Regards,
John
On 25 September 2013 10:55, Bert Van Nuffelen <
bert.van.nuffelen at tenforce.com> wrote:
> See $USERHOME/ckan/bin/ckan_reset_db.sh
>
> #!/bin/bash
> # ARG1 = the username of the sys admin user.
>
> # This script creates a valid EU ODP empty CKAN database.
>
> USERHOME=/applications/ecodp/users/ecodp
> CKANHOME=$USERHOME/ckan
>
> source $CKANHOME/bin/paster.sh
>
> if [ $# -lt 1 ] ; then
> echo "1 arguments are mandatory"
> echo "arg1 the username of the sysadmin"
> exit
> fi
>
>
> paster --plugin=ckan db clean -c $CKAN_INI
> paster --plugin=ckan db init -c $CKAN_INI
> # erase the file storage for CKAN UI and RDF2CKAN
> rm -rf $CKANHOME/var/file-storage/*
> rm -rf $CKANHOME/var/uploads/*
> paster --plugin=ckanext-ecportal ecportal searchcloud-install-tables -c
> $CKAN_INI
> paster --plugin=ckanext-ecportal ecportal import-csv-translations -c
> $CKAN_INI
> paster --plugin=ckan search-index rebuild -c $CKAN_INI
> paster --plugin=ckanext-ecportal ecportal update-all-vocabs -c $CKAN_INI
> paster --plugin=ckan search-index rebuild -c $CKAN_INI
> ...
>
>
> 2013/9/25 John Glover <john.glover at okfn.org>
>
>> Hi,
>>
>> Can you tell me the CKAN commands that your script is running? Is this
>> just clearing the database or loading some data?
>>
>> Regards,
>> John
>>
>>
>> On 25 September 2013 10:52, John Glover <john.glover at okfn.org> wrote:
>>
>>> Hi Bert,
>>>
>>> Do you have any more details or context for this? It looks like CKAN is
>>> reporting being sent invalid XML in the RDF. See the email thread
>>> "Malformed rdf".
>>>
>>> Regards,
>>> John
>>>
>>>
>>> On 25 September 2013 10:41, Bert Van Nuffelen <
>>> bert.van.nuffelen at tenforce.com> wrote:
>>>
>>>> Hi John,
>>>>
>>>> can you verify urgently on the test server if this is a typo in CKAN?
>>>> And if so, if this is in the git repo or just a test on the test server:
>>>>
>>>> [Tue Sep 24 15:41:19 2013] [error] 2013-09-24 15:41:19,429 ERROR
>>>> [ckanext.ecportal.rdfutil] EntityRef: expecting ';', line 128, column 123
>>>>
>>>> kind regards,
>>>>
>>>> Bert
>>>>
>>>>
>>>> --
>>>> 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
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130925/450ad895/attachment.html>
More information about the ecodp-dev
mailing list