[ckan-dev] Problems with ckanext-harvest

"Lämmel, Philipp" philipp.laemmel at fokus.fraunhofer.de
Fri Jan 13 09:56:15 UTC 2012


Hi Adrià,

sorry for my imprecise phrasing. None of the packages was imported and I don't see them on the group page, too.

I checked my Authorization on the group page: my user 'harvest' is admin of this group. This is sufficient, isn't it? 'logged_in' and 'visitor' are reader on this group. Could you give me a dump of the rights of your harvesting user? I could check, if there are any differences.

Attached to this mail, one can find my rights.

Thanks and best regards,
Philipp

-----Ursprüngliche Nachricht-----
Von: Adrià Mercader [mailto:amercadero at gmail.com] 
Gesendet: Donnerstag, 12. Januar 2012 15:20
An: Lämmel, Philipp
Cc: ckan-dev
Betreff: Re: [ckan-dev] Problems with ckanext-harvest

Hi Philipp,

Sorry to hear you still have troubles.

2012/1/11 "Lämmel, Philipp" <philipp.laemmel at fokus.fraunhofer.de>:
> Unfortunately, all packages won't be added to my default group. I tried API v1 (with name) and v2 (with ID). I don't see any errors, but afterwards all packages won't be in my group.
Do you mean that some of the packages are missing in the group or none of them was imported?
Are they showing up on the group page (http://localhost:5000/group/edu)?

> This is the JSON I used in my configuration field:
> {
>  "api_version":"1",
>  "default_tags":["new-tag-1","new-tag-2"],
>  "default_groups":["edu"],
>  
> "default_extras":{"new_extra":"Test","harvest_url":"{harvest_source_ur
> l}/package/{dataset_id}"}
> }
The configuration looks good, and it definitely works for me (ie the datasets are added to the edu group) Maybe is there some problem with the group permissions? Can you check the "Authorization" tab on the edu group page which roles are set up?

Cheers,
Adrià
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rights.txt
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120113/da21d2e5/attachment-0003.txt>


More information about the ckan-dev mailing list