This message was deleted.
# ask-anything
s
This message was deleted.
e
Can you share the full error message?
g
(market_watch) aiujdm2 market_watch (main) >> ploomber build
Loading pipeline... Traceback (most recent call last): File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/cli/io.py”, line 37, in wrapper fn(**kwargs) File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/telemetry/telemetry.py”, line 551, in wrapper raise e File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/telemetry/telemetry.py”, line 537, in wrapper result = func(_payload, *args, **kwargs) File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/cli/build.py”, line 54, in main dag, args = parser.load_from_entry_point_arg() File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/cli/parsers.py”, line 215, in load_from_entry_point_arg dag, args = load_dag_from_entry_point_and_parser( File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/cli/parsers.py”, line 488, in load_dag_from_entry_point_and_parser dag, args = _process_file_dir_or_glob(parser) File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/cli/parsers.py”, line 440, in _process_file_dir_or_glob dag = DAGSpec(dagspec_arg, env=env).to_dag() File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/spec/dagspec.py”, line 199, in init self._init(data=data, File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/spec/dagspec.py”, line 331, in _init tags_other) = expand_raw_dictionaries_and_extract_tags( File “/Users/aiujdm2/.local/share/virtualenvs/market_watch-dtlP-L11/lib/python3.9/site-packages/ploomber/env/expand.py”, line 44, in expand_raw_dictionaries_and_extract_tags zip(*[ TypeError: ‘NoneType’ object is not iterable
When i open .py in jupyter as notebook, i do not code cell insertion for products either.
e
are you using the
import_tasks_from
directive?
if so, it might be that the file you're using is empty. e.g.
import_tasks_from: something.yaml
and something.yaml is empty
g
yes. I have to comment out code there as that task in under progress.
e
Alright. It's breaking because it's empty. I'd recommend commenting out the import_tasks_from line, let me know if that fixes it
g
yes. it did. thank you so much!
e
sure. thanks for the feedback, I'll make sure we validate the input so we provide a clearer error message 🙂