Page 1 of 1

[Resolved] Error getting Server IP

PostPosted: Mon May 25, 2015 6:30 pm
by zurich
Greetings,

I tried to use your plugin but I got an error that prevented me from getting the Server IP in the CONFIGURE TEMPERATURE SENSOR (DS18B20) window :

Code: Select all
OWServer Debug                  getServerList() method called.
  OWServer Error                  Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
  File "plugin.py", line 301, in getServerList
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 111, in debugLog
<class 'Boost.Python.ArgumentError'>: Python argument types in
    ServerInfo.log()
did not match C++ signature:
    log(CCString message, CCString type='', bool isError=False)


I changed line 301 from:

Code: Select all
self.debugLog(sortedServerList)

to

Code: Select all
self.debugLog('sorted server list %s' %sortedServerList)


and the plugin werked correctly.

best,

Z

Re: Error getting Server IP

PostPosted: Mon May 25, 2015 6:52 pm
by DaveL17
Thanks so much for letting me know. I will make this change for the next version of the plugin.

Please let me know how you get on.
Dave