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

lime-webui add dependency from luci-compat #899

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

ilario
Copy link
Member

@ilario ilario commented Oct 10, 2021

lime-webui is obsolete and has been replaced by lime-app since years.
Anyway, there are still users using it.

Since OpenWrt 19.07, some LuCI pieces have been moved to the luci-compat package and adding it as a dependency should not be a problem neither for people still using OpenWrt 18.06 as a base as an empty package with this name has been added in its repositories.

If this package is not selected, the shown error is the following:

/usr/lib/lua/luci/dispatcher.lua:1334: 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'
stack traceback:
	[C]: in function 'require'
	/usr/lib/lua/luci/dispatcher.lua:1334: in function '_cbi'
	/usr/lib/lua/luci/dispatcher.lua:1023: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:984: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>

@codecov-commenter
Copy link

Codecov Report

Merging #899 (947f226) into master (58bb697) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #899   +/-   ##
=======================================
  Coverage   74.54%   74.54%           
=======================================
  Files          43       43           
  Lines        3658     3658           
=======================================
  Hits         2727     2727           
  Misses        931      931           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58bb697...947f226. Read the comment docs.

@germanferrero germanferrero merged commit 8c9e71c into libremesh:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants