Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using default_extras #289

Closed
etj opened this issue May 29, 2017 · 1 comment
Closed

Error using default_extras #289

etj opened this issue May 29, 2017 · 1 comment

Comments

@etj
Copy link
Contributor

etj commented May 29, 2017

See also #249.
When a default_extras is set, but there's no extra in the remote dataset, extras is init'ted as a dict and not as a list (currently here's the line, but may not be there in the future: https://github.com/ckan/ckanext-harvest/blob/master/ckanext/harvest/harvesters/ckanharvester.py#L527)
This will cause a log line like this:

DEBUG [ckanext.harvest.model] 'dict' object has no attribute 'append'

and the dataset will not be imported.

@metaodi
Copy link
Member

metaodi commented Nov 7, 2017

This was fixed with #290

@metaodi metaodi closed this as completed Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants