{"action":"closed","issue":{"url":"https://api.github.com/repos/seveas/python-hpilo/issues/126","repository_url":"https://api.github.com/repos/seveas/python-hpilo","labels_url":"https://api.github.com/repos/seveas/python-hpilo/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/seveas/python-hpilo/issues/126/comments","events_url":"https://api.github.com/repos/seveas/python-hpilo/issues/126/events","html_url":"https://github.com/seveas/python-hpilo/issues/126","id":186667225,"number":126,"title":"IloError Exception Error","user":{"login":"abrahamrhoffman","id":2740103,"avatar_url":"https://avatars.githubusercontent.com/u/2740103?v=3","gravatar_id":"","url":"https://api.github.com/users/abrahamrhoffman","html_url":"https://github.com/abrahamrhoffman","followers_url":"https://api.github.com/users/abrahamrhoffman/followers","following_url":"https://api.github.com/users/abrahamrhoffman/following{/other_user}","gists_url":"https://api.github.com/users/abrahamrhoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/abrahamrhoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrahamrhoffman/subscriptions","organizations_url":"https://api.github.com/users/abrahamrhoffman/orgs","repos_url":"https://api.github.com/users/abrahamrhoffman/repos","events_url":"https://api.github.com/users/abrahamrhoffman/events{/privacy}","received_events_url":"https://api.github.com/users/abrahamrhoffman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-01T22:38:51Z","updated_at":"2016-11-04T11:27:01Z","closed_at":"2016-11-04T11:27:01Z","body":"When calling 'update_rib_firmware', if the firmware is older than v1.30 (e.x. v1.20 or v1.21), I receive this stacktrace when attempting to upgrade:\r\n\r\nTraceback (most recent call last):\r\n  File \"hp-ilo.py\", line 74, in ?\r\n    main()\r\n  File \"hp-ilo.py\", line 53, in main\r\n    upgrade_firmware(options.upgrade, options.username, options.password, datapath, options.version)\r\n  File \"hp-ilo.py\", line 21, in upgrade_firmware\r\n    ilo.update_rib_firmware(filename=afile)\r\n  File \"/usr/lib/python2.4/site-packages/hpilo.py\", line 1887, in update_rib_firmware\r\n    self._upload_file(filename, progress)\r\n  File \"/usr/lib/python2.4/site-packages/hpilo.py\", line 355, in _upload_file\r\n    raise IloError(body)\r\nTypeError: exceptions must be classes, instances, or strings (deprecated), not IloError\r\n\r\nOf course, I looked at the IloError class and it seems to be intact. Any suggestions on how to expose the underlying error without making changes to the class \"IloError\" ?"}}
{"actor":{"display_login":"seveas"}}