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 Aug 14, 2024. It is now read-only.
Forked repo, updated runtime names, and ran action. Error in the promptflow step.
log:
Class WorkspaceHubOperations: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.4/x64/bin/pfazure", line 8, in
sys.exit(main())
^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/entry.py", line 82, in main
entry(command_args)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/entry.py", line 65, in entry
raise ex
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/entry.py", line 55, in entry
dispatch_run_commands(args)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/_run.py", line 361, in dispatch_run_commands
create_run(
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_utils.py", line 344, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf/_run.py", line 629, in create_run
run = create_func(run=run, stream=stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 181, in create_or_update
rest_obj = self._resolve_dependencies_in_parallel(run=run, runtime=kwargs.get("runtime"), reset=reset)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 713, in _resolve_dependencies_in_parallel
task_results = [task.result() for task in tasks]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 713, in
task_results = [task.result() for task in tasks]
^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 539, in _resolve_flow
self._flow_operations._resolve_arm_id_or_upload_dependencies(flow=flow, ignore_tools_json=True)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_flow_opearations.py", line 241, in _resolve_arm_id_or_upload_dependencies
self._try_resolve_code_for_flow(flow=flow, ops=ops, ignore_tools_json=ignore_tools_json)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_flow_opearations.py", line 280, in _try_resolve_code_for_flow
upload_paths += list(traverse_directory(root, files, source_path, prefix, ignore_file=ignore_file))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: traverse_directory() takes 2 positional arguments but 4 positional arguments (and 1 keyword-only argument) were given
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
Forked repo, updated runtime names, and ran action. Error in the promptflow step.

log:
Class WorkspaceHubOperations: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.4/x64/bin/pfazure", line 8, in
sys.exit(main())
^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/entry.py", line 82, in main
entry(command_args)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/entry.py", line 65, in entry
raise ex
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/entry.py", line 55, in entry
dispatch_run_commands(args)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf_azure/_run.py", line 361, in dispatch_run_commands
create_run(
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_utils.py", line 344, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/_cli/_pf/_run.py", line 629, in create_run
run = create_func(run=run, stream=stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 181, in create_or_update
rest_obj = self._resolve_dependencies_in_parallel(run=run, runtime=kwargs.get("runtime"), reset=reset)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 713, in _resolve_dependencies_in_parallel
task_results = [task.result() for task in tasks]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 713, in
task_results = [task.result() for task in tasks]
^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_run_operations.py", line 539, in _resolve_flow
self._flow_operations._resolve_arm_id_or_upload_dependencies(flow=flow, ignore_tools_json=True)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_flow_opearations.py", line 241, in _resolve_arm_id_or_upload_dependencies
self._try_resolve_code_for_flow(flow=flow, ops=ops, ignore_tools_json=ignore_tools_json)
File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/promptflow/azure/operations/_flow_opearations.py", line 280, in _try_resolve_code_for_flow
upload_paths += list(traverse_directory(root, files, source_path, prefix, ignore_file=ignore_file))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: traverse_directory() takes 2 positional arguments but 4 positional arguments (and 1 keyword-only argument) were given
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: