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

reaching a line limit when adding graphs #1

Open
juniorsemacento opened this issue Dec 17, 2015 · 0 comments
Open

reaching a line limit when adding graphs #1

juniorsemacento opened this issue Dec 17, 2015 · 0 comments

Comments

@juniorsemacento
Copy link

Hello.

First of all.. thanks for you contribution.. is an amazing script that will help a lot people.

But I've one single problem that maybe can be an easy fix for you.

When one host is selected.. if this host has 47 graphs the menu will be loaded and the graphs will show for selection.

But when the host has a minimum of 48 graphs.. it shows this error.

selectHostgroup - Hostgroup selected (hostgroupid: 4, hostgroupname: Zabbix servers)
Something WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwent wrong
Error: addstr() returned ERR
Traceback (most recent call last):
File "screenbuilder.py", line 406, in
main()
File "screenbuilder.py", line 385, in main
doMenu(menu)
File "screenbuilder.py", line 241, in doMenu
processmenu(menu_data)
File "screenbuilder.py", line 227, in processmenu
processmenu(menu['options'][getin], menu) # display the submenu
File "screenbuilder.py", line 224, in processmenu
if getin == optioncount:
UnboundLocalError: local variable 'getin' referenced before assignment

Thanks...

👏👏👏👏👏

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