Ankündigung

Einklappen
Keine Ankündigung bisher.

Beleuchtung nachts Nachdimmen bzw Helligkeitswert setzen

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

    #16
    So habe nun shNG neu gestartet jedoch kann ich die Seite vom Backend/Logiken nicht aufrufen ..



    Log auszug


    Code:
    
    2018-10-22  18:37:54 WARNING  __main__         SmartHomeNG stopped
    2018-10-22  18:37:54 WARNING  __main__         SmartHomeNG stopped
    2018-10-22  18:38:04 WARNING  __main__         --------------------   Init SmartHomeNG 1.5.1.master (cc1288de)   --------------------
    2018-10-22  18:38:04 WARNING  __main__         --------------------   Init SmartHomeNG 1.5.1.master (cc1288de)   --------------------
    2018-10-22  18:38:04 WARNING  __main__         Running in Python interpreter 'v3.5.3 final' on linux platform
    2018-10-22  18:38:04 WARNING  __main__         Running in Python interpreter 'v3.5.3 final' on linux platform
    2018-10-22  18:38:11 ERROR    plugins.visu_smartvisu Could not determine smartVISU version!
    2018-10-22  18:38:12 WARNING  plugins.cli      CLI: You should set a password for this plugin.
    2018-10-22  18:38:19 ERROR    cherrypy.error.1908196752 [22/Oct/2018:18:38:19] HTTP 
    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 631, in respond
        self._do_respond(path_info)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 690, in _do_respond
        response.body = self.handler()
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/lib/encoding.py", line 221, in __call__
        self.body = self.oldhandler(*args, **kwargs)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
        return self.callable(*self.args, **self.kwargs)
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 155, in logics_html
        self.logics_initialize()
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 78, in logics_initialize
        self.yaml_updates=(self.logics.return_config_type() == '.yaml')
    AttributeError: 'NoneType' object has no attribute 'return_config_type'
    2018-10-22  18:38:22 ERROR    cherrypy.error.1908196752 [22/Oct/2018:18:38:22] HTTP 
    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 631, in respond
        self._do_respond(path_info)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 690, in _do_respond
        response.body = self.handler()
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/lib/encoding.py", line 221, in __call__
        self.body = self.oldhandler(*args, **kwargs)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
        return self.callable(*self.args, **self.kwargs)
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 155, in logics_html
        self.logics_initialize()
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 78, in logics_initialize
        self.yaml_updates=(self.logics.return_config_type() == '.yaml')
    AttributeError: 'NoneType' object has no attribute 'return_config_type'
    2018-10-22  18:38:23 ERROR    cherrypy.error.1908196752 [22/Oct/2018:18:38:23] HTTP 
    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 631, in respond
        self._do_respond(path_info)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 690, in _do_respond
        response.body = self.handler()
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/lib/encoding.py", line 221, in __call__
        self.body = self.oldhandler(*args, **kwargs)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
        return self.callable(*self.args, **self.kwargs)
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 155, in logics_html
        self.logics_initialize()
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 78, in logics_initialize
        self.yaml_updates=(self.logics.return_config_type() == '.yaml')
    AttributeError: 'NoneType' object has no attribute 'return_config_type'
    2018-10-22  18:38:29 ERROR    cherrypy.error.1908196752 [22/Oct/2018:18:38:29] HTTP 
    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 631, in respond
        self._do_respond(path_info)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cprequest.py", line 690, in _do_respond
        response.body = self.handler()
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/lib/encoding.py", line 221, in __call__
        self.body = self.oldhandler(*args, **kwargs)
      File "/usr/local/lib/python3.5/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
        return self.callable(*self.args, **self.kwargs)
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 155, in logics_html
        self.logics_initialize()
      File "/usr/local/smarthome/plugins/backend/BackendLogics.py", line 78, in logics_initialize
        self.yaml_updates=(self.logics.return_config_type() == '.yaml')
    AttributeError: 'NoneType' object has no attribute 'return_config_type'
    Gruss Oliver

    Projektleiter Technische Gebäudeausrüstung

    Kommentar


      #17
      wie sieht deine ganze etc/logics.yaml aus?

      wie sehen die dateirechte in logics aus (ls al)

      Kommentar


        #18
        PS: es wäre praktischer wenn du auf GITTER kommen würdest

        Kommentar


          #19
          Rechte sind wie folgt:


          Code:
          
          
           [root@SmartHomeNG ../local/smarthome/logics]# ls -a
          insgesamt 32K
          drwxr-xr-x  2 smarthome smarthome 4,0K Okt 22 17:20 ./
          drwxr-xr-x 20 smarthome smarthome 4,0K Aug  3 10:14 ../
          -rwxr-xr-x  1 smarthome smarthome  132 Dez 28  2017 blockly_logics.py*
          -rwxr-xr-x  1 smarthome smarthome  490 Dez 28  2017 blockly_logics.xml*
          -rwxr-xr-x  1 smarthome smarthome  619 Aug  3 10:14 example_logging.py*
          -rwxr-xr-x  1 smarthome smarthome  568 Aug  3 10:14 example_persistance.py*
          -rwxr-xr-x  1 smarthome smarthome   67 Aug  3 10:14 .gitignore*
          -rwxrwxrwx  1 smarthome smarthome   90 Okt 22 18:41 nachdimmen.py*

          Logic.yaml wie folgt:


          Code:
          %YAML 1.1
          ---
          Nachdimmen:
              filename: nachdimmen.py
              crontab: init
              watch_item: OG.Buro.Licht
          Gruss Oliver

          Projektleiter Technische Gebäudeausrüstung

          Kommentar


            #20
            mach in der logic.yaml mal testweise den crontab und das watch_item raus.. so minimal wie möglich. und aus der .py datei allen code raus

            Kommentar


              #21
              Gemacht! The server encountered an unexpected condition which prevented it from fulfilling the request.

              Gruss Oliver

              Projektleiter Technische Gebäudeausrüstung

              Kommentar


                #22
                was passiert wenn du die datei der logik komplett löscht und die logic.yaml auch

                Kommentar

                Lädt...
                X