freifunk / openwrt-packages

Freifunk specific global OpenWrt Packages
Apache License 2.0
26 stars 33 forks source link

luci-mod-freifunk: add dependency to luci-compat #27

Closed SvenRoederer closed 3 years ago

SvenRoederer commented 4 years ago

this fixes the error seen in the admin-interface after login

/usr/lib/lua/luci/dispatcher.lua:1342: 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'

The luci-compat packaged was added in LuCI when reworking to JS-based framework was done, to provide backward compatibility to the Lua-based framework (up to OpenWrt-18.06).

SvenRoederer commented 4 years ago

This should be also relevant for the 19.07 branch

SvenRoederer commented 3 years ago

Not sure, if this was no error, relates to #33 or upstream (OpenWrt-21.02) handling was improved, but I can't confirm this problem anymore.