datapackage-pipelines
datapackage-pipelines copied to clipboard
Albanian example in README doesn't work
So, I've tried to run Albanian example pipeline specified in README.
version: '2'
services:
pipeline:
build: .
command: sh -c "cd /src && pwd && dpp"
ports:
- 5000:5000
volumes:
- ./:/src
pipeline_1 | Available Pipelines:
pipeline_1 | - ./albanian-treasury (E)
pipeline_1 | Unresolved processor: Couldn't resolve model at /src
Which processor I need to install additionally?
Looks like it's coming from this line:
run: model
But where do I get the model processor?
There's no model.py anymore it's got deleted.
The other error is the following:
downloader: jsontableschema.exceptions.InvalidCastError: Row length (9) doesn't match fields count (3)
There are 9 fields here:
https://github.com/openspending/fiscal-data-package-demos/blob/master/al-treasury-spending/data/treasury.csv
Though in pipieline there are only three.
Yes, the model changed its name to be fiscal.model.
I'll make sure the example works (based on your PR).