RE: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-17 Thread Graham Seward
to read now. Once again thanks for your help Graham From: weewx-user@googlegroups.com <weewx-user@googlegroups.com> On Behalf Of vk3...@gmail.com Sent: 12 April 2018 04:42 To: weewx-user <weewx-user@googlegroups.com> Subject: [weewx-user] Re: weewx crashes with error: unp

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-11 Thread Graham Seward
i36> From: weewx-user@googlegroups.com <weewx-user@googlegroups.com> on behalf of vk3...@gmail.com <vk3...@gmail.com> Sent: Thursday, April 12, 2018 4:41:41 AM To: weewx-user Subject: [weewx-user] Re: weewx crashes with error: unpack requires a

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-11 Thread vk3anz
Hello Graham, I've not been able to come up with anything so far but I'm still looking at this. It is a real puzzle because there should be log file entries from WeeWx if my code was exiting or encountering a fault etc.. Instead there is nothing in the log file. I'm still looking into

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-09 Thread Graham
>>> happens this time. Incidentally if I set the loop-delay to 60 secs the >>>> program doesn’t run at all – currently set at 30secs. >>>> >>>> >>>> >>>> Sorry to be a nuisance! >>>> >>>> Graham >&

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-08 Thread vk3anz
time. Incidentally if I set the loop-delay to 60 secs the >> program doesn’t run at all – currently set at 30secs. >> >> >> >> Sorry to be a nuisance! >> >> Graham >> >> >> >> *From:* weewx...@googlegroups.com <weewx...@googlegroup

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-04 Thread vk3anz
.com > *Sent:* 04 April 2018 03:50 > *To:* weewx-user <weewx...@googlegroups.com > > *Subject:* Re: [weewx-user] Re: weewx crashes with error: unpack requires > a string of len 104 > > > > G - too long since I wrote the code and I made a stupid mistake. The

RE: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-04 Thread Graham Seward
@googlegroups.com <weewx-user@googlegroups.com> On Behalf Of vk3...@gmail.com Sent: 04 April 2018 03:50 To: weewx-user <weewx-user@googlegroups.com> Subject: Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104 G - too long since I wrote the cod

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-03 Thread vk3anz
G - too long since I wrote the code and I made a stupid mistake. The two 'loginf' lines should read loginf('Bad data: length = {0}'.format(len(rxData))) loginf('Bad data: "{0}"'.format(rxData)) I've attached your file with the correction in it. Sorry about that. Susan -- You received

RE: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-03 Thread Graham Seward
of a loss to know how. Any suggestions gratefully received. Graham. From: weewx-user@googlegroups.com <weewx-user@googlegroups.com> On Behalf Of vk3...@gmail.com Sent: 03 April 2018 04:50 To: weewx-user <weewx-user@googlegroups.com> Subject: Re: [weewx-user] Re: weewx crashe

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-03 Thread Graham
Thanks Susan I will have a go at this later today. I am a newbie at Python so it will be a step forward on my learning curve! Regret Bob’s driver didn’t do the trick but I’m grateful to him for the help. Graham Sent from my iPad > On 3 Apr 2018, at 04:49, vk3...@gmail.com wrote: > > First off,

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-02 Thread vk3anz
First off, my apologies to all - given the subject line I completely missed that this question was related to my HP1000 driver. Given the line number, you are using the latest version of the driver (I note that the driver that Bob provides above is based on the earlier version). Is it possible

Re: [weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-02 Thread Graham
Thanks Bob I’ll be giving a try tomorrow. Graham Sent from my iPad > On 2 Apr 2018, at 19:00, rmc...@gmail.com wrote: > > > >> On Monday, April 2, 2018 at 11:21:05 AM UTC-4, Graham Seward wrote: >> Thanks Bob >> I look forward to seeing it - like you though I'm not a programmer and not >>

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-02 Thread rmc7mm
On Monday, April 2, 2018 at 11:21:05 AM UTC-4, Graham Seward wrote: > > Thanks Bob > I look forward to seeing it - like you though I'm not a programmer and not > sure I'll be able to hack the driver myself - still I'll have a go! > As you say, hopefully Susan will see this. > Many thanks >

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-02 Thread Graham Seward
Thanks Bob I look forward to seeing it - like you though I'm not a programmer and not sure I'll be able to hack the driver myself - still I'll have a go! As you say, hopefully Susan will see this. Many thanks Graham -- You received this message because you are subscribed to the Google Groups

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-02 Thread rmc7mm
On Monday, April 2, 2018 at 9:48:57 AM UTC-4, Graham Seward wrote: > > Hi > Did you ever get a solution to this issue. I have weewx running with > Susan's HP1000 driver connecting to a Maplin N23-dq (HP1000 clone). Took me > a while to get it going in first place but eventually a firmware

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2018-04-02 Thread Graham Seward
Hi Did you ever get a solution to this issue. I have weewx running with Susan's HP1000 driver connecting to a Maplin N23-dq (HP1000 clone). Took me a while to get it going in first place but eventually a firmware upgrade on the HP1000 resulted in success. However after a couple of hours of

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2017-04-15 Thread Andrew Milner
Well it looks as though the HP1001 driver had a problem with data received f4rom the station. I suspect you need to run with debug set in order to determine exactly what is going on inside the driver to cause the error to be thrown, but I suspect it has received a packet of incorrect length

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2017-04-15 Thread rmc7mm
Your right Andrew, I didn't give much information. The farther I get into my dottage the more I forget other people can't read my mind. I have a Ambient ws1001, Firmware is ver 2.6.1, weewx 3.7.1, with Susans HP1001 driver. root@raspberrypi:/home/pi# systemctl status weewx ● weewx.service -

[weewx-user] Re: weewx crashes with error: unpack requires a string of len 104

2017-04-15 Thread Andrew Milner
The subject says very little!! What type of station are you running, what version of weewx and how about posting the actual log extract rather than the summary since the log will have identified the module giving the error. On Saturday, 15 April 2017 20:26:08 UTC+3, rmc...@gmail.com wrote: