Looks like your login to the hardware failed. On Tue, Aug 2, 2011 at 12:06 PM, Luke Jing Yuan <[email protected]> wrote: > Hi, > > Just wondering if anyone had come across the following error and the > workaround/solution to it: > > Traceback (most recent call last): > File "/opt/tashi/tashi/branches/zoni-dev/trunk/bin/zoni-cli.py", line 765, > in <module> > main() > File "/opt/tashi/tashi/branches/zoni-dev/trunk/bin/zoni-cli.py", line 289, > in main > hw.getPowerStatus(options.nodeName) > File > "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/systemmanagement.py", > line 54, in getPowerStatus > return self.__iterateHardware(nodeName, "getPowerStatus") > File > "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/systemmanagement.py", > line 71, in __iterateHardware > doit = eval(a) > File "<string>", line 1, in <module> > File > "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/delldrac.py", > line 107, in getPowerStatus > return self.isPowered() > File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/extra/util.py", line > 145, in myF > res = f(*args, **kw) > File > "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/delldrac.py", > line 101, in isPowered > self.__setPowerStatus() > File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/extra/util.py", line > 145, in myF > res = f(*args, **kw) > File > "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/delldrac.py", > line 79, in __setPowerStatus > child.logfile = fout > AttributeError: 'int' object has no attribute 'logfile' > > Regards, > Luke > ----------------------------------------------- > A strategic agency under MOSTI > www.mimos.my > ----------------------------------------------- > > ------------------------------------------------------------------ > - > - > DISCLAIMER: > > This e-mail (including any attachments) is for the addressee(s) > only and may contain confidential information. If you are not the > intended recipient, please note that any dealing, review, > distribution, printing, copying or use of this e-mail is strictly > prohibited. If you have received this email in error, please notify > the sender immediately and delete the original message. > MIMOS Berhad is a research and development institution under > the purview of the Malaysian Ministry of Science, Technology and > Innovation. Opinions, conclusions and other information in this e- > mail that do not relate to the official business of MIMOS Berhad > and/or its subsidiaries shall be understood as neither given nor > endorsed by MIMOS Berhad and/or its subsidiaries and neither > MIMOS Berhad nor its subsidiaries accepts responsibility for the > same. All liability arising from or in connection with computer > viruses and/or corrupted e-mails is excluded to the fullest extent > permitted by law. > > >
-- Richard Gass
