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

key error when running cdp-distrib #16

Open
zshaheen opened this issue Aug 10, 2017 · 0 comments
Open

key error when running cdp-distrib #16

zshaheen opened this issue Aug 10, 2017 · 0 comments
Assignees

Comments

@zshaheen
Copy link
Contributor

Probably just a misspelling

(/p/cscratch/acme/shaheen2/acme_diags_env) shaheen2@aims4:~$ cdp-distrib 10.10.10.1:8786 -w
Scheduler 10.10.10.1:8786 has 4 workers attached to it

Information about worker at greyworm2.llnl.gov(10.10.10.52):33365
	name:		tcp://10.10.10.52:33365
	ncores:		1
	executing:	0
	memory_limit:	10145619456.0
	pid:		93875
Traceback (most recent call last):
  File "/p/cscratch/acme/shaheen2/acme_diags_env/bin/cdp-distrib", line 11, in <module>
    load_entry_point('cdp==1.0.4', 'console_scripts', 'cdp-distrib')()
  File "/p/cscratch/acme/shaheen2/acme_diags_env/lib/python2.7/site-packages/cdp-1.0.4-py2.7.egg/cdp/cli/cdp_distrib.py", line 55, in main
    display_workers(args.scheduler_addr, client)
  File "/p/cscratch/acme/shaheen2/acme_diags_env/lib/python2.7/site-packages/cdp-1.0.4-py2.7.egg/cdp/cli/cdp_distrib.py", line 13, in display_workers
    _display_single_worker(worker_name, workers_dict[worker_name])
  File "/p/cscratch/acme/shaheen2/acme_diags_env/lib/python2.7/site-packages/cdp-1.0.4-py2.7.egg/cdp/cli/cdp_distrib.py", line 32, in _display_single_worker
    worker_info[stuff] = datetime.fromtimestamp(int(worker_info[stuff])).strftime('%Y-%m-%d %H:%M:%S')
KeyError: 'last-task'

@zshaheen zshaheen self-assigned this Aug 10, 2017
@zshaheen zshaheen added this to the v1.1.0 milestone Aug 18, 2017
@zshaheen zshaheen removed this from the v1.1.0 milestone Sep 7, 2017
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

1 participant