Many 10's of thousands of tests and good so far.
But I discovered something else: I got bored with seeing 21C over and over
so I sprayed one of my thermometers with liquid butane that I was using to
test something else. My program immediately crashed! I sure wasn't
expecting that...
It turns out that I assumed that the temperature output would be <type
'float'> - reasonable? - but it isn't. It's int if the temperature happens
to be an integer, which is ok because int coerces to float nicely, but it is
<type 'string'> when it is negative! This is not ok because strings do not
coerce to numbers. I never would have noticed this if I hadn't had this
little can of butane nearby.
I'm looking over the situation and will report when I have some information.
On 6/28/07, Doug Collinge <[EMAIL PROTECTED]> wrote:
Thanks, everyone! I checked the new changes out of CVS and I'm currently
testing.
On 6/28/07, Christian Magnusson <[EMAIL PROTECTED] > wrote:
> I checked in the changes to the CVS.
>
>
>
> /Christian
>
>
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Michael
> Weber
> *Sent:* den 28 juni 2007 10:20
> *To:* [email protected]
> *Subject:* Re: [Owfs-developers] ownet/python crashing sporadically in
> connection.py
>
>
>
> I had the same problem, and got that answer:
>
>
>
> Yes. There is a simple fix for this in the connection.py file which =20
>
> is part of the module. It should be in your site-python directory tree.
>
>
>
> Here's a diff:
>
>
>
> # diff connection.py connection.py.org
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers