Announcement

Collapse
No announcement yet.

Error on install.

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

    Error on install.

    I tried to install on my hometroller s6 win 7.


    arning, Cannot load EXE file (possibly missing dependencies) HSPI_AKGoogleCast.exe: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.Warning, Error details with EXE HSPI_AKGoogleCast.exe: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.Warning, Error details with EXE HSPI_AKGoogleCast.exe: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.Warning, Error details with EXE HSPI_AKGoogleCast.exe: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.Warning, Error details with EXE HSPI_AKGoogleCast.exe: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.Warning, Error details with EXE HSPI_AKGoogleCast.exe: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.Warning, Error details with EXE HSPI_AKGoogleCast.exe: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

    #2
    Please try to unzip and copy attached netstandard.dll into /bin/AKGoogleCast folder
    Attached Files

    Comment


      #3
      Got it Thanks! It found my Shield TV Pro with no problem! Now I just have to figure out the best ways to implement in my system...any suggestions tip or tricks?

      Comment


        #4
        Main reason I started this plugin - to make TTS announcements via Google Home minis I have in every room, instead of the computer speakers.

        Comment


          #5
          I am also having a problem installing - this time on a SEL. After installation, I get the error "WARNING: Failed getting InterfaceStatus from AK GoogleCast - the interface was not found in the list of active interfaces, the list may need to be refreshed."

          Any ideas?

          Thanks!

          Comment


            #6
            the best troubleshooting is to:

            1. Can you please disable the plugin,
            2. then enable "Developer Mode" on Plugins Manage screen
            3. Enable the plugin - it will start with Console window and you will be able to see the error(s).

            Remember to disable the "Developer Mode" after you get the error.

            Comment


              #7
              Originally posted by alexbk66 View Post
              the best troubleshooting is to:

              1. Can you please disable the plugin,
              2. then enable "Developer Mode" on Plugins Manage screen
              3. Enable the plugin - it will start with Console window and you will be able to see the error(s).

              Remember to disable the "Developer Mode" after you get the error.
              This is the error received using install from today on an SEL running current version.

              Code:
              Apr-04 7:38:46 PM [COLOR=#FF0000]Error Initializing plug-in(2): AK GoogleCast Instance::The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception.STACK: Server stack trace: Exception rethrown at [0]:
              at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
              at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI:InitIO (string)
              at Scheduler.clsHSPI.CheckInterfaces () [0x000c4] in <9d0c99dc968a48469ec86efcf4ea6794>:[/COLOR]
              0Apr-04 7:38:45 PM Starting Plug-InInitializing plugin AK GoogleCast ...

              Comment


                #8
                Originally posted by Mr.Gadget View Post

                This is the error received using install from today on an SEL running current version.

                Apr-04 7:38:46 PM ErrorInitializing plug-in(2): AK GoogleCast Instance::The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception.STACK: Server stack trace: Exception rethrown at [0]: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr) at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI:InitIO (string) at Scheduler.clsHSPI.CheckInterfaces () [0x000c4] in <9d0c99dc968a48469ec86efcf4ea6794>:
                0Apr-04 7:38:45 PM Starting Plug-InInitializing plugin AK GoogleCast ...
                How old is the "current version"? What's the Mono version?

                You can try ver. 3.0.0.28 (BETA) - added more exception handler/logging in InitIO, but I'm pretty sure it's mono issue. I removed dependency on netstandard, but it still requires Mono 5.4 or so.

                Comment


                  #9
                  HomeSeer Version: HS3 Standard Edition 3.0.0.548 (Linux)

                  Mono Version
                  Mono JIT compiler version 5.0.1.1 (2017-02/5077205 Thu May 25 09:18:45 UTC 2017)

                  DISTRIB_ID=Ubuntu
                  DISTRIB_RELEASE=14.04
                  DISTRIB_CODENAME=trusty
                  DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
                  NAME="Ubuntu"
                  VERSION="14.04.1 LTS, Trusty Tahr"
                  ID=ubuntu
                  ID_LIKE=debian
                  PRETTY_NAME="Ubuntu 14.04.1 LTS"
                  VERSION_ID="14.04"
                  HOME_URL="http://www.ubuntu.com/"
                  SUPPORT_URL="http://help.ubuntu.com/"
                  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

                  Loaded Beta - Still a NoGo


                  WARNING: Failed getting InterfaceStatus from AK GoogleCast - the interface was not found in the list of active interfaces, the list may need to be refreshed.
                  Apr-05 8:00:04 PM Info Plugin AK GoogleCast with instance: has disconnected
                  Apr-05 8:00:01 PM Plug-In Finished initializing plug-in AK GoogleCast
                  Apr-05 8:00:01 PM Starting Plug-In AK GoogleCast loaded in 2103 milliseconds
                  Apr-05 8:00:01 PM Error Initializing plug-in(1): AK GoogleCast Instance::The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception. Time to load: 151 milliseconds
                  Apr-05 8:00:01 PM AK GoogleCast ERROR InitIO: System.TypeInitializationException: The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception. ---> System.TypeLoadException:
                  Could not load type of field 'SharpCaster.ChromecastSocketService:_client' (1)
                  due to:
                  Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. assembly:System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
                  type: member:
                  at HSPI_AKGoogleCast.CastDevice..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver) [0x00043] in :0 at HSPI_AKGoogleCast.SpeakerBase..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver, System.String path, System.String lang, System.Double speed) [0x00007] in :0
                  at HSPI_AKGoogleCast.SpeakerGoogleTransl..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver, System.String path, System.String lang, System.Double speed) [0x00000] in :0
                  at HSPI_AKGoogleCast.SpeakerGoogleTransl..ctor () [0x00000] in :0 at HSPI_AKGoogleCast.Controller..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at HSPI_AKGoogleCast.HSPI.InitIO (System.String port) [0x00019] in :0
                  Apr-05 8:00:01 PM Starting Plug-In Initializing plugin AK GoogleCast ...

                  Comment


                    #10
                    Yeah, it's .NET version.

                    You can try Ver. 3.0.0.29 (BETA) - I reduced .NET version to 4.6, see how it goes. But I'm pretty sure you need Mono 5.4

                    Comment


                      #11
                      Yup, same issue- I guess I need to find a clean/easy way to upgrade Mono from 5.0.1.1 to 5.4 (or higher) -
                      Any suggestions or links to perform this process?
                      Apr-06 8:29:34 AM Info Plugin AK GoogleCast with instance: has disconnected
                      Apr-06 8:29:31 AM Plug-In Finished initializing plug-in AK GoogleCast
                      Apr-06 8:29:31 AM Starting Plug-In AK GoogleCast loaded in 2105 milliseconds
                      Apr-06 8:29:31 AM Error Initializing plug-in(1): AK GoogleCast Instance::The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception. Time to load: 165 milliseconds
                      Apr-06 8:29:31 AM AK GoogleCast ERROR InitIO: System.TypeInitializationException: The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception. ---> System.TypeLoadException: Could not load type of field 'SharpCaster.ChromecastSocketService:_client' (1) due to:
                      Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. assembly:System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type: member:
                      at HSPI_AKGoogleCast.CastDevice..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver) [0x00043] in <89733975c1224c59b96e856516806005>:0
                      at HSPI_AKGoogleCast.SpeakerBase..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver, System.String path, System.String lang, System.Double speed) [0x00007] in <89733975c1224c59b96e856516806005>:0
                      at HSPI_AKGoogleCast.SpeakerGoogleTransl..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver, System.String path, System.String lang, System.Double speed) [0x00000] in <89733975c1224c59b96e856516806005>:0
                      at HSPI_AKGoogleCast.SpeakerGoogleTransl..ctor () [0x00000] in <89733975c1224c59b96e856516806005>:0
                      at HSPI_AKGoogleCast.Controller..cctor () [0x00000] in <89733975c1224c59b96e856516806005>:0
                      --- End of inner exception stack trace ---
                      at HSPI_AKGoogleCast.HSPI.InitIO (System.String port) [0x00019] in <89733975c1224c59b96e856516806005>:0
                      Apr-06 8:29:31 AM Starting Plug-In Initializing plugin AK GoogleCast ...
                      Apr-06 8:29:31 AM Info Plugin AK GoogleCast has connected. IP:127.0.0.1:51152

                      Comment


                        #12
                        Crap, that's annoying, I'm currently trying to sort out similar problem with other users of my AK IKEA plugin on SEL.
                        But at least you have Mono 5.x.
                        I'm not an expert in Linux, not sure what's the correlation between Mono version and .NET version.
                        I'll think....

                        Comment


                          #13
                          I found this

                          useful parameters are MONO_LOG_LEVEL=debug and MONO_LOG_MASK=asm, which will make Mono output detailed information about assemblies being loaded. It will come in handy when there is something wrong with the project dependencies.

                          Comment


                            #14
                            Please try ver. 3.0.0.30 (BETA) - I removed some explicit dependencies, let the system decide. Fingers crossed.

                            Comment


                              #15
                              I was hoping you found the solution.... but :-(
                              Code:
                               [TABLE="class: log_table_row, cellspacing: 0"]
                              [TR]
                              [TD="class: LogPri0, align: left"] [/TD]
                               			[TD="class: LogType0, colspan: 3, align: left"][COLOR=#FF0000]Error [/COLOR][/TD]
                               			[TD="class: LogEntry0, colspan: 8, align: left"][COLOR=#FF0000]Initializing plug-in(1): AK GoogleCast Instance::The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception. Time to load: 241 milliseconds [/COLOR][/TD]
                               		[/TR]
                              [/TABLE]
                              [TABLE="class: log_table_row, cellspacing: 0"]
                              [TR]
                              [TD="class: LogPri1, align: left"] [/TD]
                               			[TD="class: LogType1, colspan: 3, align: left"][COLOR=#FF0000]AK GoogleCast ERROR [/COLOR][/TD]
                               			[TD="class: LogEntry1, colspan: 8, align: left"][COLOR=#FF0000]InitIO: System.TypeInitializationException: The type initializer for 'HSPI_AKGoogleCast.Controller' threw an exception. --->
                              			System.TypeLoadException: Could not load type of field 'SharpCaster.ChromecastSocketService:_client' (1) due to:
                              			Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
                              			assembly:System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type: member:
                              			at HSPI_AKGoogleCast.CastDevice..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver) [0x00043] in <7f8ae37050d14afd885953af97cc29f7>:0
                              			at HSPI_AKGoogleCast.SpeakerBase..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver, System.String path, System.String lang, System.Double speed) [0x00007] in <7f8ae37050d14afd885953af97cc29f7>:0
                              			at HSPI_AKGoogleCast.SpeakerGoogleTransl..ctor (System.String HShost, System.Int32 HSport, Locator.Receiver receiver, System.String path, System.String lang, System.Double speed) [0x00000] in <7f8ae37050d14afd885953af97cc29f7>:0
                              			at HSPI_AKGoogleCast.SpeakerGoogleTransl..ctor () [0x00000] in <7f8ae37050d14afd885953af97cc29f7>:0 at HSPI_AKGoogleCast.Controller..cctor () [0x00000] in <7f8ae37050d14afd885953af97cc29f7>:0
                              			--- End of inner exception stack trace --- at HSPI_AKGoogleCast.HSPI.InitIO (System.String port) [0x00019] in <7f8ae37050d14afd885953af97cc29f7>:0 [/COLOR][/TD]
                               		[/TR]
                              [/TABLE]
                              Last edited by Mr.Gadget; April 7, 2020, 09:46 AM. Reason: Add version.

                              Comment

                              Working...
                              X