[Resolved] Error getting Server IP

Posted on
Mon May 25, 2015 6:30 pm
zurich offline
Posts: 103
Joined: Aug 11, 2014

[Resolved] Error getting Server IP

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

Posted on
Mon May 25, 2015 6:52 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Error getting Server IP

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

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest