incubator-tashi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Jing Yuan <>
Subject Problem with Zoni
Date Tue, 02 Aug 2011 10:06:47 GMT

Just wondering if anyone had come across the following error and the workaround/solution to

Traceback (most recent call last):
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/bin/", line 765, in <module>
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/bin/", line 289, in main
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/", line
54, in getPowerStatus
    return self.__iterateHardware(nodeName, "getPowerStatus")
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/", line
71, in __iterateHardware
    doit = eval(a)
  File "<string>", line 1, in <module>
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/", line 107,
in getPowerStatus
    return self.isPowered()
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/extra/", line 145, in myF
    res = f(*args, **kw)
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/", line 101,
in isPowered
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/extra/", line 145, in myF
    res = f(*args, **kw)
  File "/opt/tashi/tashi/branches/zoni-dev/trunk/src/zoni/hardware/", line 79,
in __setPowerStatus
    child.logfile = fout
AttributeError: 'int' object has no attribute 'logfile'

 A strategic agency under MOSTI


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.

View raw message