Comments (3)
This is due to the storage controller originally setting a wrong URL on the remote CKAN instance. This has been fixed for a while (see [1] and [2]), but we could update the CKAN harvester import stage to handle these particular cases and consider any resource URL starting with '/' as relative and prepend the harvest source URL to it.
https://github.com/okfn/ckanext-harvest/blob/master/ckanext/harvest/harvesters/ckanharvester.py#L224
@volpino Would you be able to provide a patch for this?
[1] ckan/ckan@cfdeb91
[2] ckan/ckan@2085855
from ckanext-harvest.
I think that a proper solution would be to download and upload locally those files. In this way you can create a copy of the first CKAN instance and tear it down, substituting it with the new instance (with the harvested data) without any problem
from ckanext-harvest.
Closing as the storage controller (which this bug relates to) has been deprecated for some time now.
from ckanext-harvest.
Related Issues (20)
- Add terms:[] at the end of the URL HOT 1
- trying to add ckanext-harvest but getting error when running harvest source create
- CSRF protection breaks harvest source creation form
- Is there a way to filter/harvest only "datasets" type from portals that have other types of files? HOT 1
- Filtering orgs & groups don't work while using multiple values
- .
- Error in the installation of plugin harvest ckan HOT 1
- Rebuilding search-index broken, when harvest errors exist. HOT 2
- I cannot understand how to use this extension, please share me more tips HOT 2
- When and how to replace these placeholders in the configuration?
- rename `run-test` to `run-once`
- Harvest interface incompatible with non JSON config
- Source type field is not loading
- localhost/harvest 404 not found HOT 2
- Error on creating new harvest source HOT 4
- Add a "delete_missing" option to CKAN harvester HOT 1
- Problem with harvester on Latvian open data portal HOT 3
- Support for SSL when connecting to Redis
- Idea: Use supervisor for triggering harvest
- Is there a menu or masthead link to the /harvest page? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckanext-harvest.