openxenmanager icon indicating copy to clipboard operation
openxenmanager copied to clipboard

"list index out of range"

Open markinfo opened this issue 10 years ago • 8 comments

I get message "list index out of range" with fresh installation from GIT and with empty oxc.conf file after a trying to connect to the first server. There is no warning in terminal.

markinfo avatar May 25 '15 11:05 markinfo

Hi. I have seen there was repaired "src/OXM/window_menuitem.py" Could be also be taken attention to this problem. Or how could I debug code that is leading to this issue?

markinfo avatar Jun 20 '15 23:06 markinfo

Hi,

I haven't really had chance to look into the issue yet. Do you still get the error?

If you do... Is there any more of warning displayed at all?

If you also install the raven package (pip install raven) it should report any error message direct to my Sentry server.

TwoWheelDev avatar Jun 20 '15 23:06 TwoWheelDev

Hi, I have the same issue, but its strange, i think it problably diferent versions of xen hypevisor. In one i just connect with no problem, in another system.... that error appeared.

My desktop his Linux Mint Rebeca.

oliveiraped avatar Jul 09 '15 09:07 oliveiraped

same problem with openxenmanager r80. is this fixed in latest commits?

i am happy to help debug, if you can let me know how to do so...

winst0nsmith avatar Oct 03 '15 20:10 winst0nsmith

@winst0nsmith Sorry the delayed response. The r80 version, is hugely buggy... I would try the lastest commit from here, which should be much btter

TwoWheelDev avatar Dec 18 '15 16:12 TwoWheelDev

Just tried version from GIT (0.1.0-dev1) and I can connect to all my Xenservers now.

markinfo avatar Dec 28 '15 19:12 markinfo

In case this is helpful, I get this error if I try to connect to a slave server. If I print self.session in oxcServer_addserver.py just after line 57, I get: {'Status': 'Failure', 'ErrorDescription': ['HOST_IS_SLAVE', 'master_ip']} Replacing my connection host to the master as detailed in that error resolves the problem. At least for that event, lines 70-71 also in oxcServer_addserver.py are the immediate cause of the list index out of range error.

dickensja avatar Jan 13 '16 20:01 dickensja

@dickensja That is indeed helpful... Gives me a place to start investigating

TwoWheelDev avatar Jan 13 '16 21:01 TwoWheelDev