datapackage-pipelines icon indicating copy to clipboard operation
datapackage-pipelines copied to clipboard

Albanian example in README doesn't work

Open Vanuan opened this issue 8 years ago • 3 comments

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?

Vanuan avatar Dec 16 '16 11:12 Vanuan

Looks like it's coming from this line:

      run: model

But where do I get the model processor?

Vanuan avatar Dec 16 '16 11:12 Vanuan

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.

Vanuan avatar Dec 16 '16 23:12 Vanuan

Yes, the model changed its name to be fiscal.model. I'll make sure the example works (based on your PR).

akariv avatar Dec 18 '16 10:12 akariv