Announcement

Collapse
No announcement yet.

Locations Settings Error: Index was outside the bounds of the array.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Locations Settings Error: Index was outside the bounds of the array.

    Jeff,

    I'm sure this is related to the weather underground API going away, but I was trying to get into the settings to remove the weather underground as a source of data and use NOAA and open weather where possible, but I can't get to any settings. Is there a way to fix this without losing my current configuration?

    I set the logging level to debug, restarted, and started clicking through various menus here's what I get:
    Dec-24 09:32:04 weatherXML Error Index was outside the bounds of the array.
    Dec-24 09:32:01 weatherXML Error adminWeb map select: Index was outside the bounds of the array.
    Dec-24 09:31:53 weatherXML Error adminHST: Index was outside the bounds of the array.
    Dec-24 09:20:46 weatherXML Error Index was outside the bounds of the array.
    Dec-24 09:20:36 weatherXML Error adminWeb map select: Index was outside the bounds of the array.
    Dec-24 09:20:20 weatherXML Error webCombine: Index was outside the bounds of the array.
    Dec-24 09:19:22 weatherXML Error triggerList: Index was outside the bounds of the array.
    Dec-24 09:19:18 weatherXML Error alertSetup: Index was outside the bounds of the array.
    Dec-24 09:32:21 weatherXML page: weatherXML_plugins, data: &id=menuTopPlugins&menuTopPlugins=Submit
    Dec-24 09:32:20 weatherXML page: weatherXML_replace, data: &id=menuTopReplace&menuTopReplace=Submit
    Dec-24 09:32:18 weatherXML page: weatherXML_adv, data: &id=menuTopAdvanced&menuTopAdvanced=Submit
    Dec-24 09:32:16 weatherXML page: weatherXML_data, data: &id=menuTopDatabase&menuTopDatabase=Submit
    Dec-24 09:32:04 weatherXML page: weatherXML_units, data: &id=menuTopUnits&menuTopUnits=Submit
    Dec-24 09:32:03 weatherXML page: weatherXML_loc, data: &id=menuTopLocations&menuTopLocations=Submit
    Dec-24 09:32:01 weatherXML page: weatherXML_web, data: &id=menuTopWeb&menuTopWeb=Submit
    Dec-24 09:31:57 weatherXML page: weatherXML_config, data: &id=menuTopSettings&menuTopSettings=Submit
    Dec-24 09:31:55 weatherXML page: weatherXML_adv, data: &id=menuTopDevices&menuTopDevices=Submit
    Dec-24 09:31:53 weatherXML Finished saving data.
    Dec-24 09:31:53 weatherXML page: weatherXMLhst, data: &id=menuTopHSTouch&menuTopHSTouch=Submit
    Dec-24 09:31:48 weatherXML page: weatherXMLcustom, data: &id=menuTopCustom&menuTopCustom=Submit
    Dec-24 09:31:46 weatherXML page: weatherXML_adv, data: &id=menuTopAdvanced&menuTopAdvanced=Submit
    Dec-24 09:31:00 weatherXML Triggers to check: 0
    Dec-24 09:30:21 weatherXML Check if this address exists: weatherXML
    Dec-24 09:30:21 weatherXML Found RefID: 768
    Dec-24 09:30:21 weatherXML Check if this address exists: Speak Items Root
    Dec-24 09:30:21 weatherXML Found RefID: 883
    Dec-24 09:30:21 weatherXML Check if this address exists: Speak Items Root
    Dec-24 09:30:21 weatherXML Found RefID: 883
    Dec-24 09:30:20 weatherXML Plugin found: PHLocation
    Dec-24 09:30:20 weatherXML Check for integration plugins
    Dec-24 09:30:10 weatherXML Find any locations that use file watch
    Dec-24 09:30:10 weatherXML Finished setting up arrays
    Dec-24 09:30:10 weatherXML Finished Trigger: 1
    Dec-24 09:30:10 weatherXML Setup Alerts
    Dec-24 09:30:10 weatherXML Finished loading alerts
    Dec-24 09:30:10 weatherXML Load Triggers: 1
    Dec-24 09:30:10 weatherXML Finished loading hourly
    Dec-24 09:30:10 weatherXML Setup Alert Triggers
    Dec-24 09:30:10 weatherXML array: 1
    Dec-24 09:30:10 weatherXML Array Locations: 0
    Dec-24 09:30:10 weatherXML Array Locations loaded:
    Dec-24 09:30:10 weatherXML Setup Devices
    Dec-24 09:30:10 weatherXML Setup Hourly
    Dec-24 09:30:10 weatherXML Start background threads
    Dec-24 09:30:10 weatherXML Setup Locations
    Dec-24 09:30:10 weatherXML Separate Thread started for devices
    Dec-24 09:30:10 weatherXML Start the timer
    Dec-24 09:30:10 weatherXML Start 10 second delay before checking for integration plugins

    Thanks

  • #2
    It looks like the ini files got corrupted. Look in the the directory HS3/config/weatherxml and replace the files with ones from a recent backup.
    --
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2

    Comment


    • #3
      Thanks. I restored from a backup and it's working again. Any plans for a replacement for WU?

      Comment

      Working...
      X