xiaoqingfengatgh / luci-theme-infinityfreedom Goto Github PK
View Code? Open in Web Editor NEWA theme for HomeLede and Openwrt.
License: Apache License 2.0
A theme for HomeLede and Openwrt.
License: Apache License 2.0
Hello, I'm on a custom built openwrt build, it's the latest commit which is openwrt/openwrt@eaa9c94
When I install the theme this error occurs and luci stopps working.
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/infinityfreedom/header'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: attempt to call field 'node_childs' (a nil value)
stack traceback:
[string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:754: in function 'include'
[string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:754: in function 'include'
[string "/usr/lib/lua/luci/view/admin_status/index.h..."]:1: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:1019: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:983: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>
Please help the error, thanks.
想自定义
随官方固件一块编译,固件编译好后在使用时发现用不了
不支持21.xx版本了?
报错内容具体如下:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/infinityfreedom/header'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: attempt to call field 'node_childs' (a nil value)
stack traceback:
[string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:700: in function 'include'
[string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:700: in function 'include'
[string "/usr/lib/lua/luci/view/sysauth.htm"]:1: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:483: in function </usr/lib/lua/luci/dispatcher.lua:482>
但是切换成其他openwrt内置主题可以正常使用。请问这个是什么原因啊?
目前所见最有颜值的主题.
可惜只能编译安装,能提供安装包就好了.
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'view'. A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'. A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/infinityfreedom/header'. A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: attempt to call field 'node_childs' (a nil value) stack traceback: [string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: in main chunk stack traceback: [C]: in function 'error' /usr/lib/lua/luci/template.lua:97: in function 'render' /usr/lib/lua/luci/dispatcher.lua:756: in function 'include' [string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk stack traceback: [C]: in function 'error' /usr/lib/lua/luci/template.lua:97: in function 'render' /usr/lib/lua/luci/dispatcher.lua:756: in function 'include' [string "/usr/lib/lua/luci/view/view.htm"]:1: in main chunk stack traceback: [C]: in function 'error' /usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85> (tail call): ? /usr/lib/lua/luci/dispatcher.lua:954: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>
希望能够适配luci 18以上。
OpenWrt SNAPSHOT r19160-7ea2f3d6e2 / LuCI Master git-22.058.70382-d29400e
Version: luci-theme-infinityfreedom_1.5.20201213-1_all.ipk
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'view'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/infinityfreedom/header'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: attempt to call field 'node_childs' (a nil value)
stack traceback:
[string "/usr/lib/lua/luci/view/themes/infinityfreed..."]:23: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:696: in function 'include'
[string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function 'render'
/usr/lib/lua/luci/dispatcher.lua:696: in function 'include'
[string "/usr/lib/lua/luci/view/view.htm"]:1: in main chunk
stack traceback:
[C]: in function 'error'
/usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:986: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>
随官方固件一块编译,固件编译好后在使用时发现用不了
京东签到,显示不出来,得上传IPK安装
报错信息: The requested URL /luci-static/infinityfreedom/images/brand.png was not found on this server.
内核版本: 5.10.91
说明: 可以正常使用。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.