Coder Social home page Coder Social logo

Comments (14)

dausruddin avatar dausruddin commented on May 20, 2024 20

I had same error, but with Argon theme config. But since this issue appeared first on Google , maybe this can help someone.

Solved by jerrykuku/luci-theme-argon#151 (comment), the solution is to install luci-lib-ipkg. Eg: opkg install luci-lib-ipkg

from luci-wrtbwmon.

Kiougar avatar Kiougar commented on May 20, 2024

Can you please provide more details?

What version of OpenWRT are you using?
When you say versions later than 6.0, do you mean version 0.6.0 of this luci-wrtbwmon?
Can you provide a screenshot of the loading screen?
Is it possible to provide a copy of the logs in the console tab in your browser (if there are any)?

Thanks in advance!

from luci-wrtbwmon.

nixcamic avatar nixcamic commented on May 20, 2024

I'm using the latest snapshot of OpenWRT, and yes 0.6.0 of luci-wrtbwmon, its just the loading screen that pops up normally right before the table is displayed. Unfortunately it was at a friends house that I had the problem, I have a similar router at home though and I'll see if I can reproduce the issue on it.

from luci-wrtbwmon.

Virr avatar Virr commented on May 20, 2024

Can you please provide more details?

What version of OpenWRT are you using?
When you say versions later than 6.0, do you mean version 0.6.0 of this luci-wrtbwmon?
Can you provide a screenshot of the loading screen?
Is it possible to provide a copy of the logs in the console tab in your browser (if there are any)?

Thanks in advance!

in console: 500 error here usage/check_dependency:1

and when I open /cgi-bin/luci/admin/network/usage/check_dependency

Failed to execute call dispatcher target for entry '/admin/network/usage/check_dependency'.
The called action terminated with an exception:
/usr/lib/lua/luci/controller/wrtbwmon.lua:24: 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/controller/wrtbwmon.lua:24: in function </usr/lib/lua/luci/controller/wrtbwmon.lua:22>
(tail call): ?

from luci-wrtbwmon.

Kiougar avatar Kiougar commented on May 20, 2024

Thanks @Virr for the details. I couldn't reproduce it myself but I pushed a fix nonetheless.

Can you try release v0.8.3?

from luci-wrtbwmon.

Virr avatar Virr commented on May 20, 2024

Unfortunately, exactly the same.

I did

opkg install /tmp/luci-wrtbwmon_v0.8.3_all.ipk
Upgrading luci-wrtbwmon on root from 0.8.2 to v0.8.3...
Configuring luci-wrtbwmon

then
rm /tmp/luci-indexcache

but nothing changed

from luci-wrtbwmon.

Kiougar avatar Kiougar commented on May 20, 2024

Try running this as well to make sure the cache is completely clear:

rm -rf /tmp/luci-indexcache /tmp/luci-modulecache

Can you tell me which version of OpenWRT are you using?
Also, can you provide the output of the following command?

opkg list-installed

from luci-wrtbwmon.

Virr avatar Virr commented on May 20, 2024

rm -rf /tmp/luci-indexcache /tmp/luci-modulecache

after this command it works. Great! Thanks!

from luci-wrtbwmon.

Kiougar avatar Kiougar commented on May 20, 2024

But I still cannot reproduce it with a clean image of OpenWRT 18.06.2

Can you answer my questions so that I can figure out the source of the problem?

Can you tell me which version of OpenWRT are you using?
Also, can you provide the output of the following command?

opkg list-installed

from luci-wrtbwmon.

rammurti84 avatar rammurti84 commented on May 20, 2024

trying to install but getting below error
root@myrouter:# opkg install luci-wrtbwmon_v0.8.3_all.ipk
ERROR: Dependency wrtbwmon of package luci-wrtbwmon cannot be found, try updating your package lists
root@myrouter:
#

from luci-wrtbwmon.

Martin8023 avatar Martin8023 commented on May 20, 2024

you can remove ipkg = require "luci.model.ipkg" in the xx.lua, then make again. I guess it's because the luci version is different.

from luci-wrtbwmon.

yearski avatar yearski commented on May 20, 2024

I ran into a similar module 'luci.model.ipkg' not found error. Mine was for luci-ddns, not luci-wrtbwmon, so it may be completely unrelated. My issue was that I use USB storage for an extroot overlay and when I upgraded OpenWRT the USB storage carried along some stale luci modules/config. I fixed it by deleting /usr/lib/lua/luci/ from the USB storage and then re-copying it from the "fresh" jffs partition. Just a possible explanation if @Virr is also using an external overlay.

from luci-wrtbwmon.

sweet0416 avatar sweet0416 commented on May 20, 2024

I had same error, but with Argon theme config. But since this issue appeared first on Google , maybe this can help someone.

Solved by jerrykuku/luci-theme-argon#151 (comment), the solution is to install luci-lib-ipkg. Eg: opkg install luci-lib-ipkg

Thank you bro ~

from luci-wrtbwmon.

score76 avatar score76 commented on May 20, 2024

For me this happened when I tried to remove the luci-app-ntpc and ntpclient package. I wanted to replace it with ntpd instead. When you remove the packages you get the error, put them back and it works again. Repeatable.

from luci-wrtbwmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.