2010-04-02, 01:44 AM
I'm just glad it was something simple like a URL change rather than something that affected the scraper.
2010-04-02, 01:44 AM
I'm just glad it was something simple like a URL change rather than something that affected the scraper.
2010-04-02, 01:54 AM
it was a fairly simple change, but it showed me that I need to put in better exception handling if things like this occur again...
Plus, it brought to my attention a separate bug, which has been fixed
Author of Weather (NPVR) & Weather2 (GBPVR)
2010-07-07, 02:10 PM
I have a similar problem, I am using the latest version of Weather2, windows xp sp3. Location is Cape Town, no maps selected.
log file extract is- 2010-07-07 13:36:48.765 ERROR [6] FATAL UNHANDLED EXCEPTION:: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at weather2.CommonMethods.GetMonthDayFromDateTime(DateTime _date) at weather2.MapList.LoadMapDictionary() at weather2.MapList.LoadMaps(Boolean _downloadNewMaps) at weather2.AccuweatherXML.ParseDataAndDownloadMaps() at weather2.WeatherTask.ParseData() at weather2.WeatherTask.UpdateWeatherThread() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() Any suggestions
2010-07-07, 02:24 PM
Ericwm Wrote:I have a similar problem, I am using the latest version of Weather2, windows xp sp3. Location is Cape Town, no maps selected.I am guessing your regional settings has the year first? i.e. YYYY/MM/DD ? I have a fix for this, but I haven't made a release yet... As a current workaround, you could change your regional date settings in Windows to something else that doesn't start with a year.
Author of Weather (NPVR) & Weather2 (GBPVR)
2010-07-08, 09:31 AM
Thanks very much - I changed the short date format as you suggested and Weather2 is working fine.
2010-07-08, 01:29 PM
I uploaded a new version yesterday that fixes this problem (hopefully)
Author of Weather (NPVR) & Weather2 (GBPVR)
|
|