Announcement

Collapse
No announcement yet.

Plugin crashing

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plugin crashing

    Just upgraded to the latest and now the plugin won't start up, get this when attempting to start it:

    Initializing plug-in(2): Honeywell WiFi Thermostat Instance::libcurlSTACK: 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 () [0x00098] in <61c4f02ff9274c889c0d63200f491ac4>:0

    Was working great prior to the latest upgrade. SEL Linux box with latest non beta HS.

    Anything I can check on my end for you to help track it down?

  • #2
    Can you tell me what distro/version of linux that is and what version of mono you're using?

    Comment


    • #3
      Also can you confirm the files/subdirectories you have under your HS3/bin/skWare/WiFiThermostat directory?

      Comment


      • #4
        Originally posted by shill View Post
        Also can you confirm the files/subdirectories you have under your HS3/bin/skWare/WiFiThermostat directory?
        Sure thing, here you go:

        Ubuntu 14.04.1 LTS (GNU/Linux 3.16.0-031600-generic i686) (What HS shipped on the SEL)
        Mono JIT compiler version 4.8.1 (Stable 4.8.1.0/22a39d7 Wed Apr 12 12:00:23 UTC 2017)

        amd64 curl-ca-bundle.crt CurlSharp.dll i386 Newtonsoft.Json.dll
        amd64:
        libcrypto-1_1-x64.dll libcurl.dll libssh2.dll libssl-1_1-x64.dll
        i386:
        libcrypto-1_1.dll libcurl.dll libcurlshim.dll libssh2.dll libssl-1_1.dll

        Comment


        • #5
          Can you also see what output you get from this command?
          dpkg -l | grep curl

          On my working linux box:
          ii libcurl3:amd64 7.38.0-4+deb8u9 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
          ii libcurl3-gnutls:amd64 7.38.0-4+deb8u9 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
          ii libcurl4-openssl-dev:amd64 7.38.0-4+deb8u9 amd64 development files and documentation for libcurl (OpenSSL flavour)
          ii python-pycurl 7.19.5-3 amd64 Python bindings to libcurl

          (I'm certain the python one isn't relevant.)

          I'm running:
          Linux jessie 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

          root@jessie:/etc/apt/sources.list.d# mono --version
          Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)

          Comment


          • #6
            Originally posted by shill View Post
            Can you also see what output you get from this command?
            dpkg -l | grep curl

            On my working linux box:
            ii libcurl3:amd64 7.38.0-4+deb8u9 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
            ii libcurl3-gnutls:amd64 7.38.0-4+deb8u9 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
            ii libcurl4-openssl-dev:amd64 7.38.0-4+deb8u9 amd64 development files and documentation for libcurl (OpenSSL flavour)
            ii python-pycurl 7.19.5-3 amd64 Python bindings to libcurl

            (I'm certain the python one isn't relevant.)

            I'm running:
            Linux jessie 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

            root@jessie:/etc/apt/sources.list.d# mono --version
            Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
            Ok, I updated to Mono 4.8.1 and it still worked, so I removed libcurl3 and libcurl4-openssl-dev and I was able to reproduce your issue.

            So I added them back one at a time and can say that with both of them installed, it worked again!

            So the solution appears to be:
            sudo apt-get install libcurl3 libcurl4-openssl-dev

            Comment


            • #7
              Originally posted by shill View Post
              Ok, I updated to Mono 4.8.1 and it still worked, so I removed libcurl3 and libcurl4-openssl-dev and I was able to reproduce your issue.

              So I added them back one at a time and can say that with both of them installed, it worked again!

              So the solution appears to be:
              sudo apt-get install libcurl3 libcurl4-openssl-dev
              The following packages have unmet dependencies:
              libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2) but 7.35.0-1ubuntu2.1 is to be installed
              Depends: libkrb5-dev but it is not going to be installed
              Depends: librtmp-dev but it is not going to be installed
              Depends: libssl-dev but it is not going to be installed

              Did you install something else to get the openssl-dev to install?

              Comment


              • #8
                can you try a "sudo apt-get update" first to make sure all the package details are current?

                Comment


                • #9
                  Originally posted by shill View Post
                  can you try a "sudo apt-get update" first to make sure all the package details are current?
                  Still no go...

                  homeseer@hometrollerSEL:~$ sudo apt-get update
                  [sudo] password for homeseer:
                  Ign http://us.archive.ubuntu.com trusty InRelease
                  Hit http://us.archive.ubuntu.com trusty Release.gpg
                  Ign http://extras.ubuntu.com trusty InRelease
                  Hit http://download.mono-project.com wheezy/snapshots/4.8 InRelease
                  Hit http://us.archive.ubuntu.com trusty Release
                  Get:1 http://extras.ubuntu.com trusty Release.gpg [72 B]
                  Hit http://us.archive.ubuntu.com trusty/main Sources
                  Hit http://download.mono-project.com wheezy/snapshots/4.8/main i386 Packages
                  Hit http://us.archive.ubuntu.com trusty/restricted Sources
                  Hit http://extras.ubuntu.com trusty Release
                  Hit http://us.archive.ubuntu.com trusty/universe Sources
                  Hit http://us.archive.ubuntu.com trusty/multiverse Sources
                  Hit http://extras.ubuntu.com trusty/main Sources
                  Hit http://us.archive.ubuntu.com trusty/main i386 Packages
                  Hit http://extras.ubuntu.com trusty/main i386 Packages
                  Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
                  Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
                  Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
                  Hit http://us.archive.ubuntu.com trusty/main Translation-en
                  Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
                  Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
                  Ign http://download.mono-project.com wheezy/snapshots/4.8/main Translation-en_US
                  Ign http://download.mono-project.com wheezy/snapshots/4.8/main Translation-en
                  Hit http://us.archive.ubuntu.com trusty/universe Translation-en
                  Ign http://extras.ubuntu.com trusty/main Translation-en_US
                  Ign http://extras.ubuntu.com trusty/main Translation-en
                  Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
                  Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
                  Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
                  Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
                  Fetched 72 B in 9s (7 B/s)
                  Reading package lists... Done
                  W: Conflicting distribution: http://download.mono-project.com wheezy/snapshots/4.8 InRelease (expected wheezy/snapshots but got wheezy)

                  homeseer@hometrollerSEL:~$ sudo apt-get install libcurl3 libcurl4-openssl-dev
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  libcurl3 is already the newest version.
                  Some packages could not be installed. This may mean that you have
                  requested an impossible situation or if you are using the unstable
                  distribution that some required packages have not yet been created
                  or been moved out of Incoming.
                  The following information may help to resolve the situation:

                  The following packages have unmet dependencies:
                  libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2) but 7.35.0-1ubuntu2.1 is to be installed
                  Depends: libkrb5-dev but it is not going to be installed
                  Depends: librtmp-dev but it is not going to be installed
                  Depends: libssl-dev but it is not going to be installed
                  E: Unable to correct problems, you have held broken packages.

                  Comment


                  • #10
                    Any thoughts on how to move forward here?

                    Comment


                    • #11
                      Nevermind, just saw you moved libraries and picked up the update. Working again. Thank you!

                      Comment


                      • #12
                        Originally posted by bsobel View Post
                        The following packages have unmet dependencies:
                        libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2) but 7.35.0-1ubuntu2.1 is to be installed
                        Depends: libkrb5-dev but it is not going to be installed
                        Depends: librtmp-dev but it is not going to be installed
                        Depends: libssl-dev but it is not going to be installed
                        E: Unable to correct problems, you have held broken packages.
                        While I'm working on the other issue people are having getting this library to work, can you have a look at the suggestions I found on another site for this? Note that I STRONGLY suggest backing up the SD card in your Zee before continuing (I assume you have access to the card? I don't have one myself to confirm.).
                        sudo apt-get clean
                        or
                        sudo apt-get autoclean
                        Autoclean clears out the local repository of downloaded packages which are no longer required.

                        Or you can try getting the dependencies resolved through apt-get
                        sudo apt-get -f install
                        The -f switch tries to correct the broken dependencies.

                        Ultimately for this plugin to move forward it will need to leverage libcurl, so we'll need to figure out how to make sure that library installs successfully.

                        Comment

                        Working...
                        X