tnemrap
(Michael Parment)
January 30, 2017, 8:02am
1
When i install Map Transformation i can not configure Habpanel, Network binding and Harmonyhub Binding, i get error 500 in Paper UI or Connection Lost in Habpanel UI.
When i uninstall Map Transformation everything works.
I am running latest build of openHAB 2 on Raspberry Pi 3.
/Mike
Dim
(Angelos)
January 30, 2017, 9:52am
2
apt-get installation? which release? which package? (min, simple, standard, expert, demo)
2.1.x Snapshot #771 from the unstable
bintray repo or 2.0.0 Release Build from the stable
bintray repo?
I just tested map xform on rPi3 with S#771 and it works fine for me (I used expert package and it installed by itself all the xforms)
Do you use map xfrom in your configs or just by installing the add-on you get these errors?
tnemrap
(Michael Parment)
January 30, 2017, 9:55am
3
apt-get installation from 2.1.x Snapshot #771 from the unstable bintray repo.
/Mike
Dim
(Angelos)
January 30, 2017, 10:01am
4
I just tested a completely new (not upgrade) deployment of OH2 Snapshot 771 on rPi3 and it works fine for me.
Did you upgrade from a previous snapshot? (which one?)
Any hints in the logs?
Any items configured with map xform? Any *.map
files in /etc/openhab2/transform
?
You could try to: apt-get remove openhab2
and then apt-get install openhab2
==> openhab.log <==
2017-01-30 11:58:00.213 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
==> events.log <==
2017-01-30 11:58:13.949 [ExtensionEvent ] - Extension 'package-expert' has been installed.
==> openhab.log <==
2017-01-30 11:58:46.596 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-01-30 11:58:46.827 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-01-30 11:58:47.396 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-01-30 11:58:47.572 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-01-30 11:58:47.907 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
==> events.log <==
2017-01-30 11:58:47.953 [ExtensionEvent ] - Extension 'misc-restdocs' has been installed.
2017-01-30 11:58:47.963 [ExtensionEvent ] - Extension 'transformation-javascript' has been installed.
2017-01-30 11:58:47.965 [ExtensionEvent ] - Extension 'ui-habpanel' has been installed.
2017-01-30 11:58:47.966 [ExtensionEvent ] - Extension 'transformation-regex' has been installed.
2017-01-30 11:58:47.970 [ExtensionEvent ] - Extension 'transformation-jsonpath' has been installed.
2017-01-30 11:58:47.974 [ExtensionEvent ] - Extension 'transformation-xpath' has been installed.
2017-01-30 11:58:47.978 [ExtensionEvent ] - Extension 'ui-basic' has been installed.
2017-01-30 11:58:47.982 [ExtensionEvent ] - Extension 'transformation-map' has been installed.
2017-01-30 11:58:47.986 [ExtensionEvent ] - Extension 'ui-classic' has been installed.
2017-01-30 11:58:47.990 [ExtensionEvent ] - Extension 'ui-habmin' has been installed.
2017-01-30 11:58:47.993 [ExtensionEvent ] - Extension 'transformation-xslt' has been installed.
2017-01-30 11:58:47.997 [ExtensionEvent ] - Extension 'transformation-exec' has been installed.
2017-01-30 11:58:48.001 [ExtensionEvent ] - Extension 'ui-paper' has been installed.
2017-01-30 11:58:48.004 [ExtensionEvent ] - Extension 'transformation-scale' has been installed.
tnemrap
(Michael Parment)
January 30, 2017, 1:44pm
6
Thanks
I will try and remove all maps this evening.
/Mike
tnemrap
(Michael Parment)
January 30, 2017, 9:38pm
8
The problem was solved when i replaced all %d with %.0f and cleaned some map sentences in my items files.
Thanks
/mike
1 Like
JjS
(Jedrzej)
January 30, 2017, 9:56pm
9
I had the same problem, lost couple of hours on weekend. I am currently migrating quite complex installation of 1.9 to 2.0.
My findings: Items with mappings should be carefully observed for the type returned after transformation. I had a decimal type trasformed to a another decimal (as I though), but I got internal server error with the sitemap. Changed the item definition to %s cured the problem.
I have the same problem, it is in this items file but (beginner) i can’t figured out whats the problem
Group Astro <sun_clouds> (gAll)
//
DateTime CurrDay "Vandaag [MAP(astro.map):%1$tA]" <clock> (Astro) {
channel="ntp:ntp:demo:dateTime" }
DateTime Currdate "datum[%1$td.%1$tm.%1$tY]" <clock> (Astro) {
channel="ntp:ntp:demo:dateTime" }
String SeasonName "Jaargetijde [MAP(astro.map):%s]" (Astro) {
channel="astro:sun:home:season#name" }
//
DateTime SunsetTime "Zonsondergang [%1$tH:%1$tM Uur]" <sun> (Astro) {
channel="astro:sun:05149f62:set#end" }
DateTime NightStartTime "Nacht begint [%1$tH:%1$tM Uur]" <moon> (Astro) {
channel="astro:sun:05149f62:night#start" }
DateTime NightEndTime "Nacht einde [%1$tH:%1$tM Uur]" <moon> (Astro) {
channel="astro:sun:05149f62:night#end" }
DateTime SunriseTime "Zonsopgang [%1$tH:%1$tM Uur]" <sun> (Astro) {
channel="astro:sun:05149f62:rise#start" }
//
String DayPhase "Dagdeel [MAP(astro.map):%s]" (Astro) {
channel="astro:sun:05149f62:phase#name" }
Switch NightState "Nacht" (Astro)
//
Number SunElevation "Zonnehoogte [%.1f °]" <sun> (Astro) {
channel="astro:sun:05149f62:position#elevation" }
String Zodiac "Sterrenbeeld [MAP(astro.map):%s]" <ster> (Astro) {
channel="astro:sun:05149f62:zodiac#sign" }
Number MoonElevation "Maan [%.1f °]" <moon> (Astro) {
channel="astro:moon:96c487b0:position#elevation" }
String MoonPhase "Maan [MAP(astro.map):%s]" <moon> (Astro) {
channel="astro:moon:96c487b0:phase#name" }
DateTime MoonFull "Volle maan [%1$td.%1$tm.%1$tY, %1$tH:%1$tM Uur]" <moon> (Astro) {
channel="astro:moon:96c487b0:phase#full" }
DateTime MoonNew "Nieuwe maan [%1$td.%1$tm.%1$tY, %1$tH:%1$tM Uur]" <moon> (Astro) {
channel="astro:moon:96c487b0:phase#new" }
Anyone point my in the right direction ?