Hi Guys, 

i just found one ;) - at least i think the behaviour should be
different ... 

i have a system with either ds2490 or LinkUSB ...

so i want autoprobing (ds2490 missing, LinkUSB plugged in):

>>> import ow
>>> ow.init ("u") 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/ow/__init__.py", line 224, in init
    raise exNoController
ow.exNoController
>>> ow.init ("/dev/ttyFTDI0")
>>> r = ow.Sensor ("/")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/ow/__init__.py", line 271, in __init__
    self.useCache( self._useCache )
  File "/usr/lib/python2.5/site-packages/ow/__init__.py", line 412, in useCache
    self._type    = owfs_get('bus.0/interface/settings/name')
  File "/usr/lib/python2.5/site-packages/ow/__init__.py", line 159, in _get
    raise exUnknownSensor(path)
ow.exUnknownSensor: 'bus.0/interface/settings/name'
>>> 

which isnt really what it should ... i think ... 

when i omit opening the "u", it works as expected ... also ow.finish
() ... and even reload (ow) doesnt help ... 

looks to me as if there are some settings left over from the try on
initialising the ds2409 ... 

regards,
marcus.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to