It's quite some time I don't play with OpenWrt snapshot but please try
this and post here the result and/or errors:
execute "ls /etc/config"
execute "uci show lime-node"
and "uci show lime-community"
execute "lua" command on the router
inside Lua prompt it execute:
libuci = require("uci")
uci = libuci:cursor()
node = uci:get_all("lime-node")
node_section = node["system"]
community = uci:get_all("lime-community")
community_section = community["system"]
defaults = uci:get_all("lime-defaults")
defaults_section = defaults["system"]
if you see no output and no error, everything is working.
To me it looks like this line
https://github.com/libremesh/lime-packages/blob/2ec1e27739c9fb5afc593d9f1cc…
is not returning any table, so that the error arises when a specific
content is searched in an object that is empty (not even a table).
And I agree with SAn, file an issue report on lime-packages repository
please.
It could also be a bug on the OpenWrt side.
In that case we should start looking from the definition of uci's
get_all here:
https://git.openwrt.org/?p=project/uci.git;a=blob;f=lua/uci.c;h=196a25bcf08…
Let us know!
Ilario
On 10/13/20 11:31 PM, SAn via lime-users wrote:
Hi Andy, trying to reproduce it it seems that the
problem is that there is a problem with the lime-node or lime-community files. Maybe a
syntax error.
The error message is not helpful :(
Try uci show lime-community or uci show lime-node it will say in which line there is an
error.
We have some code that performs some sanitization but it does not fix syntax errors, and
also don't print anything about the problem which we should change anyway. Plase can
you open a bug report?
Thanks!
SAn
On 10/13/20 10:49 AM, Andy Schopf wrote:
Hi all,
I got another thing:
As the Netgear EX6120 is still not in the latest release, but only in Snapshot, I had to
compile the whole thing new.
As for today I can use it in the default settings. But when I try to make a different
config (with lime-community and lime-node) I got the following error by executing the
lime-config command:
root@LiMe-c853cc:/etc/config# lime-config
/usr/bin/lua: /usr/lib/lua/lime/config.lua:139: attempt to index local
'high_pt' (a nil value)
stack traceback:
/usr/lib/lua/lime/config.lua:139: in function 'uci_merge_files'
/usr/lib/lua/lime/config.lua:186: in function 'uci_autogen'
/usr/lib/lua/lime/config.lua:203: in function 'main'
/usr/bin/lime-config:55: in main chunk
[C]: ?
root@LiMe-c853cc:/etc/config#
Does anybody know this error?
Thanks,
Andy
_______________________________________________
lime-users mailing list
lime-users(a)lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-users
_______________________________________________
lime-users mailing list
lime-users(a)lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-users
--
Ilario
iochesonome(a)gmail.com
ilario(a)sindominio.net