基于最新官方master编译,启用appfilter报错util.lua:229: attempt to get length of local 'str' (a boolean value)
Closed this issue · 1 comments
YYelf commented
相关版本
编译环境:虚拟机ubuntu 20.04LTS
openwrt源码:基于最新官方master分支https://github.com/openwrt/openwrt.git 编译固件
路由器:红米AC2100
做的尝试
一开始直接编译到openwrt固件中,刷机后点击appfilter,在新窗口报错(见末尾)
后来尝试编译单独的ipk文件,成功编译下面三个文件:
appfilter_5.0-1_mipsel_24kc.ipk
kmod-oaf_5.4.132+5.0-1_mipsel_24kc.ipk
luci-app-oaf_5.0_all.ipk
然后在软件包中把固件中的appfilter、kmod-oaf、luci-app-oaf删掉,重新依次安装单独编译的ipk文件,
启用还是报错,如下
报错信息
/usr/lib/lua/luci/util.lua:229: attempt to get length of local 'str' (a boolean value)
stack traceback:
/usr/lib/lua/luci/util.lua:229: in function 'split'
/usr/lib/lua/luci/model/cbi/appfilter/appfilter.lua:188: in function 'func'
/usr/lib/lua/luci/cbi.lua:66: in function 'load'
/usr/lib/lua/luci/dispatcher.lua:1351: in function '_cbi'
/usr/lib/lua/luci/dispatcher.lua:1022: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>
已安装的插件
第三方插件
luci-app-access-control
官方自带的
luci-ssl-openssl
luci-compat
luci-mod-dashboard
luci-app-ddns
vim-full
zsh
bash
不知道是不是插件的冲突,还是说目前还没兼容最新的openwrt,还是其他的原因?
lxwq commented
是不是和luci版本不兼容?