Hi Mick,
great to here from you again ;)
> Traceback (most recent call last):
> File "./list_all.py", line 194, in <module>
> init_1_wire() # initialise the 1-wire network and get the sensor
> id's
> File "./list_all.py", line 43, in init_1_wire
> for s in connection.find () :
> File "/usr/local/lib/python2.6/dist-packages/pyowfs/owfs.py", line
> 160, in find
> for sensor in self.iter_sensors () :
> File "/usr/local/lib/python2.6/dist-packages/pyowfs/owfs.py", line
> 133, in iter_sensors
> for e in self.capi.get (self.path).split (",") :
> AttributeError: 'NoneType' object has no attribute 'split'
as always, pyowfs is just a thin wrapper aroung libcapi - so within this
error you dont get any contents for a given node back from libcapi -
which (in this case) means that libcapi was not able to find any sensors
on the bus ...
i agree with you if you vote for a more "speaking" error message in this
case ...
lets see what i can do ;)
regards,
marcus.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers