You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declare which version of Python you are using (python --version) Python 3.7.1
Declare which operating system you are using *Arch; 4.14.84-1-lts
I have a pipeline loading multiple CSVs using load. When one of the resources that are loaded is not listed under concatenate we get the following error
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/datapackage_pipelines/specs/../lib/concatenate.py", line 25, in <module>
| spew_flow(flow(ctx.parameters), ctx)
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/datapackage_pipelines/utilities/flow_utils.py", line 46, in spew_flow
| datastream = flow.datastream()
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/dataflows/base/flow.py", line 18, in datastream
| return self._chain(ds)._process()
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/dataflows/base/datastream_processor.py", line 42, in _process
| datastream = self.source._process()
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/dataflows/base/datastream_processor.py", line 46, in _process
| self.datapackage = self.process_datapackage(self.datapackage)
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/dataflows/helpers/datapackage_processor.py", line 15, in process_datapackage
| ret = next(self.dp_processor)
| File "/home/jdb/proj/code4sa/treasury-portal/treasury-pipelines/env/lib/python3.7/site-packages/dataflows/processors/concatenate.py", line 89, in func
| assert not match
| AssertionError
The intent is that all resources should be normalised and concatenated. It wasn't clear at all why this was failing, if having all resources in concatenated is even a requirement. A more meaningful error would be really helpful if this is a requirement.
The text was updated successfully, but these errors were encountered:
datapackage-pipelines==2.0.0
python --version
) Python 3.7.1I have a pipeline loading multiple CSVs using
load
. When one of the resources that are loaded is not listed underconcatenate
we get the following errorThe intent is that all resources should be normalised and concatenated. It wasn't clear at all why this was failing, if having all resources in concatenated is even a requirement. A more meaningful error would be really helpful if this is a requirement.
The text was updated successfully, but these errors were encountered: