This was due to a bug introduced in 2.94.0 and was patched in 2.94.2
Answered
Error In "Add To Nav" Code?
Was getting this error:
Traceback (most recent call last):
File "/home/xxx/sdk/.env/bin/q2", line 8, in <module>
sys.exit(main())
File "/home/xxx/sdk/.env/lib/python3.9/site-packages/q2_sdk/core/q2.py", line 34, in main
entrypoint_runner.execute()
File "/home/xxx/sdk/.env/lib/python3.9/site-packages/q2_sdk/core/cli/entrypoint_runner.py", line 175, in execute
LOOP.run_until_complete(handle_coro)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/xxx/sdk/.env/lib/python3.9/site-packages/q2_sdk/entrypoints/add_to_nav.py", line 252, in handle
installed_forms,installed_vendors = asyncio.gather(installed_forms,installed_vendors)
Seems to be resolved if I manually update the package
From: installed_forms,installed_vendors = asyncio.gather(installed_forms,installed_vendors)
To: installed_forms,installed_vendors = await asyncio.gather(installed_forms,installed_vendors)
112 Views
1
Answer
5 years ago
5 years ago
Tags