immortalwrt / packages

Community maintained packages for ImmortalWrt.
GNU General Public License v2.0
150 stars 245 forks source link

斐讯k3,k3screenctrl编译后有问题 #1064

Open Diffused7245 opened 8 months ago

Diffused7245 commented 8 months ago

这倒是正确显示了菜单,和恩山之前看到的问题不一样, image

然而打开后报错如下:

Runtime error Unhandled exception during request dispatching /usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/dispatcher.lua:204: module 'luci.cbi' not found: no field package.preload['luci.cbi'] no file './luci/cbi.lua' no file '/usr/share/lua/luci/cbi.lua' no file '/usr/share/lua/luci/cbi/init.lua' no file '/usr/lib/lua/luci/cbi.lua' no file '/usr/lib/lua/luci/cbi/init.lua' no file './luci/cbi.so' no file '/usr/lib/lua/luci/cbi.so' no file '/usr/lib/lua/loadall.so' no file './luci.so' no file '/usr/lib/lua/luci.so' no file '/usr/lib/lua/loadall.so'

In error(), file [C] called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23) called from function ((tail call)) In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 148, byte 45: called from function [arrow function] (/usr/share/ucode/luci/dispatcher.uc:794:4) called from function render ([C]) called from function render_action (/usr/share/ucode/luci/dispatcher.uc:768:24) called from function run_action (/usr/share/ucode/luci/dispatcher.uc:795:4) called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1003:48) called from anonymous function (/www/cgi-bin/luci:39:13)

return lcall.call(modname, method, ...args); Near here ----------------------------------------^

编译只勾选了luci-light和luci-app-k3screenctrl,斐讯k3架构,其他均保持不变。

查看下载的压缩包里面,版本还是2020的。看这位大佬 https://github.com/lwz322/k3screenctrl 下面说

如果使用的是OpenWrt 21.02之后的版本,由于没有编译对应DSA架构的ipk,需要替换/lib/k3screenctl/port.sh为仓库最新的port.sh 更新历史 2023.7.20 OpenWrt在21.02更新后,K3的BCM53xx平台swconfig迁移到DSA导致port.sh报错:修改了port.sh,使用ip link替换swconfig读取网络接口的状态

而且也提交了新版本,建议这边也拉取一下更新。

Diffused7245 commented 8 months ago

直接刷正式版固件,然后想把编译出来的新版的两个ipk安装,也失败,看样子少一些依赖。

正在执行软件包管理器 Unknown package 'k3screenctrl'. 错误 Collected errors:

我把自带的删掉,然后下进去新版本的看看行不行