Announcement

Collapse
No announcement yet.

Error Starting Plugin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error Starting Plugin

    Hi. I was testing V3 of this plugin. Liked it and wanted to purchase. I bought the v4 key. Installed v4 of the plugin.

    When starting it, I get the following error:

    **FATAL**: Failed to initialize plugin - see log for details: An item with the same key has already been added. Key: 6723187

    Log file:

    12/1/2022 09:15:47.263 Info HSPI.Initialize - Homeseer Version: 4.2.16.0
    12/1/2022 09:15:47.266 Info HSPI.Initialize - Running on Linux Version 1 using Mono version 6.12.0.122
    12/1/2022 09:15:47.266 Info HSPI.Initialize - Honeywell WiFi Thermostat Version: 4.2.0.6
    12/1/2022 09:15:47.267 Info HSPI.Initialize - Honeywell WiFi Thermostat Core Version: 1.0.0.5
    12/1/2022 09:15:47.345 Error HSPI.Initialize - Failed to setup plugin: An item with the same key has already been added. Key: 6723187
    System.ArgumentException: An item with the same key has already been added. Key: 6723187
    at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <533173d24dae460899d2b10975534bb0>:0
    at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
    at HSPI_SKWARE_HW_WIFI_TSTAT.HSPI.SetupRootObjects () [0x004b6] in <7be26e5d48da4e529ec24007b1a8b8e6>:0
    at HSPI_SKWARE_HW_WIFI_TSTAT.HSPI.CheckRootDevices () [0x0007b] in <7be26e5d48da4e529ec24007b1a8b8e6>:0
    at HSPI_SKWARE_HW_WIFI_TSTAT.HSPI.Initialize () [0x00384] in <7be26e5d48da4e529ec24007b1a8b8e6>:0​


    I tried removing the plugin and reinstalling with the same error.

    #2
    So I figured out that 6723187 was one of my thermostats. So I deleted both of them. Plugin Started correctly.

    Comment


      #3
      Closing this as resolved, though I did add some logic to defend against this in the future!

      Comment

      Working...
      X