UNSOLVED

Ajay thivahar

updated

8 years ago

0

1738

November 19th, 2018 21:00

access to dell server using dracclient module in python

import dracclient.client
client= dracclient.client.DRACClient('000.000.00.000', 'catt', 'malcom', port=400)
power = client.get_power_state()
print(power)

i am trying to get the status of server(version6) 

can you guyz help me out with scripts are import module

but output says: AttributeError: 'NoneType' object has no attribute 'text'

  • 1601

    0

    Posted November 19th, 2018 23:00

    using dracclient module in python 

    version 6 

    server can be aceeseed??

    just to view the status of the server like ON or OFF

  • ArduinoGuy

    20 Posts

    1577

    0

    Posted November 20th, 2018 14:00

    What happens if you cast the nonetype as a string? Something like print(str(power))?

  • 1566

    0

    Posted November 20th, 2018 17:00

    still same output nonetype object has no attributes text