jerrykuku / luci-app-argon-config

Argon Theme Config Plugin
Apache License 2.0
193 stars 79 forks source link

错误报告(openwrt22.03.3) #28

Open bunnyi116 opened 1 year ago

bunnyi116 commented 1 year ago

错误报告(openwrt22.03.3)

作者有没有打算适配一下官方的luci

image

bunnyi116 commented 1 year ago
/usr/lib/lua/luci/ucodebridge.lua:14: /usr/lib/lua/luci/model/cbi/argon-config.lua:3: module 'luci.model.ipkg' not found:
no field package.preload['luci.model.ipkg']
no file './luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg/init.lua'
no file '/usr/lib/lua/luci/model/ipkg.lua'
no file '/usr/lib/lua/luci/model/ipkg/init.lua'
no file './luci/model/ipkg.so'
no file '/usr/lib/lua/luci/model/ipkg.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 h(), file [C]
called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:14)
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:998:48)
  called from anonymous function (/www/cgi-bin/luci:39:12)

 `        return lcall.call(modname, method, ...args);`
  Near here ----------------------------------------^
bunnyi116 commented 1 year ago

luci-app-argon 主题运行正常

ferboiar commented 1 year ago

same problem here... and luci-lib-ipkg, luci-compat and luci-lua-runtime are all installed

ericsyy commented 1 year ago

same problem here... and luci-lib-ipkg, luci-compat and luci-lua-runtime are all installed

Same issue, i tried to install luci-lib-ipkg manually, the plugin worked fine.

Please check the ipkg.lua path: /usr/lib/lua/luci/model/ipkg.lua

1AB26AFF-817D-45E7-9CBB-80286CDA6532 5B6C1849-F8E3-4358-8F85-AE9137074CA2

ferboiar commented 1 year ago

same problem here... and luci-lib-ipkg, luci-compat and luci-lua-runtime are all installed

Same issue, i tried to install luci-lib-ipkg manually, the plugin worked fine.

Please check the ipkg.lua path: /usr/lib/lua/luci/model/ipkg.lua

ipkg.lua is not present....

e8450@/usr/lib/lua/luci/model # opkg list-installed | grep ipkg
luci-lib-ipkg - git-22.281.42660-4ee170d
e8450@/usr/lib/lua/luci/model # ll
drwxrwxr-x    1 root     root           224 Mar  7  2021 ./
drwxr-xr-x    1 root     root           496 Mar  6 18:53 ../
drwxrwxr-x    1 root     root           312 Mar  6 18:38 cbi/
-rw-r--r--    1 root     root          8061 Mar  5 19:23 firewall.lua
drwxr-xr-x    2 root     root           364 Mar  5 19:23 network/
-rw-r--r--    1 root     root         29388 Mar  5 19:23 network.lua
-rw-r--r--    1 root     root          6417 Mar  5 19:23 uci.lua
e8450@/usr/lib/lua/luci/model #
ferboiar commented 1 year ago

ok. Problem solved !!!

uninstalled luci-lib-ipkg - (git-22.281.42660-4ee170d)

installed luci-lib-ipkg (git-18.318.71164-4bbe325) (https://downloads.openwrt.org/releases/packages-21.02/aarch64_cortex-a72/luci/luci-lib-ipkg_git-18.318.71164-4bbe325_all.ipk)

my build is OpenWrt SNAPSHOT r22235-a03076cc39

bunnyi116 commented 1 year ago

ok. Problem solved !!!

uninstalled luci-lib-ipkg - (git-22.281.42660-4ee170d)

installed luci-lib-ipkg (git-18.318.71164-4bbe325) (https://downloads.openwrt.org/releases/packages-21.02/aarch64_cortex-a72/luci/luci-lib-ipkg_git-18.318.71164-4bbe325_all.ipk)

my build is OpenWrt SNAPSHOT r22235-a03076cc39

Whether the official openwrt luci has been updated to luci-lib-ipkg version (git-18.318.71164-4bbe325)?

ferboiar commented 1 year ago

ok. Problem solved !!! uninstalled luci-lib-ipkg - (git-22.281.42660-4ee170d) installed luci-lib-ipkg (git-18.318.71164-4bbe325) (https://downloads.openwrt.org/releases/packages-21.02/aarch64_cortex-a72/luci/luci-lib-ipkg_git-18.318.71164-4bbe325_all.ipk) my build is OpenWrt SNAPSHOT r22235-a03076cc39

Whether the official openwrt luci has been updated to luci-lib-ipkg version (git-18.318.71164-4bbe325)?

it is not clear to me. I think the problem has been that my build downloads packages from these repositories, it is likely that one of the two has introduced the "updated" library:

https://github.com/kenzok8/small-package https://github.com/sirpdboy/sirpdboy-package

bunnyi116 commented 1 year ago

ok. Problem solved !!! uninstalled luci-lib-ipkg - (git-22.281.42660-4ee170d) installed luci-lib-ipkg (git-18.318.71164-4bbe325) (https://downloads.openwrt.org/releases/packages-21.02/aarch64_cortex-a72/luci/luci-lib-ipkg_git-18.318.71164-4bbe325_all.ipk) my build is OpenWrt SNAPSHOT r22235-a03076cc39

Whether the official openwrt luci has been updated to luci-lib-ipkg version (git-18.318.71164-4bbe325)?

it is not clear to me. I think the problem has been that my build downloads packages from these repositories, it is likely that one of the two has introduced the "updated" library:

https://github.com/kenzok8/small-package https://github.com/sirpdboy/sirpdboy-package

Well, I'll try it tomorrow.