Hi Marcus,
With each eMail I gain a bit more understanding! And yes, I am enjoying
learning Python:)
I have played with it directly in a terminal and yes I understand now
what is happening and it works fine. However my test script seems to be
running too fast, so I suspect that it is still cach
Hi Mick,
thanks for your mail ... although there is no reason to fear about
learning python ;) - its exciting and fun ;)
well - it's just a small thing you are doing wrong ... but its very
important to understand ... ;)
within your loop in every iteration the loop assigns a variable "s" - on
ev
Hi Marcus,
Sorry it has taken me a while to reply. I have tested it your
suggestion and of course it works fine. It all seemed so obvious when I
read your reply:)
Another question, I can't get it to stop cacheing. Even following the
example on your web page, I get -
>>> connection = Connec
Hi mick,
i am really sorry, but obviously your post scrolled out of my inbox
view ... and i just forgot it ;)
well, KeyError is the desired behaviour when you do a "get" on a
"dictionary" like object ... so your code should be prepared for it ;)
as i see aou alread catch the IOError - however i
Hi Marcus,
Could you give me any pointers on this please? I am fairly sure that
the problem is that in line 95 of owfs.py it has raise KeyError(key)
Is it possible for this to return something rather than raising an
error? That way I could pick it up in my code and stop it crashing.
Thanks
Mic
Hi Marcus,
Thanks for your fast response. I just tested version 0.1.3, I now get
Start of loop 21530
S1 reading
temp = 26.5
id = 522FA9010800
present = 1
power = 0
S2 reading
temp = something wrong with temp
None
id = 2054A9010800
present =
Traceback (most recent call last):
File ".
Thanks Marcus,
I am away from home at the moment but will try to test it at the weekend
Mick
On Mon, 2010-05-17 at 15:37 +0200, Marcus Priesch wrote:
> Hi mick, dear all,
>
> new version 0.1.3 just uploaded to pypi ;)
>
> as i only tested it briefly i hope it works also for you ;)
>
> if not,
Hi mick, dear all,
new version 0.1.3 just uploaded to pypi ;)
as i only tested it briefly i hope it works also for you ;)
if not, please tell me!
regards & thanks for using it!
marcus.
--
Hi mick,
thanks for pointing this out ... i will fix it ;)
regards,
marcus.
Am Sonntag, den 16.05.2010, 10:44 +0100 schrieb Mick Sulley:
> Hi,
>
> I am trying to develop a system using pyowfs. I need the system to cope
> with sensors being disconnected without crashing.
>
> I have put try: ex
Hi,
I am trying to develop a system using pyowfs. I need the system to cope
with sensors being disconnected without crashing.
I have put try: except statements in my code, but when I disconnect a
sensor I now get an error from the owfs.py code, it says -
The debugged program raised the excepti
10 matches
Mail list logo