Announcement

Collapse
No announcement yet.

Error after installing 1.1.3613.39559

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

    Error after installing 1.1.3613.39559

    Hi,

    After upgrading to 1.1.3613.39559; I get the following error that keeps repeating; but the hspi_ultram1g_debug.log is empty:



    <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>12/24/2009 1:49:42 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Error </TD><TD class=LOGEntry0 colSpan=8 align=left>An unexpected error occured in the ProcessCommand() function/subroutine: [System.InvalidCastException: Conversion from string "I" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value, NumberFormatInfo NumberFormat) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/24/2009 1:49:42 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Error </TD><TD class=LOGEntry1 colSpan=8 align=left>Data that caused error in ProcessCommand() subroutine: Len=28, Cmd=SS, Data=00000000010000000000I000000000000e, Reserved=00</TD></TR></TBODY></TABLE>
    OS: Windows 2003 Server
    HomeSeer Ver: 2.4.0.6 running as a service
    Running as Service: Yes
    Antivirus: No

    Any ideas on what this is and how to fix it?

    -Bob
    Last edited by iiidmaxer; December 25, 2009, 09:07 AM.

    #2
    I am having a similar problem when the state data gets loaded. Mine appears to be related to DateTime.

    12/23/2009 6:20:59 PM UltraM1G Info Waiting for current state information to be downloaded from the M1 ...
    12/23/2009 6:21:00 PM UltraM1G Error An unexpected error occured in the ProcessCommand() function/subroutine: [System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]
    12/23/2009 6:21:00 PM UltraM1G Error Data that caused error in ProcessCommand() subroutine: Len=1C, Cmd=LD, Data=1367001123190400010604, Reserved=00
    12/23/2009 6:21:00 PM UltraM1G Error An unexpected error occured in the ProcessCommand() function/subroutine: [System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]
    12/23/2009 6:21:00 PM UltraM1G Error Data that caused error in ProcessCommand() subroutine: Len=1C, Cmd=LD, Data=1367001223190400009604, Reserved=00
    12/23/2009 6:21:00 PM UltraM1G Error An unexpected error occured in the ProcessCommand() function/subroutine: [System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]
    12/23/2009 6:21:00 PM UltraM1G Error Data that caused error in ProcessCommand() subroutine: Len=1C, Cmd=LD, Data=1139109123190400008604, Reserved=00

    12/23/2009 6:21:01 PM UltraM1G Info Elk M1 firmware version 05.01.20 detected.
    12/23/2009 6:21:01 PM UltraM1G Info Download of current state information complete.

    Comment


      #3
      Originally posted by iiidmaxer View Post
      Hi,

      After upgrading to 1.1.3613.39559; I get the following error that keeps repeating; but the hspi_ultram1g_debug.log is empty:



      <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>12/24/2009 1:49:42 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Error </TD><TD class=LOGEntry0 colSpan=8 align=left>An unexpected error occured in the ProcessCommand() function/subroutine: [System.InvalidCastException: Conversion from string "I" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value, NumberFormatInfo NumberFormat) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/24/2009 1:49:42 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Error </TD><TD class=LOGEntry1 colSpan=8 align=left>Data that caused error in ProcessCommand() subroutine: Len=28, Cmd=SS, Data=00000000010000000000I000000000000e, Reserved=00</TD></TR></TBODY></TABLE>
      OS: Windows 2003 Server
      HomeSeer Ver: 2.4.0.6 running as a service
      Running as Service: Yes
      Antivirus: No

      Any ideas on what this is and how to fix it?

      -Bob
      This is a bug. I'll post an update today.

      Regards,
      Ultrajones
      Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

      Comment


        #4
        Originally posted by Kirby View Post
        I am having a similar problem when the state data gets loaded. Mine appears to be related to DateTime.

        12/23/2009 6:20:59 PM UltraM1G Info Waiting for current state information to be downloaded from the M1 ...
        12/23/2009 6:21:00 PM UltraM1G Error An unexpected error occured in the ProcessCommand() function/subroutine: [System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]
        12/23/2009 6:21:00 PM UltraM1G Error Data that caused error in ProcessCommand() subroutine: Len=1C, Cmd=LD, Data=1367001123190400010604, Reserved=00
        12/23/2009 6:21:00 PM UltraM1G Error An unexpected error occured in the ProcessCommand() function/subroutine: [System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]
        12/23/2009 6:21:00 PM UltraM1G Error Data that caused error in ProcessCommand() subroutine: Len=1C, Cmd=LD, Data=1367001223190400009604, Reserved=00
        12/23/2009 6:21:00 PM UltraM1G Error An unexpected error occured in the ProcessCommand() function/subroutine: [System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]
        12/23/2009 6:21:00 PM UltraM1G Error Data that caused error in ProcessCommand() subroutine: Len=1C, Cmd=LD, Data=1139109123190400008604, Reserved=00

        12/23/2009 6:21:01 PM UltraM1G Info Elk M1 firmware version 05.01.20 detected.
        12/23/2009 6:21:01 PM UltraM1G Info Download of current state information complete.
        I don't know why some Elk M1 log entires are using invalid dates. I'll add code to convert an invalid date/time to the current date time so you can still view the log entry stored in the Elk M1 log.

        I'll post the update within the hour.

        Regards,
        Ultrajones
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #5
          UltraM1G version 1.1.3647.19798 was just posted.

          Regards,
          Ultrajones
          Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

          Comment


            #6
            The new version solved my problem. Thanks for your fast response.
            BTW, I have an M1EZ8. On that unit the clock does not have its own battery so the time is not maintained between power cycles. As a result you get some strange times in the log ie 2004 and 2005 years until you restart HomeSeer and your plugin resets the clock. This may have been a factor in what was happening.

            Thanks,

            Kirby

            Comment


              #7
              Ultrajones ,

              I used the HS updater and got 1.1.3647.20071; here is what I get now when I start up the plugin:

              <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry1 colSpan=8 align=left>UltraM1G version 1.1.3647.20071 starting ...</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType0 colSpan=3 align=left>Plug-In </TD><TD class=LOGEntry0 colSpan=8 align=left>Initializing Plug-in: UltraM1G</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry1 colSpan=8 align=left>UltraM1G - initializing I/O ...</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry0 colSpan=8 align=left>Attemping initial communication with Elk M1 ...</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry1 colSpan=8 align=left>Updating ELK M1 internal real-time clock to 12/26/2009 9:10:58 PM</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry0 colSpan=8 align=left>Elk Real Time Clock reports: 12/26/2009 21:10:58, mm/dd format, 12 hour format, DST is Inactive</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:10:58 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry1 colSpan=8 align=left>Initial communication with Elk M1 was successful.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/26/2009 9:11:05 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry0 colSpan=8 align=left>Waiting for current state information to be downloaded from the M1 ...</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:11:09 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry1 colSpan=8 align=left>Elk M1 firmware version 05.01.20 detected.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/26/2009 9:11:09 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Error </TD><TD class=LOGEntry0 colSpan=8 align=left>An unexpected error occured in the ProcessCommand() function/subroutine: [System.InvalidCastException: Conversion from string "S" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value, NumberFormatInfo NumberFormat) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble( String Value) at HSPI_ULTRAM1G.HSPI_M1G.ProcessCommand(String strLen, String strCmd, String strData, String strReserved)]</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:11:09 PM </TD><TD class=LOGType1 colSpan=3 align=left>UltraM1G Error </TD><TD class=LOGEntry1 colSpan=8 align=left>Data that caused error in ProcessCommand() subroutine: Len=28, Cmd=SS, Data=00000000010000000000S000000000000e, Reserved=00</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/26/2009 9:11:09 PM </TD><TD class=LOGType0 colSpan=3 align=left>UltraM1G Info </TD><TD class=LOGEntry0 colSpan=8 align=left>Download of current state information complete.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/26/2009 9:11:09 PM </TD><TD class=LOGType1 colSpan=3 align=left>Plug-In </TD><TD class=LOGEntry1 colSpan=8 align=left>Finished initializing plug-in UltraM1G</TD></TR></TBODY></TABLE>

              Is there another version that I should be using?


              -Bob

              Comment


                #8
                I think I fixed the issue. Please download UltraM1G version 1.1.3661.18801 to see if it fixes the issue you reported.

                Regards,
                Ultrajones
                Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                Comment


                  #9
                  Thanks Ultrajones! The version upgrade did the trick.

                  Comment

                  Working...
                  X