Thank you very much. I hope i will see an announcement somewhere in the forum, when there is a new esh build in the snapshots available.
With this fix, can i remove my charts.cfg file and do all settings inside paper ui or can i keep it and openhab will use only my charts.cfg? Or will OH only use the values from the charts.cfg and all other non declared values from the paper ui?
Now i´m on #1253 and now i don´t get charts anymore.
Many erros in the log…
2018-04-10 10:37:54.120 [WARN ] [eclipse.jetty.servlet.ServletHandler] -
javax.servlet.ServletException: Could not get chart provider.
at org.eclipse.smarthome.ui.internal.chart.ChartServlet.doGet(ChartServlet.java:281) [151:org.eclipse.smarthome.ui:0.10.0.201804091757]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [32:j
... and so on ...
It makes no difference if i remove my charts.cfg-file and only make paper ui settings or if i change something in the charts.cfg-file.
I can confirm that it’s working with paper ui settings. But first time I couldn’t see any chart (upgrade to 1253)…a reboot did help and everything is fine now
For me it is not working. Now i made 2 reboots. Still the same warnings like i posted above.
Any idea?
I renamed the charts.cfg to charts.cfg_txt but still not working.
Where can i make settings for default charts provider?
When i want to open only the icon for the broken image inside my browser, i get this:
HTTP ERROR 500
Problem accessing /chart. Reason:
Server Error
Caused by:
javax.servlet.ServletException: Could not get chart provider.
at org.eclipse.smarthome.ui.internal.chart.ChartServlet.doGet(ChartServlet.java:281)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:534)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
I don’t have a charts.cfg…did you try to delete this file and change the setting directly in the paper ui to something different? Maybe a change is needed to save something in a config-file…but I’m not sure.
I have tested with provider:default too, but with no success.
Where is the chart.config saved? I only know the charts.cfg-file?
EDIT:
I removed the charts.cfg completely, made settings inside paper ui charts section, server reboot, changed settings inside paper ui charts, openhab service restart
Still no success. Same error as before.
EDIT2:
After another server reboot, now it works!
But with habdroid android app the charts are still ugly. No such charts like on the webbrowser, only black background with ms-dos like (text style, no graphic ui) descriptions.
Is there a way to get the charts style back to the style of the webbrowser-charts?
Maybe someone can tell me, if the ugly charts on habdroid is an error (or feature?) of habdroid (openhab android app) or of the openhab-software itself?
On former versions i got the same charts like on the webbrowser. White background and so on.
But some time ago i got the same charts inside habdroid like on the webbrowser view.
Where has this changed? Inside habdroid? I can´t remember exactly, but i thought it was after an openhab snapshot update some time ago, so it has to be an openhab server side thing? Not a client side (habdroid)?
Look here. The numbers are scaled too. In habdroid, they are still very big.
If you have many numbers in one axis, sometimes in habdroid they are too big. Also the legend (description) is much smaller in the webbrowser. Looks like i get different views than you.