When installing lime-system via opkg on a clean OpenWrt system, this error is printed:
Configuring lime-system.
/usr/bin/lua: /usr/bin/migrate-wifi-bands-cfg:38: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
/usr/bin/migrate-wifi-bands-cfg:38: in function 'move_restof_to_specific_band'
/usr/bin/migrate-wifi-bands-cfg:51: in function 'migrate_file'
/usr/bin/migrate-wifi-bands-cfg:59: in main chunk
[C]: ?
this happens as at the first install there is no lime-community nor lime-node files and this list is empty:
I'll be out of keyboard for a while, if someone else can take this, go
ahead :)
El dom., 6 de nov. de 2022 15:07, Ilario Gelmetti ***@***.***>
escribió:
When installing lime-system via
opkgon a clean OpenWrt system, this error is printed:this happens as at the first install there is no
lime-communitynorlime-nodefiles and this list is empty:lime-packages/packages/lime-system/files/usr/bin/migrate-wifi-bands-cfg
Line 7 in de7f38f
So there should a check for the
optionsvariable to not benilbetween these lines:lime-packages/packages/lime-system/files/usr/bin/migrate-wifi-bands-cfg
Lines 37 to 38 in de7f38f
The text was updated successfully, but these errors were encountered: