Just a heads up I got an “no handler” error after upgrading to 1141 on openLuup - couldn’t see anything wrong in the logs, restarting openLuup didn’t help.
I’m running 1141 on Debian and Mac OS with, apparently, not that problem. A log from someone showing 1129 actually doing the upgrade to 1141 could be diagnostic, as would a log of the subsequent, if abortive, startup of 1141.
Yes, I was just viewing the Trac change log between 1129 and 1141, and the JSON change looks to be the biggest thing. Worth changing back? I can live with it not parsing [], I suppose!
I was able to restore the previous version and things work using: MiOS Apps and clicking on “Install” for v1129 as a holdover until the issue is fixed.
Unfortunately I do need this for the management of some data structures in json I use. [] is not uncommon. is it a problem for openluup to have these modules loaded ? at least if it used dkjson, we would garantee the same behaviors between Vera & openluup.
dkjson used to be horrendously slow - would crash Vera if trying to decode all of user_data - that’s really why I wrote my own. Also, mine does pretty-printing, which is why the user_data is readable.
There’s absolutely no problem using dkjson and/or anything else - openLuup has its own, and uses it.
Now I come to think of the, the reason that this seems to be working for me and not for others is that I DO HAVE dkjson on my machines, whereas most others wont.
Could someone with this openLuup problem simply try adding dkjson (attached) to their /etc/cmh-ludl/ directory ?
dkjson used to be horrendously slow - would crash Vera if trying to decode all of user_data - that’s really why I wrote my own. Also, mine does pretty-printing, which is why the user_data is readable.
There’s absolutely no problem using dkjson and/or anything else - openLuup has its own, and uses it.
Now I come to think of the, the reason that this seems to be working for me and not for others is that I DO HAVE dkjson on my machines, whereas most others wont.
Could someone with this openLuup problem simply try adding dkjson (attached) to their /etc/cmh-ludl/ directory ?[/quote]
I could try yours if you want… There is a l_altui_json file where I could put it and then it would be part of the package installed and therefore everybody would get it.as long as importing it with a require is possible that could work.
Upgrade works fine with dkjson.lua added to /etc/cmh-ludl
Yes! I think this is the answer, then.
I’ll add some notes to the install section, and the configuration check, to try and ensure that it’s there. I still need to see why we didn’t get a decent error message, though. Still, I think that’s solved.
It turns out that UI7 has dkjson, but UI5 does not, so this is not exclusively an openLuup issue, so may need attention in the AltUI installation, rather than openLuup?
Not sure if this helps or not, but I was able to upgrade to 1141 without issue on openLuup. From what I can tell, I don’t have dkjson, and my files were copied from a UI5 install. I attached a directory listing on the off chance that helps your troubleshooting.
Upgrade works fine with dkjson.lua added to /etc/cmh-ludl
Yes! I think this is the answer, then.
I’ll add some notes to the install section, and the configuration check, to try and ensure that it’s there. I still need to see why we didn’t get a decent error message, though. Still, I think that’s solved.[/quote]