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

Crash of uwsgitop when no vassals are present #22

Closed
pakal opened this issue Jul 13, 2014 · 0 comments
Closed

Crash of uwsgitop when no vassals are present #22

pakal opened this issue Jul 13, 2014 · 0 comments
Labels

Comments

@pakal
Copy link

pakal commented Jul 13, 2014

A tiny bug (but disturbing at first), when one tries to lookup the stats of an idle emperor, having no vassals yet:

$ sudo uwsgitop uwsgi-emperor-stats.sock
Traceback (most recent call last):
File "/usr/local/bin/uwsgitop", line 171, in
vassal_spaces = max([len(v['id']) for v in dd['vassals']])
ValueError: max() arg is an empty sequence

@xrmx xrmx added the bug label Oct 4, 2015
@xrmx xrmx closed this as completed in c45979f Oct 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants