Hi all, I have some trouble to get owpython to work. I have come so far that it seems to fail in the _get method. The following small program fails on the second _get()
import ow ow.init('localhost:9999') #works print ow._get('/10.A264C8000800') #fails print ow._get('/10.A264C8000800/temperature') ow.finish() With the following Traceback (most recent call last): File "test.py", line 9, in ? print ow._get('/10.A264C8000800/temperature') File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 146, in _get ow.exUnknownSensor: '/10.A264C8000800/temperature' I also tried a small perl program which also failed. ---- #!/usr/bin/perl -w use OW; OW::init("9999"); print OW::get("/10.A264C8000800/temperature"); OW::finish() ; With: Use of uninitialized value in print at test2.pl line 7. I suspect something in SWIG, but my knowledge in this area is none. I'm using python 2.4.1, owfs 2.6p1, SWIG 1.3.31 on a SuSE Linux 10.0 box. Is it my setup or is it a bug? Henrik. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers