zabbix-screenbuilder icon indicating copy to clipboard operation
zabbix-screenbuilder copied to clipboard

reaching a line limit when adding graphs

Open juniorsemacento opened this issue 9 years ago • 0 comments

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...

:clap::clap::clap::clap::clap:

juniorsemacento avatar Dec 17 '15 02:12 juniorsemacento