Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

start task failed #716

Closed
SidWeng opened this issue Mar 1, 2020 · 4 comments
Closed

start task failed #716

SidWeng opened this issue Mar 1, 2020 · 4 comments

Comments

@SidWeng
Copy link

SidWeng commented Mar 1, 2020

AZTK submit job works fine until this morning, and I found following error in startup/stdout.txt.
I believe the root cause is as same as #710 .

Installing python dependencies
Creating a virtualenv for this project...
Pipfile: /mnt/batch/tasks/startup/wd/.aztk-env/Pipfile
Using /usr/bin/python3.5m (3.5.2) to create virtualenv...
ImportError: cannot import name 'ContextManager'

Virtualenv location: /mnt/batch/tasks/startup/wd/.aztk-env/.venv
Creating a virtualenv for this project...
Pipfile: /mnt/batch/tasks/startup/wd/.aztk-env/Pipfile
Using /usr/bin/python3 (3.5.2) to create virtualenv...
ImportError: cannot import name 'ContextManager'
@SidWeng
Copy link
Author

SidWeng commented Mar 2, 2020

cannot importlib-resources 1.1.0, should use importlib-resources 1.0.2, add this line in setup_host.sh.

python3 -m pip install importlib-resources=="1.0.2"

@jafreck
Copy link
Member

jafreck commented Mar 12, 2020

Can you share which version of aztk you are using?

@SidWeng
Copy link
Author

SidWeng commented Mar 13, 2020

0.10.2

@jafreck
Copy link
Member

jafreck commented May 11, 2020

This can no longer be reproduced. The issue appears to have been resolved by an update to a transitive dependency. @SidWeng can you confirm that this is no longer impacting?

@jafreck jafreck closed this as completed May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants