The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: xAP and JMRI naming


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAP Weather Type Mismatch Error


  • Subject: Re: xAP Weather Type Mismatch Error
  • From: "darrenp_lock" <darrenlock@xxxxxxx>
  • Date: Wed, 24 Jan 2007 19:36:59 -0000

James,

just to confirm that I have been running this patch since Dec 12 and
all has been fine. Thank you very much.

Darren.

--- In xap_automation@xxxxxxx, James Traynor <james@...>
wrote:
>
> Hi,
> Well i might have some good news for you on this:
> www.mi4.biz/files/testing/20061211weather.zip
> I'm pretty sure I've found the offending line. While the data is
checked
> before loading the windspeed has a calculation appplied to it prior
to
> the checks. When windspeed became N/A it broke. I've been running
the
> enclosed exe for 5 days here and no crashes, so could you give it a
go
> and see how you get on?
>
> Thanks
>
> James
>
> darrenp_lock wrote:
> > Hi James,
> >
> > I have been running this for a number of weeks now and I get
about 2-
> > 3 outages a week from the BBC site. I think the reason this
worked OK
> > before my rebuild was that I was using a different (incorrect)
> > station id. I think you would only need to leave xAPWeather
running
> > for a week using world=4130 to replicate the problem. It would be
> > really good if you could catch this error as my xAPWeather runs
on an
> > unattended server in the loft and I have to keep checking :(
> >
> > Rgds, Darren.
> >
> > --- In xap_automation@xxxxxxx, James Traynor <james@>
> > wrote:
> >
> >> Darren,
> >> I tried this yesterday and got the same error. The trouble
was
that
> >>
> > the
> >
> >> bbc site had no data. In the Current Nearest Observations it
had
> >>
> > N/A for
> >
> >> everything.  Today, however, it has lots of data and xAP
Weather185
> >> works fine.
> >> I'm guessing there is something in there trying to load a n/a
in
> >>
> > to a
> >
> >> number field, hence the error. I'll try and replicate the
issue.
> >> For now could you give it another go?
> >> James
> >> darrenp_lock wrote:
> >>
> >>> Ah ha! OK so I applied patch 1.8.5, deleted my .ini and
tried
> >>>
> > again.
> >
> >>> Hold breath, cross toes.... nope still same error.
However,
> >>>
> > my .ini
> >
> >>> is much similar to yours now Edward:
> >>>
> >>> Station=world=4130
> >>> Forecast=
> >>> Longitude=-3.62
> >>> Latitude=52.07
> >>> CorF=c
> >>> MorK=m
> >>> Proxy=
> >>> UID=4001
> >>> TimeBetweenSends=600
> >>> TimeBetweenCollections=1200
> >>> AdjSunrise=
> >>> AdjSunset=
> >>> Slimp3=No
> >>> Tivo=No
> >>> UseHubPort=Yes
> >>>
> >>> I am wondering, that because this is a rebuild, if I am
missing
a
> >>> dependecy of some sort?
> >>>
> >>> NB: I have xAPSwitchboard installed and that appears to
be fine.
> >>>
> >>> --- In xap_automation@xxxxxxx, "Edward Pearson"
> >>> <edward.mailgroup@> wrote:
> >>>
> >>>
> >>>> Quite different from my .ini file which is:
> >>>>
> >>>> xAP Weather Settings
> >>>> --------------------
> >>>>
> >>>> Station=id=3834
> >>>> Forecast=id=3834
> >>>>
> >>>> Longitude=0.0715
> >>>> Latitude=52.2163
> >>>> CorF=c
> >>>> MorK=m
> >>>>
> >>>> Proxy=
> >>>> UID=4001
> >>>> TimeBetweenSends=120
> >>>> TimeBetweenCollections=1200
> >>>> AdjSunrise=
> >>>> AdjSunset=
> >>>> Slimp3=Yes
> >>>> Tivo=No
> >>>> UseHubPort=Yes
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>   _____
> >>>>
> >>>> From: xap_automation@xxxxxxx
> >>>>
> >>>>
> >>> [mailto:xap_automation@xxxxxxx]
> >>>
> >>>
> >>>> On Behalf Of darrenp_lock
> >>>> Sent: 23 November 2006 13:33
> >>>> To: xap_automation@xxxxxxx
> >>>> Subject: [xap_automation] xAP Weather Type Mismatch
Error
> >>>>
> >>>>
> >>>>
> >>>> James,
> >>>>
> >>>> I have just rebuilt my NodeZero and I have the
following in my
> >>>> Weather.ini file:
> >>>>
> >>>> Station=world=4130
> >>>> Forecast=world=4130
> >>>> UID=4001
> >>>> TimeBetweenSends=600
> >>>> TimeBetweenCollections=1200
> >>>> Longitude=-3.62
> >>>> Latitude=52.07
> >>>> Slimp3=No
> >>>> Tivo=No
> >>>>
> >>>> However, when I start xAPWeather I get a Type
Mismatch error
and
> >>>>
> >>>>
> >>> the
> >>>
> >>>
> >>>> program exits.
> >>>>
> >>>> These values came from the BBC Weather site at:
> >>>> http://www.bbc.
> >>>> <http://www.bbc.co.uk/print/weather/5day.shtml?
world=4130&print>
> >>>> co.uk/print/weather/5day.shtml?world=4130&print
> >>>>
> >>>> Any ideas?
> >>>> Rgds, Darren.
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> Yahoo! Groups Links
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>






xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.