Announcement

Collapse
No announcement yet.

Kodi won't start - Bonjour installed

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

    Kodi won't start - Bonjour installed

    Installed the trial version but I can't get the kodi plugin to start on HS3 Pro running on linux. I have Bonjour installed as required but no go. Also tried the beta version with the same results.

    Any ideas?

    Plugin error:
    WARNING: Failed getting InterfaceStatus from Kodi - the interface was not found in the list of active interfaces, the list may need to be refreshed.

    Log:
    Error Initializing plug-in(2): Kodi Instance::Object reference not set to an instance of an object.STACK: 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 () [0x00098] in <5df1015a31154df39cb55eef3d8ed00a>:0

    #2
    on Linux, it's not Bonjour but the Avahi daemon that you need to install.

    do you have any other information in the logs?
    if not, try to start the Kodi manually from the command line rather than from the web interface, in order to get more inform ation

    Code:
    sudo mono HSPI_Kodi.exe

    Comment


      #3
      I meant Avahi when I said Bonjour.

      Just tried to start it manually and received the following error:

      Plugin: Kodi Instance: starting...
      Connecting to server at 127.0.0.1...
      Connection attempt #1
      Connected (HomeSeer API 3). Waiting to be initialized...
      Jul-14 18:57:47 INFO Kodi version 3.0.1.6

      Unhandled Exception:
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MethodAccessException: Method `IBusProxy:.ctor ()' is inaccessible from method `NDesk.DBus.BusObject:.ctor ()'

      at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_throw_method_access (intptr,intptr)
      at IBusProxy..ctor () [0x00000] in <7176c86145b541369d93a647d20230b1>:0
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <a07d6bf484a54da2861691df910339b1>:0
      --- End of inner exception stack trace ---
      at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <a07d6bf484a54da2861691df910339b1>:0
      at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <a07d6bf484a54da2861691df910339b1>:0
      at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <a07d6bf484a54da2861691df910339b1>:0
      at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Activator.CreateInstance (System.Type type) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
      at NDesk.DBus.BusObject.GetObject (NDesk.DBus.Connection conn, System.String bus_name, NDesk.DBus.ObjectPath object_path, System.Type declType) [0x00008] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Connection.GetObject (System.Type type, System.String bus_name, NDesk.DBus.ObjectPath path) [0x0000f] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Connection.GetObject[T] (System.String bus_name, NDesk.DBus.ObjectPath path) [0x00001] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Bus..ctor (System.String address) [0x00010] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Bus.Open (System.String address) [0x00037] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.ConnectToSyste mBus () [0x00021] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.IterateThread (System.Object o) [0x0000f] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at System.Threading.QueueUserWorkItemCallback.WaitCallback_Cont ext (System.Object state) [0x00007] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.QueueUserWorkItemCallback.System.Threading. IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
      [ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MethodAccessException: Method `IBusProxy:.ctor ()' is inaccessible from method `NDesk.DBus.BusObject:.ctor ()'

      at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_throw_method_access (intptr,intptr)
      at IBusProxy..ctor () [0x00000] in <7176c86145b541369d93a647d20230b1>:0
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <a07d6bf484a54da2861691df910339b1>:0
      --- End of inner exception stack trace ---
      at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <a07d6bf484a54da2861691df910339b1>:0
      at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <a07d6bf484a54da2861691df910339b1>:0
      at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <a07d6bf484a54da2861691df910339b1>:0
      at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Activator.CreateInstance (System.Type type) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
      at NDesk.DBus.BusObject.GetObject (NDesk.DBus.Connection conn, System.String bus_name, NDesk.DBus.ObjectPath object_path, System.Type declType) [0x00008] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Connection.GetObject (System.Type type, System.String bus_name, NDesk.DBus.ObjectPath path) [0x0000f] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Connection.GetObject[T] (System.String bus_name, NDesk.DBus.ObjectPath path) [0x00001] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Bus..ctor (System.String address) [0x00010] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at NDesk.DBus.Bus.Open (System.String address) [0x00037] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.ConnectToSyste mBus () [0x00021] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.IterateThread (System.Object o) [0x0000f] in <ebe5b22bc9b84e90b16c17233c921073>:0
      at System.Threading.QueueUserWorkItemCallback.WaitCallback_Cont ext (System.Object state) [0x00007] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.QueueUserWorkItemCallback.System.Threading. IThreadPoolWorkItem.ExecuteWorkItem () [0x00021] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <a07d6bf484a54da2861691df910339b1>:0
      at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <a07d6bf484a54da2861691df910339b1>:0


      Hope this helps!

      Comment


        #4
        are you running Mono 4.9 or later?

        if so, you need to unzip the attached files and copy them in bin/Kodi in your Homeseer installation directory. You also need to delete the file Mono.Zeroconf.Providers.AvahiDBus.dll in that same directory.
        Then restart the Kodi plug-in.

        I will fix this issue in the beta version next week.
        Attached Files

        Comment


          #5
          Hope that won't break anything else I might just wait for the beta fix.

          Comment


            #6
            The fix is now in version 3.0.1.8 available in the Beta section of the updater.

            For the record, what version of Linux and Mono are you running?

            Comment


              #7
              Running a pi with Raspian 4.9.24-v7+ and Mono JIT compiler version 5.0.1.1

              I just installed the new beta and it started correctly, have 2 weeks left to test.

              Thanks!!

              Comment

              Working...
              X