[ckan-dev] Harvestor extension for CKAN

Adrià Mercader adria.mercader at okfn.org
Thu Jan 3 14:11:48 UTC 2013


Hi Lesse,

You are right, you don't need to specify the json config option unless
you need it.
What versions of CKAN core and ckanext-harvest are you using?


Adrià

On 3 January 2013 14:49, Lasse Vestergaard <ibbernik at gmail.com> wrote:
> Hej Peder :-)
>
> I wrote this in the configuration field:
>
> {
>  "api_version":"1",
>  "default_groups":["mygroup"],
>  "user":"my-username"
> }
>
> The group exists and I can easily create the harvest source. The error
> occurs when the harvest process runs. As I read the documentation, I don't
> need to put in all configuration options. Is that correct?
>
> /Lasse
>
>
>
> 2013/1/3 Peder Jakobsen | gmail <pjakobsen at gmail.com>
>>
>> HI Lasse,
>>
>> Did you enter your configuration details in the form of json in the UI?
>>
>> Venlig hilsen,
>>
>> Peder :)
>>
>> On Thu, Jan 3, 2013 at 3:56 AM, Lasse Vestergaard <ibbernik at gmail.com>
>> wrote:
>> > Hi all.
>> >
>> > I am trying to get the harvestor extension (ckanext-harvest-) work for
>> > CKAN.
>> > All in all it seems like, I have managed to install it. I am currently
>> > trying to harvest data form an other CKAN instance (remote computer on
>> > an
>> > other network). I only provided the url to the CKAN frontend:
>> > ckan.odaa.dk.
>> > When i run the harvesting process I get the following error:
>> >
>> > Last Harvest Errors: 12
>> > Object errors
>> >
>> > GUID fredede-bygninger-og-fortidsminder
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID blog-p-bibliotekernes-hjemmeside
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID arrangementer-p-bibliotekerne
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID ejendomsfortegnelse
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID vejnavne-og-vejkoder
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID parkering
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID bibliotekstransaktioner
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID beholdning-ved-aarhus-kommunes-biblioteker
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID koordinats-tning-af-aarhus-adresser
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID cvr-produktionsenheder
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID bevaringsv-rdige-bygninger-i-aarhus-kommune
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> > GUID bbr-ejendomme-og-bbr-bygninger
>> > AttributeError("'thread._local' object has no attribute 'host'",)
>> >
>> > There are only 12 datasets in the CKAN instance I try to harvest from
>> > (it's
>> > a test instance). I have tried to Google the error, but I don't get any
>> > relevant suggestions, so I hope you guys can point me in some direction.
>> >
>> > Regards
>> >
>> > Lasse Vestergaard
>> >
>> > _______________________________________________
>> > 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