Announcement

Collapse
No announcement yet.

Exception error in PagePut()-->For-Next Loop

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

  • Exception error in PagePut()-->For-Next Loop

    This error message is baffling me. For the life of me, I cannot tell what is going on here. Oddly enough, I can turn the unit on and off, but I cannot load a slot. Here is what I get -- can anyone shed any insight?

    <TABLE cellSpacing=2 cellPadding=0 width="100%" border=0><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Interface CX777ES is running as a trial, 29 days remaining.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>Entering RegisterCallback()...</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Info </TD><TD class=LOGEntry0 align=left colSpan=8>Application path: C:\Program Files\HomeSeer 2</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Info </TD><TD class=LOGEntry1 align=left colSpan=8>RegisterCallback Completed...</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Initializing Plug-in: CX777ES on COM port 1</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>Entering InitIO()....</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>WriteDebugLog()- Log directory already exists.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>About to read config file entries</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>LoadConfigSettings()....</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>***************************************</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>CX777ES Debug Enabled.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>CX777ES Debug Logging to AppDirPath\Logs\CX777ES.log.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>CX777ES HS-Version: 2.3.0.19</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>CX777ES Plug-In Version: 2.2.0.12</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>***************************************</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>Entering InitHW()....</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>Entering...InitDevices().</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>Entering...EnumerateDevices().</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>Found a plug-in device at \1</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>Entering...CreateDevices().</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>Entering InitCommon()....</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>Entering InitSony()....</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>Entering ComPort()....</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Info </TD><TD class=LOGEntry1 align=left colSpan=8>ComPort is Initializing....</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Info </TD><TD class=LOGEntry0 align=left colSpan=8>COM1: Opened Successfully.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>InitIO()->Initialized CX777ES Plugin successfully</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:54:14 PM </TD><TD class=LOGType0 align=left colSpan=3>Info </TD><TD class=LOGEntry0 align=left colSpan=8>Finished initializing plug-in CX777ES</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:54:59 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>GenPage called with: /cx777es_control</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:55:19 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>Entering...PagePut()</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>12/29/2008 1:55:19 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Error </TD><TD class=LOGEntry1 align=left colSpan=8>Exception error in PagePut()-->For-Next Loop.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>12/29/2008 1:55:19 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>GenPage called with: /cx777es_control</TD></TR></TBODY></TABLE>

    I should let you know that it was working -- no problems. I updated from version 2.2.0.12 to 2.2.0.14 and that is when I started to experience this problem. I've tried again to downgrade back to 2.2.0.12 and the problem is persisting. Please advise.

    Thanks,
    -C

  • #2
    Chris,
    Just a guess but is there an aspx page that comes with this plugin? If so try backing it up an then removing it and then reinstall the plugin. This page was more than likely updated but the installer may not have overwritten it.
    -Rupp
    sigpic

    Comment


    • #3
      Originally posted by Rupp View Post
      Chris,
      Just a guess but is there an aspx page that comes with this plugin? If so try backing it up an then removing it and then reinstall the plugin. This page was more than likely updated but the installer may not have overwritten it.
      No, the only files in the updates folder that contains the latest files are:

      Folder: <APPPATH>\updates2\Sony CX777ES Plug-In2.2.0.14\...

      CX777ES-75.gif (haven't seen this graphic in the plug-in)
      CX777ES.lf (license file)
      CX777ES-Doc.htm (readme/instructions)
      CX777ES-Readme.txt (readme/instructions)
      hspi_CX777ES.dll (the plug-in)
      install.txt (where the files go)

      That's it. The DLL creates the page and generates the commands from what I can tell. Thoughts?

      Comment


      • #4
        I would suggest putting in a help desk ticket on this issue.
        -Rupp
        sigpic

        Comment


        • #5
          Originally posted by Rupp View Post
          I would suggest putting in a help desk ticket on this issue.
          To add to my testing today...I really want this to work...I loaded DVD Profiler on my WHS server where HS is running and connected directly to my DVD changer. I'm using the LoadDVD plug-in and I was able to successfully change discs through the application (on a separate COM port). When I use that COM port in HS, no luck...so I doubt it's a COM configuration issue. I think it has something to do with the latest version of HS and the plug-in. I have a ticket and we'll wait and see.

          Comment


          • #6
            I am the plugin author, and I will check into the PagePut routine tonight. It is possible that I mistakenly changed something in the For-Next loop, although that area of the plugin was not targeted for any changes.
            -Larry

            A member of "The HA Pioneer Group", MyWebSite

            Plugins:
            VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

            Hardware:
            Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

            Comment


            • #7
              Originally posted by lpitman View Post
              I am the plugin author, and I will check into the PagePut routine tonight. It is possible that I mistakenly changed something in the For-Next loop, although that area of the plugin was not targeted for any changes.
              Great -- thanks for looking into it. I was wondering what the GIF was for? I don't see it anywhere in the pages that are displayed.

              Any new features in the works or are you interested in receiving some additional feedback?

              Thanks!

              Comment


              • #8
                Hello?

                What's the scoop? My trial is running out and I want to get this working before it expires. Any news on researching my problem?

                Comment


                • #9
                  <table border="0" cellpadding="0" cellspacing="2" width="100%"><tbody><tr><td class="LOGDateTime1" align="left" nowrap="nowrap">12/29/2008 1:54:14 PM </td><td class="LOGType1" colspan="3" align="left">CX777ES Debug </td><td class="LOGEntry1" colspan="8" align="left">***************************************</td></tr><tr><td class="LOGDateTime0" align="left" nowrap="nowrap">12/29/2008 1:54:14 PM </td><td class="LOGType0" colspan="3" align="left">CX777ES Debug </td><td class="LOGEntry0" colspan="8" align="left">CX777ES Debug Enabled.</td></tr><tr><td class="LOGDateTime1" align="left" nowrap="nowrap">12/29/2008 1:54:14 PM </td><td class="LOGType1" colspan="3" align="left">CX777ES Debug </td><td class="LOGEntry1" colspan="8" align="left">CX777ES Debug Logging to AppDirPath\Logs\CX777ES.log.</td></tr><tr><td class="LOGDateTime0" align="left" nowrap="nowrap">12/29/2008 1:54:14 PM </td><td class="LOGType0" colspan="3" align="left">CX777ES Debug </td><td class="LOGEntry0" colspan="8" align="left">CX777ES HS-Version: 2.3.0.19</td></tr><tr><td class="LOGDateTime1" align="left" nowrap="nowrap">12/29/2008 1:54:14 PM </td><td class="LOGType1" colspan="3" align="left">CX777ES Debug </td><td class="LOGEntry1" colspan="8" align="left">CX777ES Plug-In Version: 2.2.0.12</td></tr><tr><td class="LOGDateTime0" align="left" nowrap="nowrap">12/29/2008 1:54:14 PM </td><td class="LOGType0" colspan="3" align="left">CX777ES Debug </td><td class="LOGEntry0" colspan="8" align="left">***************************************</td></tr><tr><td class="LOGDateTime1" align="left" nowrap="nowrap">
                  </td></tr></tbody></table>
                  The debug screen you posted shows the plug-in version 2.2.0.12 not 2.2.0.14.

                  I compared the two versions and can not see a difference in the code for that particular page_put() routine. I am at a loss to find a problem introduced in version 2.2.0.14 that would not have been in 2.2.0.12 ????

                  Please make sure you are using the 2.2.0.14 code, it should show in the debug output as noted above.
                  -Larry

                  A member of "The HA Pioneer Group", MyWebSite

                  Plugins:
                  VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

                  Hardware:
                  Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

                  Comment


                  • #10
                    Hi. So, interestingly enough, I checked the actual page that is in HS, it states 2.0.0.14. I decided to stop/start the service and have it start up again and it also shows the following:

                    <TABLE cellSpacing=2 cellPadding=0 width="100%" border=0><TBODY><TR><TD class=LOGDateTime1 noWrap align=left>1/11/2009 3:03:47 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>CX777ES Debug Enabled.</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>1/11/2009 3:03:47 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>CX777ES Debug Logging to AppDirPath\Logs\CX777ES.log.</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>1/11/2009 3:03:47 PM </TD><TD class=LOGType1 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry1 align=left colSpan=8>CX777ES HS-Version: 2.3.0.19</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>1/11/2009 3:03:47 PM </TD><TD class=LOGType0 align=left colSpan=3>CX777ES Debug </TD><TD class=LOGEntry0 align=left colSpan=8>CX777ES Plug-In Version: 2.2.0.14</TD></TR></TBODY></TABLE>

                    Is there something else I can try as I'd like to get this working.

                    Comment

                    Working...
                    X