Skip to content

Instantly share code, notes, and snippets.

Created September 6, 2019 14:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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": "", "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\ 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\ 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\ 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\", line 104, in user_code_error_boundary
File "c:\users\achintamiri\anaconda3\lib\site-packages\dagstermill\", line 204, in _t_fn
raise exc
File "c:\users\achintamiri\anaconda3\lib\site-packages\dagstermill\", line 196, in _t_fn
intermediate_path, temp_path, engine_name='dagstermill', log_output=True
File "c:\users\achintamiri\anaconda3\lib\site-packages\papermill\", line 104, in execute_notebook
raise_for_execution_errors(nb, output_path)
File "c:\users\achintamiri\anaconda3\lib\site-packages\papermill\", 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