Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Diffused7245 opened this issue Feb 6, 2024 · 1 comment
Open

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

Diffused7245 opened this issue Feb 6, 2024 · 1 comment

Comments

@Diffused7245
Copy link

这倒是正确显示了菜单,和恩山之前看到的问题不一样,
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
Copy link
Author

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

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

  • pkg_hash_check_unresolved: cannot find dependency coreutils for k3screenctrl
  • pkg_hash_check_unresolved: cannot find dependency coreutils-od for k3screenctrl
  • pkg_hash_check_unresolved: cannot find dependency bash for k3screenctrl
  • pkg_hash_check_unresolved: cannot find dependency curl for k3screenctrl
  • pkg_hash_fetch_best_installation_candidate: Packages for k3screenctrl found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package k3screenctrl.
    opkg install 命令失败,代码 255。

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant