grtswt / check_mk

my check_mk work
MIT License
0 stars 0 forks source link

doesnt work in check_mk 1.2.8 #2

Open FinalX92 opened 8 years ago

FinalX92 commented 8 years ago

i really like the whole map thing if u can can u make it work on 1.2.8?

Traceback (most recent call last): File "/omd/sites/check/share/check_mk/web/htdocs/wato.py", line 254, in page_handler modefunc("content") File "/omd/sites/check/share/check_mk/web/htdocs/wato.py", line 15931, in "edit_host" : (["hosts"], lambda phase: mode_edit_host(phase, new=False, is_cluster=None)), File "/omd/sites/check/share/check_mk/web/htdocs/wato.py", line 1312, in mode_edit_host configure_attributes(new, {hostname: host}, "host", parent = Folder.current()) File "/omd/sites/check/share/check_mk/web/htdocs/wato.py", line 15819, in configure_attributes attr.render_input(varprefix, defvalue) TypeError: render_input() takes exactly 2 arguments (3 given)

this is the error code that shows when u want to add coordinates

kind regards FinalX

grtswt commented 8 years ago

It looks like an incompatible change in how render_input is called. Not sure how to make a plugin compatible with both 1.2.6 and 1.2.8.

FinalX92 commented 8 years ago

is it posible to have it for 1.2.6 and also for 1.2.8?? 2 diff files.

grtswt commented 8 years ago

I'll look into it.

FinalX92 commented 8 years ago

Ty in advance

FinalX92 commented 8 years ago

any progress?

grtswt commented 8 years ago

Not yet. Looking into overloading function calls to make it compatible with both version 1.2.6 and 1.2.8.

If you solve it, send me a patch and it will be quicker!

FinalX92 commented 8 years ago

any news yet?