Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: global name 'TimeoutError' is not defined #38

Open
iskandr opened this issue Feb 9, 2017 · 1 comment
Open

NameError: global name 'TimeoutError' is not defined #38

iskandr opened this issue Feb 9, 2017 · 1 comment

Comments

@iskandr
Copy link
Member

iskandr commented Feb 9, 2017

Probably a PY2 problem:

  File "/usr/local/bin/kubeface-run", line 11, in <module>
    load_entry_point('kubeface', 'console_scripts', 'kubeface-run')()
  File "/Users/iskander/code/kubeface/kubeface/commands/run.py", line 89, in run
    for (value, return_value) in results:
  File "/Users/iskander/code/kubeface/kubeface/client.py", line 171, in map
    job.wait(poll_seconds=self.poll_seconds)
  File "/Users/iskander/code/kubeface/kubeface/job.py", line 195, in wait
    self.update()
  File "/Users/iskander/code/kubeface/kubeface/job.py", line 126, in update
    naming.task_result_prefix(self.cache_key, self.running_tasks)))
  File "/Users/iskander/code/kubeface/kubeface/storage.py", line 12, in list_contents
    return bucket_storage.list_contents(prefix)
  File "/Users/iskander/code/kubeface/kubeface/bucket_storage.py", line 50, in robust_function
    TimeoutError,
@cb-symbio
Copy link

Try from concurrent.futures import TimeoutError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants