Hallo,
ich habe smarthomeng auf per Image upgedated. Die Plugins funktionieren auch wieder. Bei einiges Webinterfaces kriege ich jedoch die Fehlermeldung
Oops, Error 500:
The server encountered an unexpected condition which prevented it from fulfilling the request.
Da die Fehlermeldung vermutlich eine Gemeinsamkeit haben, nämlich ich etwas falsch eingestellt habe, poste ich die mal gemeinsam:
1) homematic:
Das einzige was ich bei Google gefunden habe, ist dass er die Liste aus Items nicht sortieren kann, weil kein < operator existiert. Kann hier eintlich nur sein, wenn zwei item gleich heißen, das seh ich aber nicht.
2) alexa4p3
Das sagt mir leider gar nichts. Kennt einer das oder kann mir einen Tipp geben?
Gruß
aldaris
ich habe smarthomeng auf per Image upgedated. Die Plugins funktionieren auch wieder. Bei einiges Webinterfaces kriege ich jedoch die Fehlermeldung
Oops, Error 500:
The server encountered an unexpected condition which prevented it from fulfilling the request.
Da die Fehlermeldung vermutlich eine Gemeinsamkeit haben, nämlich ich etwas falsch eingestellt habe, poste ich die mal gemeinsam:
1) homematic:
Code:
> Traceback (most recent call last): > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 638, in respond > self._do_respond(path_info) > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond > response.body = self.handler() > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__ > self.body = self.oldhandler(*args, **kwargs) > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ > return self.callable(*self.args, **self.kwargs) > File "/usr/local/smarthome/plugins/homematic/__init__.py", line 590, in index > items=sorted(self.plugin.hm_items), item_count=len(self.plugin.hm_items), > TypeError: '<' not supported between instances of 'Item' and 'Item'
2) alexa4p3
Code:
> Traceback (most recent call last): > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 638, in respond > self._do_respond(path_info) > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond > response.body = self.handler() > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__ > self.body = self.oldhandler(*args, **kwargs) > File "/home/smarthome/.local/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ > return self.callable(*self.args, **self.kwargs) > File "/usr/local/smarthome/plugins/alexa4p3/__init__.py", line 695, in index > state_log_lines=state_log_file > File "/home/smarthome/.local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render > self.environment.handle_exception() > File "/home/smarthome/.local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception > reraise(*rewrite_traceback_stack(source=source)) > File "/home/smarthome/.local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise > raise value.with_traceback(tb) > File "/usr/local/smarthome/plugins/alexa4p3/webif/templates/index.html", line 52, in top-level template code > {% set tabcount = 4 %} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base_plugin.html", line 161, in top-level template code > {% if scroll_heading is not defined %} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 1, in top-level template code > {% block doc -%} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 4, in block "doc" > {%- block html %} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 76, in block "html" > {% block body -%} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base.html", line 79, in block "body" > {% block content -%} > File "/usr/local/smarthome/modules/http/webif/gtemplates/base_plugin.html", line 148, in block "content" > {% block bodytab3 %} > File "/usr/local/smarthome/plugins/alexa4p3/webif/templates/index.html", line 183, in block "bodytab3" > <a class="float-sm-right" href="#" onclick="reloadCmds();" title="{{ _('Neu Laden', 'button') }}"><span id="refresh-element" class="fas fa-sync"></span></a> > TypeError: translate() takes 2 positional arguments but 3 were given
Gruß
aldaris
Kommentar