sirpdboy / luci-theme-kucat

kucat酷猫主题(JS版支持官方23.05分支):以酷为美,因动而生。 带5种快捷键的工具栏。 基本无BUG,适应目前已经所有插件. 针对手机等做了大量优化. 有配套的主题设置工具,可调节快捷键、背景图片、颜色多种方案可供选择。
107 stars 24 forks source link

js分支,23.05源码报错 #6

Open myannnascar opened 11 months ago

myannnascar commented 11 months ago

Snipaste_2023-11-24_01-46-06

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/kucat/header'. A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/kucat/header...."]:89: attempt to concatenate local 'primary_opacity' (a nil value) stack traceback: [string "/usr/lib/lua/luci/view/themes/kucat/header...."]:89: 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 run_action (/usr/share/ucode/luci/dispatcher.uc:786:47) called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1003:48) called from anonymous function (/www/cgi-bin/luci:39:13)

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

安装主题版本为2.1.16 Snipaste_2023-11-24_01-49-09

请教下这是少了什么模块或什么问题吗

sirpdboy commented 10 months ago

清除历史记录和浏览器缓存 看看。用新版2.2.0的试试。

Gloryandel commented 9 months ago

这个问题与到过,之前使用 Argon config 也正常安装,同样报错未处理异常。将其编译进固件解决,可以尝试一下