kenzok8 / openwrt-packages

openwrt常用软件包
https://op.dllkids.xyz
6.53k stars 2.61k forks source link

请问R4S固件,输入IP地址后,无法进入固件主页,跳出Error Unhandled exception during request dispatching /usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'themes/argone/header'. A runtime error occurred: /usr/lib/lua/luci/dispatcher.lua:68: attempt to index global '__entries' (a nil value) #497

Open netlovehf opened 2 months ago

netlovehf commented 2 months ago

源码用的是immortalwrt的openwrt-23.05分支 Error Unhandled exception during request dispatching /usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'themes/argone/header'. A runtime error occurred: /usr/lib/lua/luci/dispatcher.lua:68: attempt to index global '__entries' (a nil value) stack traceback: /usr/lib/lua/luci/dispatcher.lua:68: in function 'node' [string "/usr/lib/lua/luci/view/themes/argone/header..."]:20: in main chunk

In error(), file [C] called from function run (/usr/lib/lua/luci/ucodebridge.lua:23) called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:37) In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 133, byte 10: called from function [arrow function] (/usr/share/ucode/luci/runtime.uc:141:63) called from function render ([C]) called from function [anonymous function] (/usr/share/ucode/luci/runtime.uc:141:64) called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:941:44) called from anonymous function (/www/cgi-bin/luci:39:13)

die(ex); Near here --------^

netlovehf commented 2 months ago

2024-09-16_151554

kenzok8 commented 2 months ago

themes/argone 主题出错了, 仓库里luci-theme-argon 适配23.05 不适配18.06 argone 只适配18.06,就是L大的 删除错误的主题

opkg info luci-theme*
opkg remove luci-theme-argone

然后下载argon再安装

netlovehf commented 2 months ago

themes/argone 主题出错了, 仓库里luci-theme-argon 适配23.05 不适配18.06 argone 只适配18.06,就是L大的 删除错误的主题

opkg info luci-theme*
opkg remove luci-theme-argone

然后下载argon再安装

请问这个操作是在编译固件之前吗?还是在编译好的固件中操作?我用的源码是immortalwrt的openwrt-23.05分支