Skip to content

Instantly share code, notes, and snippets.

@achintamiri
Created September 6, 2019 14:45
Show Gist options
  • Save achintamiri/9900abc552b559b0fda363d2f50b1245 to your computer and use it in GitHub Desktop.
Save achintamiri/9900abc552b559b0fda363d2f50b1245 to your computer and use it in GitHub Desktop.
papermill.exceptions.PapermillExecutionError: --------------------------------------------------------------------------- Exception encountered at "In [2]": --------------------------------------------------------------------------- JSONDecodeError Traceback (most recent call last) <ipython-input-2-940e0a55a92b> in <module> 2 import json as __dm_json 3 import dagstermill as __dm_dagstermill ----> 4 context = __dm_dagstermill._reconstitute_pipeline_context(**__dm_json.loads('{"environment_dict": {"execution": {"in_process": {"config": {"raise_on_error": false}}}}, "handle_kwargs": {"fn_name": "notebook_pipeline", "module_name": null, "pipeline_name": "pipeline", "python_file": "sample1.py", "repository_yaml": null}, "marshal_dir": "/tmp/dagstermill/abce7cd1-fd45-4ef2-bb44-bf1728dfdcb2/marshal", "output_log_path": "C:\\Users\\ACHINT~1\\AppData\\Local\\Temp\\tmpfk2msj6p", "run_config_kwargs": {"mode": "default", "run_id": "abce7cd1-fd45-4ef2-bb44-bf1728dfdcb2"}, "solid_handle_kwargs": {"definition_name": "hello_world1", "name": "hello_world1", "parent": null}, "solid_subset": null}')); ~\Anaconda3\lib\json\__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) 346 parse_int is None and parse_float is None and 347 parse_constant is None and object_pairs_hook is None and not kw): --> 348 return _default_decoder.decode(s) 349 if cls is None: 350 cls = JSONDecoder ~\Anaconda3\lib\json\decoder.py in decode(self, s, _w) 335 336 """ --> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 338 end = _w(s, end).end() 339 if end != len(s): ~\Anaconda3\lib\json\decoder.py in raw_decode(self, s, idx) 351 """ 352 try: --> 353 obj, end = self.scan_once(s, idx) 354 except StopIteration as err: 355 raise JSONDecodeError("Expecting value", s, err.value) from None JSONDecodeError: Invalid \escape: line 1 column 349 (char 348)
File "C:\Users\achintamiri\AppData\Roaming\Python\Python37\site-packages\dagster\core\errors.py", line 104, in user_code_error_boundary
yield
File "c:\users\achintamiri\anaconda3\lib\site-packages\dagstermill\solids.py", line 204, in _t_fn
raise exc
File "c:\users\achintamiri\anaconda3\lib\site-packages\dagstermill\solids.py", line 196, in _t_fn
intermediate_path, temp_path, engine_name='dagstermill', log_output=True
File "c:\users\achintamiri\anaconda3\lib\site-packages\papermill\execute.py", line 104, in execute_notebook
raise_for_execution_errors(nb, output_path)
File "c:\users\achintamiri\anaconda3\lib\site-packages\papermill\execute.py", line 188, in raise_for_execution_errors
raise error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment