Ankündigung

Einklappen
Keine Ankündigung bisher.

cannot run SH in interactive mode.

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    cannot run SH in interactive mode.

    Hello,

    after many months without my server, i try to use smarthomeNG in production.
    in the older version i loved used the interactive mode -i, but with the last version i cannot run smarthome in interactive :/

    Code:
    python3.6 bin/smarthome.py -i
    Python 3.6.1 (default, Jul  8 2017, 17:38:58)
    [GCC 4.7.2] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    (InteractiveConsole)
    sh.start()
    >>> [01/Nov/2018:08:58:15] ENGINE Bus STARTING
    [01/Nov/2018:08:58:15] ENGINE Serving on http://192.168.2.103:8384
    [01/Nov/2018:08:58:15] ENGINE Serving on http://192.168.2.103:8383
    [01/Nov/2018:08:58:15] ENGINE Bus STARTED
    Exception in thread Main:
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
        self.run()
      File "/usr/local/lib/python3.6/threading.py", line 864, in run
        self._target(*self._args, **self._kwargs)
      File "bin/smarthome.py", line 491, in start
        signal.signal(signal.SIGHUP, self.logics.reload_logics)
      File "/usr/local/lib/python3.6/signal.py", line 47, in signal
        handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
    ValueError: signal only works in main thread
    
    [01/Nov/2018:08:58:33] ENGINE Bus STOPPING
    [01/Nov/2018:08:58:33] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.2.103', 8384)) shut down
    [01/Nov/2018:08:58:33] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.2.103', 8383)) shut down
    [01/Nov/2018:08:58:33] ENGINE Bus STOPPED
    [01/Nov/2018:08:58:33] ENGINE Bus EXITING
    [01/Nov/2018:08:58:33] ENGINE Bus EXITED
    When i start with smarthome.py --start it work's well without interactive for sure.
    I try with python 3.5 and 3.6 with same issue, i already upgrade all my python package with pip upgrade ... :/
    Can you help me ?

    Thanks a lot for your help

    #2
    I am looking into it. I was made aware of the issue 5 days ago when another user reported the same problem in this thread.
    Viele Grüße
    Martin

    There is no cloud. It's only someone else's computer.

    Kommentar


      #3
      oh ok i didn't speak german sorry for the thread i have not seen
      I will try to follow the thread
      Thanks a lot

      Kommentar


        #4
        No problem, I just wanted to let you know that you are not alone and the issue is known only for a short period of time.
        Viele Grüße
        Martin

        There is no cloud. It's only someone else's computer.

        Kommentar


          #5
          waouuh i use google translate to traduct the other thread,
          i knew that the backend existed but i never use it, i just open it and i'm over my ass ! it's wonderfull this backend, all i want is in it and it's userfriendly !
          Forget this thread the Backend is my resolution
          Thanks for your wonderfull job

          Kommentar


            #6
            You could also select French as language for the backend.

            Kommentar


              #7
              Zitat von bmx Beitrag anzeigen
              You could also select French as language for the backend.
              Nice Thanks

              Kommentar

              Lädt...
              X