luci-theme-argon icon indicating copy to clipboard operation
luci-theme-argon copied to clipboard

luci_statistics.lua:93: attempt to index local 'def' (a boolean value)

Open Strykar opened this issue 4 years ago • 2 comments

Hi,

Great looking theme, so here's the first error I found after installing on OpenWrt 19.07.4 r11208-ce6496d796 from the Releases page.

Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: .../luci/controller/luci_statistics/luci_statistics.lua:93: attempt to index local 'def' (a boolean value)
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: stack traceback:
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: 	.../luci/controller/luci_statistics/luci_statistics.lua:93: in function 'v'
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:1206: in function 'createtree'
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:694: in function 'menu_json'
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:795: in function 'dispatch'
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: /usr/lib/lua/luci/controller/cjdns.lua:35: attempt to index global 'cjdns' (a boolean value)
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: stack traceback:
Thu Dec 17 21:57:27 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/controller/cjdns.lua:35: in function </usr/lib/lua/luci/controller/cjdns.lua:33>
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: /usr/lib/lua/luci/dispatcher.lua:1082: Invalid controller file found
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: The file '/usr/lib/lua/luci/controller/acme.lua' contains an invalid module line.
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: Please verify whether the module name is set to 'luci.controller.acme' - It must correspond to the file path!
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: stack traceback:
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: 	[C]: in function 'assert'
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:1082: in function 'createindex'
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:1192: in function 'createtree'
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:694: in function 'menu_json'
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:795: in function 'dispatch'
Thu Dec 17 21:57:32 2020 daemon.err uhttpd[2913]: 	/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>

I also don't see the option shown in https://raw.githubusercontent.com/jerrykuku/staff/master/argon2.gif called System -> Argon Config

Strykar avatar Dec 17 '20 16:12 Strykar

Which version did you install?

jerrykuku avatar Dec 20 '20 17:12 jerrykuku

This version: https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.2.5/luci-theme-argon_2.2.5-20200914_all.ipk

Strykar avatar Dec 23 '20 20:12 Strykar