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
{{ message }}
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
I tried building a spec using hmt like that (Win10): hmt build -i ~/Documents/data/full_flow.jsonl -o ~/Documents/data/full_flow
This is the exception i get:
Error updating spec Traceback (most recent call last): File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 551, in build_schema_async schema = update_openapi(schema, exchange, mode) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 416, in update_openapi path_match_result = find_matching_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 250, in find_matching_path ) = fn(path, path_item) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 241, in <lambda> lambda p, pi: _dumb_match_to_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 131, in _dumb_match_to_path (len(candidate_potential_conflict.content.keys()) != 1) AttributeError: 'NoneType' object has no attribute 'keys' Writing to folder C:\Users\tomer\Documents\data\full_flow Shutting down source Traceback (most recent call last): File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\tomer\AppData\Local\Programs\Python\Python38-32\Scripts\hmt.exe\__main__.py", line 9, in <module> File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 764, in __call__ return self.main(*args, **kwargs) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 717, in main rv = self.invoke(ctx) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 555, in invoke return callback(*args, **kwargs) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 155, in build run_from_source(source, UpdateMode[mode.upper()], openapi_spec, sinks=sinks) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 79, in run_from_source loop.run_until_complete(run(loop)) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 76, in run await sink_task File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 40, in write_to_sink async for result in result_stream: File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 551, in build_schema_async schema = update_openapi(schema, exchange, mode) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 416, in update_openapi path_match_result = find_matching_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 250, in find_matching_path ) = fn(path, path_item) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 241, in <lambda> lambda p, pi: _dumb_match_to_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 131, in _dumb_match_to_path (len(candidate_potential_conflict.content.keys()) != 1) AttributeError: 'NoneType' object has no attribute 'keys'
Did i do anything wrong?
The text was updated successfully, but these errors were encountered:
I tried building a spec using hmt like that (Win10):
hmt build -i ~/Documents/data/full_flow.jsonl -o ~/Documents/data/full_flow
This is the exception i get:
Error updating spec Traceback (most recent call last): File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 551, in build_schema_async schema = update_openapi(schema, exchange, mode) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 416, in update_openapi path_match_result = find_matching_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 250, in find_matching_path ) = fn(path, path_item) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 241, in <lambda> lambda p, pi: _dumb_match_to_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 131, in _dumb_match_to_path (len(candidate_potential_conflict.content.keys()) != 1) AttributeError: 'NoneType' object has no attribute 'keys' Writing to folder C:\Users\tomer\Documents\data\full_flow Shutting down source Traceback (most recent call last): File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\tomer\AppData\Local\Programs\Python\Python38-32\Scripts\hmt.exe\__main__.py", line 9, in <module> File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 764, in __call__ return self.main(*args, **kwargs) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 717, in main rv = self.invoke(ctx) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 555, in invoke return callback(*args, **kwargs) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 155, in build run_from_source(source, UpdateMode[mode.upper()], openapi_spec, sinks=sinks) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 79, in run_from_source loop.run_until_complete(run(loop)) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 76, in run await sink_task File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\__main__.py", line 40, in write_to_sink async for result in result_stream: File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 551, in build_schema_async schema = update_openapi(schema, exchange, mode) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\builder.py", line 416, in update_openapi path_match_result = find_matching_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 250, in find_matching_path ) = fn(path, path_item) File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 241, in <lambda> lambda p, pi: _dumb_match_to_path( File "c:\users\tomer\appdata\local\programs\python\python38-32\lib\site-packages\hmt\build\paths.py", line 131, in _dumb_match_to_path (len(candidate_potential_conflict.content.keys()) != 1) AttributeError: 'NoneType' object has no attribute 'keys'
Did i do anything wrong?
The text was updated successfully, but these errors were encountered: