openRemoteIP - I suspect there's a quick answer.

Supporting 2.7 and 3.2+
Lyndon Williams
Phidgetsian
Posts: 14
Joined: Tue Nov 27, 2012 7:25 am
Contact:

Re: openRemoteIP - I suspect there's a quick answer.

Post by Lyndon Williams »

Brian, if this is a problem between the ctypes module and the Phidgets module with Python 3.x, could we have someone look at the Python module and make the necessary modifications? Perhaps make a Phidgets module for Python 3.x?
PLN57
Fresh meat
Posts: 3
Joined: Mon Aug 20, 2012 2:13 am
Contact:

Re: openRemoteIP - I suspect there's a quick answer.

Post by PLN57 »

Looks like Python 2.6.6 runs reasonably OK inside SBC2. Which is the Python version that now appeared when restoring SBC2 and reinstalling Python.
jschnell1203
Phidgetsian
Posts: 6
Joined: Tue Sep 07, 2010 6:47 pm
Contact:

Re: openRemoteIP - I suspect there's a quick answer.

Post by jschnell1203 »

that seems to work better for me also using 2.7 instead of 3.3 python. More on this tomorrow. I would really like to be using the latest so where do we go from here?
x11b2p
Fresh meat
Posts: 1
Joined: Tue Mar 18, 2014 12:14 pm
Contact:

Re: openRemoteIP - I suspect there's a quick answer.

Post by x11b2p »

I am using SBC3 and have encountered the same issue with Python 3.3. Has anyone resolved this or is reverting to an earlier version of Python the only resolution?
josh0576
Phidgetly
Posts: 21
Joined: Mon Jul 13, 2009 8:05 pm
Contact:

Re: openRemoteIP - I suspect there's a quick answer.

Post by josh0576 »

I recently was trying to use Phidgets in Python 3.6. I had the problem described here with no resolution. After several hours of tries, I found something that works. You need to add b before every string and null strings seem to require a value such as b'' or None. Thus

dictionary.openRemoteIP(b'', 5001,None)

worked for me.
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests