[ckan-dev] CSW Harvesting

Adrià Mercader adria.mercader at okfn.org
Mon Nov 19 13:18:21 UTC 2012


Hi Sebastian,

Could you paste or PM the URL of the actual CSW server? There is
likely to be a problem with ckan or owslib for this particular server
(or grup of servers)

Thanks,

Adrià

On 15 November 2012 14:09, Sebastian Ziegler <sebastian.zieg at gmail.com> wrote:
> Hi Adrià,
>
> I changed the branch of ckanext-spatial, but the error stayed the same.
>
> I get the following error message for each harvest object.
>
>
> 2012-11-15 14:57:55,372 INFO  [ckanext.harvest.queue] Received harvest
> object id: 21aec7f6-d628-461b-8d8d-78459f8c272c
>
> 2012-11-15 14:57:55,377 DEBUG [ckanext.spatial.harvesters.CSW.fetch]
> GeminiCswHarvester fetch_stage for object: <HarvestObject
> id=21aec7f6-d628-461b-8d8d-78459f8c272c
> guid=cd35dbbf-2bed-4e40-90e6-ef75da162a13 current=False gathered=2012-11-15
> 13:57:37.231755 fetch_started=2012-11-15 14:57:55.377542 content=None
> fetch_finished=None metadata_modified_date=None retry_times=None
> harvest_job_id=50843eca-236e-4426-af20-843d5f0df0ec
> harvest_source_id=37049200-3999-453e-9d6e-0f644d1568a7 package_id=None>
>
> 2012-11-15 14:57:55,521 INFO  [ckanext.spatial.lib.csw_client] Making CSW
> request: getrecordbyid [u'cd35dbbf-2bed-4e40-90e6-ef75da162a13'] {'esn':
> 'full', 'outputschema': 'http://www.isotc211.org/2005/gmd'}
>
> 2012-11-15 14:57:55,658 ERROR [ckanext.spatial.harvesters] Error getting the
> CSW record with GUID cd35dbbf-2bed-4e40-90e6-ef75da162a13
>
>
> Did I miss any setting?
>
>
> Regards,
> Sebastian
>
>
>
>
> 2012/11/15 Adrià Mercader <adria.mercader at okfn.org>
>>
>> Hi Sebastian,
>>
>> Could you please post the full error stack somewhere?
>>
>> Also, could you try and use the 'harvest-generic-iso' branch of
>> ckanext-spatial.
>>
>> Adrià
>>
>> On 15 November 2012 08:31, Sebastian Ziegler <sebastian.zieg at gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > I am trying to harvest csw data. However with every site I try to
>> > harvest
>> > from, I am getting the below error for each record ...
>> >
>> >
>> >
>> > ERROR [ckanext.spatial.harvesters] Error getting the CSW record with
>> > GUID
>> > 4f952368-2ade-4074-9c82-c0deb891d945
>> >
>> >
>> > I already tried installing different versions of owslib but it didn't
>> > work
>> > for me.
>> >
>> > I am using Ckan 1.8, Ckanext-harvest and Ckanext-spatial [latest].
>> >
>> >
>> > If anyone knows what I could do to fix it, please respond.
>> >
>> >
>> >
>> > Thanks,
>> > Sebastian
>> >
>> > _______________________________________________
>> > ckan-dev mailing list
>> > ckan-dev at lists.okfn.org
>> > http://lists.okfn.org/mailman/listinfo/ckan-dev
>> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>> >
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>




More information about the ckan-dev mailing list