Am Freitag, den 17.09.2010, 10:15 -0800 schrieb Joshua J. Kugler: > On Friday 17 September 2010, Marcus Priesch elucidated thus: > > Hi Joshua, > > > > Am Donnerstag, den 16.09.2010, 22:05 -0800 schrieb Joshua J. Kugler: > > > One of them was with ctypes, which didn't want to find my > > > libowcapi.so in /usr/local/lib (even though ldconfig -p confirmed > > > it was known). > > > > there is a new version which fixes this - are you sure you are using > > the latest ?!?! > > I'm using 0.1.4.
ok, that sound fine - could you provide the error (message) you got - and what you did to make it work in the end ... > > > > for e in s.iter_entries () : > > print e > > > > thats basically what "get" also does ... > > > > if your wanted entry isnt there it raises a KeyError - which is > > correct python behaviour ... what i could do is propably add a > > "default" value you get back when the wanted key does not exist ... > > like in pythons dict().get() behaviour ... > > It is odd, and even more odd that OWFS's ow module is picking up the > type, and pyowfs is not. Strange. then, can you provide the output of list (s.iter_entries()) of the specifiy sensors ... greetings, m. ------------------------------------------------------------------------------ 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 Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers