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

missing luci module in the latest OpenWRT build #140

Closed
scbizu opened this issue Jan 26, 2020 · 2 comments
Closed

missing luci module in the latest OpenWRT build #140

scbizu opened this issue Jan 26, 2020 · 2 comments

Comments

@scbizu
Copy link

@scbizu scbizu commented Jan 26, 2020

  • luci-app-clash version: v1.4.8
  • clash version: v0.17.2
  • CPU arch: mipsle 24kc
  • Kernel Version: 4.14.162
  • Route Type: XiaoMi Wifi mini
  • OpenWRT verson: 19.07
  • Details:「Create Config」-> 「Proxies」, 当点击Add或者Edit的时候会直接报错,信息如下:
Failed to execute cbi dispatcher target for entry '/admin/services/clash/provider-config/cfg074a8f'.
The called action terminated with an exception:
...usr/lib/lua/luci/model/cbi/clash/provider-config.lua:5: 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'
stack traceback:
	[C]: in function 'require'
	...usr/lib/lua/luci/model/cbi/clash/provider-config.lua:5: in function 'func'
	/usr/lib/lua/luci/cbi.lua:66: in function 'load'
	/usr/lib/lua/luci/dispatcher.lua:943: in function </usr/lib/lua/luci/dispatcher.lua:937>
@frainzy1477

This comment has been minimized.

Copy link
Owner

@frainzy1477 frainzy1477 commented Jan 27, 2020

  • luci-app-clash version: v1.4.8
  • clash version: v0.17.2
  • CPU arch: mipsle 24kc
  • Kernel Version: 4.14.162
  • Route Type: XiaoMi Wifi mini
  • OpenWRT verson: 19.07
  • Details:「Create Config」-> 「Proxies」, 当点击Add或者Edit的时候会直接报错,信息如下:
Failed to execute cbi dispatcher target for entry '/admin/services/clash/provider-config/cfg074a8f'.
The called action terminated with an exception:
...usr/lib/lua/luci/model/cbi/clash/provider-config.lua:5: 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'
stack traceback:
	[C]: in function 'require'
	...usr/lib/lua/luci/model/cbi/clash/provider-config.lua:5: in function 'func'
	/usr/lib/lua/luci/cbi.lua:66: in function 'load'
	/usr/lib/lua/luci/dispatcher.lua:943: in function </usr/lib/lua/luci/dispatcher.lua:937>

3531dea 自己修改试试

@scbizu

This comment has been minimized.

Copy link
Author

@scbizu scbizu commented Jan 27, 2020

ok 可以了

@scbizu scbizu closed this Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.