Ok, I'll figure this out. The problem may be in some refactoring of ow.i (the swig template) that occurred in that time frame. Thanks for the report and your work pinpointing the problem.
Paul Alfille On Wed, Mar 24, 2010 at 4:38 PM, Jacob Joseph <ja...@jjoseph.org> wrote: > Hi. > > I'm unsure of whether this was discussed in the recent mentions of > pyowfs, which I'm not currently using. If it has been, I don't see > where. > > I've recently tried to upgrade from owfs 2.7_p21 to something more > recent, especially to test my BAE device. I have a few python programs > that use the 'ow' module, and have found these to not work with newer > versions. Here's an example: > > import ow > ow.init('192.168.99.16:4304') > ow._get("28.65CA0A010000/temperature") > > I expect, e.g.,: > Out[8]: ' 10.75' > > This has always worked, and I've double-checked versions p{21, 26, 28, > 29}. > > In versions 2.7_p{32, 31, 30}, very often, I receive the exception: > exUnknownSensor: '28.65CA0A010000/temperature' > > At all other times, I receive a single whitespace character, and never > a temperature reading: > Out[4]: ' ' > > Accessing the 1-wire bus through the mounted FUSE filesystem always > works. > > -------- > > As a separate matter, with the mounted filesystem, I see some > inconsistency. In particular, the first (and maybe after some > timeout) time I do a directory listing after restarting owserver, > an ls returns instantly, but contains only "bus.0 settings statistics > structure system uncached". If I type ls again, it pauses briefly, > but shows all of my devices. > > Thanks. > ~Jacob > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers