Announcement

Collapse
No announcement yet.

Install successful but Critical plugin has disconnected message after

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

    Install successful but Critical plugin has disconnected message after

    I have successfully installed the plugin. After enabling the plugin, i see an error critical plugin has disconnected. Then it goes to ok for a second or so, then shows the error again. I have disabled and re enabled the plugin a few times but the error doesnt clear.
    This is in the log:

    May-13 21:16:14 PHLocation (Startup) Plug-in version is: 3.0.1.84
    May-13 21:16:14 PHLocation (LoadPiSettings) UTC offset secs: 3600
    May-13 21:16:14 PHLocation (LoadPiSettings) Using stored iCloud client ID: 3564A1A2-57B1-49FD-89E7-12EE0E6B1B79
    May-13 21:16:14 PHLocation (LoadPiSettings) iCloud retry time 5000 ms.
    May-13 21:16:14 PHLocation (LoadPiSettings) iCloud give up after 5 tries.
    May-13 21:16:14 PHLocation (LoadPiSettings) iCloud max retries set to 6
    May-13 21:16:14 PHLocation (LoadPiSettings) BinPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation\
    May-13 21:16:14 PHLocation (LoadPiSettings) DataPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation\PHLocation.phd
    May-13 21:16:14 PHLocation (LoadPiSettings) MapPath = html\PHLocation\Maps\
    May-13 21:16:14 PHLocation (LoadPiSettings) ImagePath = images\PHLocation\
    May-13 21:16:14 PHLocation (LoadPiSettings) LogPath = html\PHLocation\Logs\
    May-13 21:16:14 PHLocation (LoadPiSettings) HSAppPath = C:\Program Files (x86)\HomeSeer HS3
    May-13 21:16:14 PHLocation (Startup) System decimal separator used is [.]
    May-13 21:16:14 PHLocation (Startup) Detected OS is Windows version 6.2.9200.0
    May-13 21:16:14 PHLocation (Startup) Begins at 09:16:14.703
    May-13 21:16:14 Info Plugin PHLocation has connected. IP:127.0.0.1:63983

    #2
    Originally posted by mikee123 View Post
    I have successfully installed the plugin. After enabling the plugin, i see an error critical plugin has disconnected. Then it goes to ok for a second or so, then shows the error again. I have disabled and re enabled the plugin a few times but the error doesnt clear.
    This is in the log:

    May-13 21:16:14 PHLocation (Startup) Plug-in version is: 3.0.1.84
    May-13 21:16:14 PHLocation (LoadPiSettings) UTC offset secs: 3600
    May-13 21:16:14 PHLocation (LoadPiSettings) Using stored iCloud client ID: 3564A1A2-57B1-49FD-89E7-12EE0E6B1B79
    May-13 21:16:14 PHLocation (LoadPiSettings) iCloud retry time 5000 ms.
    May-13 21:16:14 PHLocation (LoadPiSettings) iCloud give up after 5 tries.
    May-13 21:16:14 PHLocation (LoadPiSettings) iCloud max retries set to 6
    May-13 21:16:14 PHLocation (LoadPiSettings) BinPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation\
    May-13 21:16:14 PHLocation (LoadPiSettings) DataPath = C:\Program Files (x86)\HomeSeer HS3\Data\PHLocation\PHLocation.phd
    May-13 21:16:14 PHLocation (LoadPiSettings) MapPath = html\PHLocation\Maps\
    May-13 21:16:14 PHLocation (LoadPiSettings) ImagePath = images\PHLocation\
    May-13 21:16:14 PHLocation (LoadPiSettings) LogPath = html\PHLocation\Logs\
    May-13 21:16:14 PHLocation (LoadPiSettings) HSAppPath = C:\Program Files (x86)\HomeSeer HS3
    May-13 21:16:14 PHLocation (Startup) System decimal separator used is [.]
    May-13 21:16:14 PHLocation (Startup) Detected OS is Windows version 6.2.9200.0
    May-13 21:16:14 PHLocation (Startup) Begins at 09:16:14.703
    May-13 21:16:14 Info Plugin PHLocation has connected. IP:127.0.0.1:63983
    Is there by any chance a copy of System.Data.SQLite.dll in your main HS3 folder?

    Paul..

    Comment


      #3
      No, I can only see one.

      Comment


        #4
        Are there any error dialogues on the HS3 machine when it disconnects?

        On the plug-ins manage page,
        Disable the plug-in.
        Set the Developer Mode option at the top left to ON.
        Enable the plug-in.

        On the HS3 machine's UI you should see a console window when the plug-in starts. I suspect there will be something in there showing why it failed.

        Switch the Developer Mode option to OFF when done.

        Paul..

        Comment


          #5
          Ok this is the result:
          Attached Files

          Comment


            #6
            Mike, I've sent you an email.

            Paul..

            Comment


              #7
              Originally posted by mikee123 View Post
              No, I can only see one.


              There should be zero in the root directory.


              Sent from my Phone using Tapatalk
              HS 4.2.8.0: 2134 Devices 1252 Events
              Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

              Comment


                #8
                I have the same problem. Was there a solution to this issue.
                Thanks
                John

                Comment


                  #9
                  I have the same problem. Was there a solution to this issue.
                  Thanks
                  John

                  Comment


                    #10
                    Originally posted by jmmorgan View Post
                    I have the same problem. Was there a solution to this issue.
                    Thanks
                    John
                    The problem is that something (possibly another plug-in's installation routine) put a copy of System.Data.SQLite.dll in your HS3 root directory.

                    The order in which dependencies are searched for means that it tries to load the version in the current directory before looking elsewhere and because in your case that file exists within the same directory as the plug-in's exe, it attempts to use it and because it is the wrong version, the plug-in crashes.

                    The solution is to remove that file from the HS3 root directory.

                    If a plug-in fails as a result of removing the file, I suggest contacting the developer of that plug-in.

                    Paul..

                    Comment


                      #11
                      Unfortunately, that doesn't seem to be my problem;

                      Error (DbGetDbVer) Error System.DllNotFoundException: SQLite.Interop.dll at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum) at System.Data.SQLite.SQLite3.StaticIsInitialized () <0x72ad8010 + 0x0005f> in :0 at System.Data.SQLite.SQLiteLog.Initialize () <0x72ad7b38 + 0x0001f> in :0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString, System.Boolean parseViaFramework) <0x73e05818 + 0x0003b> in :0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString) <0x73e057c8 + 0x0001f> in :0 at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteConnection:.ctor (string) at l.l () <0x73e052e8 + 0x00063> in :0

                      Any additional thoughts?
                      THanks
                      John

                      Comment


                        #12
                        Originally posted by jmmorgan View Post
                        Unfortunately, that doesn't seem to be my problem;

                        Error (DbGetDbVer) Error System.DllNotFoundException: SQLite.Interop.dll at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum) at System.Data.SQLite.SQLite3.StaticIsInitialized () <0x72ad8010 + 0x0005f> in :0 at System.Data.SQLite.SQLiteLog.Initialize () <0x72ad7b38 + 0x0001f> in :0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString, System.Boolean parseViaFramework) <0x73e05818 + 0x0003b> in :0 at System.Data.SQLite.SQLiteConnection..ctor (System.String connectionString) <0x73e057c8 + 0x0001f> in :0 at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteConnection:.ctor (string) at l.l () <0x73e052e8 + 0x00063> in :0

                        Any additional thoughts?
                        THanks
                        John
                        What OS and version is HS3 running on?
                        What version of the plug-in are you running?
                        Is there a copy of System.Data.SQLite.dll at \HS3\Bin\PHLocation and of so what version is it and what is the file size?

                        Paul..

                        Comment


                          #13
                          This is a totally new install on raspberry pi 2. It is running HS3 version 3.0.0.293. PHLocation plug in 3.0.1.90. No other plugins are installed. I am only trying to get the PHLocation plug in to work.
                          Thank
                          John

                          Comment


                            #14
                            Originally posted by jmmorgan View Post
                            This is a totally new install on raspberry pi 2. It is running HS3 version 3.0.0.293. PHLocation plug in 3.0.1.90. No other plugins are installed. I am only trying to get the PHLocation plug in to work.
                            Thank
                            John
                            I've sent you a PM John

                            Paul..

                            Comment


                              #15
                              I'm running into the same exact error as jmmorgan. Running:

                              HS3 standard 3.0.0.313 on a rpi3.
                              Plug-in version: 3.0.1.90
                              There is a copy of System.Data.SQLite.dll in \HS3\Bin\PHLocation, file version is 1.0.104.0.

                              Has anyone figured out the resolution?

                              Thanks in advance!

                              Comment

                              Working...
                              X