This same problem I reported a few months back is still in 2.5p4
I am polling a USB adapter once per second, after a while some sensors come
up missing (thats ok), but then I still get this error:
. . . . . . . . . . . . . . . . . . . . missing buttons
Set([Sensor("/05.893A26000000")])
. . missing buttons Set([Sensor("/05.893A26000000")])
. . missing buttons Set([Sensor("/05.893A26000000")])
. missing buttons Set([Sensor("/05.893A26000000")])
. . . . missing buttons Set([Sensor("/05.893A26000000")])
. missing buttons Set([Sensor("/05.893A26000000")])
. missing buttons Set([Sensor("/05.893A26000000")])
. . . .
Traceback (most recent call last):
File "owinterface.py", line 66, in ?
main(sys.argv[1:])
File "owinterface.py", line 61, in main
poll_for_devices()
File "owinterface.py", line 44, in poll_for_devices
new_buttons = I.sense_new_buttons()
File "owinterface.py", line 32, in sense_new_buttons
all_buttons = sets.Set(root.sensorList())
File "usr/local/lib/python2.4/site-packages/ow/__init__.py", line 462, in
sensorList
File "usr/local/lib/python2.4/site-packages/ow/__init__.py", line 439, in
sensors
File "usr/local/lib/python2.4/site-packages/ow/__init__.py", line 235, in
__init__
File "usr/local/lib/python2.4/site-packages/ow/__init__.py", line 375, in
useCache
AttributeError: 'NoneType' object has no attribute 'split'
at line 375:
self._attrs = dict( [ (n.replace( '.', '_' ), self._usePath + '/' + n )
for n in owfs_get( self._usePath ).split( ',' ) ]
So owfs_get is returning None.. everything goes downhill from there.
--
Brad Clements, [EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com
AOL-IM or SKYPE: BKClements
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers