Git Product home page Git Product logo

Comments (5)

mkschreder avatar mkschreder commented on September 6, 2024

take a look at access.json files in juci. There you specify which ubus
calls you want to allow access to over rpc. Most likely system.board call
is not allowed or allowed in a plugin that you did not enable. Then it
could be a bug.
On 12 Jan 2016 14:33, "animavitis" [email protected] wrote:

Hi
I was able to build openwrtCC with JUCI for virtualbox and successfully
run it But after login page i get in console:

RPC error (systemboard):
{"jsonrpc":"20","id":1,"error":{"code":-32002,"message":"Access
denied"}}requesterror @ 01-jucijs:55
01-jucijs:56 Uncaught Error: [ng:areq]
http://errorsangularjsorg/1315/ng/areq?p0=OverviewPageCtrl&p1=not%20a%20function%2C%20got%20undefined
01-jucijs:42 Uncaught Error: [$rootScope:inprog]
http://errorsangularjsorg/1315/$rootScope/inprog?p0=%24digest

can u help me?


Reply to this email directly or view it on GitHub
#33.

from juci.

animavitis avatar animavitis commented on September 6, 2024

now i have this in console:

Init UBUS ->
01-juci.js:56 Init UCI
01-juci.js:56 init: config
01-juci.js:55 RPC succeeded (uci.revert), but returned error: {"jsonrpc":"2.0","id":1,"result":[6,{"code":6}]}: Access denied
01-juci.js:56 Synched config juci
01-juci.js:56 Using settings from config/juci on router
01-juci.js:56 juci: loading menu from server..
01-juci.js:56 CONF
01-juci.js:56 juci: angular init
01-juci.js:40 Uncaught Error: [ng:areq] http://errors.angularjs.org/1.3.15/ng/areq?p0=OverviewPageCtrl&p1=not%20a%20function%2C%20got%20undefined(anonymous function) @ 01-juci.js:40Rb @ 01-juci.js:40sb @ 01-juci.js:40(anonymous function) @ 01-juci.js:41(anonymous function) @ 01-juci.js:41r @ 01-juci.js:40B @ 01-juci.js:41g @ 01-juci.js:41(anonymous function) @ 01-juci.js:41(anonymous function) @ 01-juci.js:41k @ 01-juci.js:41Ia.link @ 01-juci.js:44$ @ 01-juci.js:41B @ 01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41B @ 01-juci.js:41(anonymous function) @ 01-juci.js:41(anonymous function) @ 01-juci.js:42n.$eval @ 01-juci.js:42n.$digest @ 01-juci.js:42n.$apply @ 01-juci.js:42(anonymous function) @ 01-juci.js:40e @ 01-juci.js:41d @ 01-juci.js:40uc @ 01-juci.js:40(anonymous function) @ 01-juci.js:56j @ 01-juci.js:29k.fireWith @ 01-juci.js:29e.(anonymous function) @ 01-juci.js:29(anonymous function) @ 01-juci.js:56(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:56(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1iterate @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:56(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1iterate @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @ 01-juci.js:56j @ 01-juci.js:29k.fireWith @ 01-juci.js:29e.(anonymous function) @ 01-juci.js:29(anonymous function) @ 01-juci.js:55j @ 01-juci.js:29k.fireWith @ 01-juci.js:29e.(anonymous function) @ 01-juci.js:29request.success @ 01-juci.js:55$.extend.jsonRPC._requestSuccess @ 01-juci.js:54$.ajax.success @ 01-juci.js:53j @ 01-juci.js:29k.fireWith @ 01-juci.js:29x @ 01-juci.js:30(anonymous function) @ 01-juci.js:30
01-juci.js:40 Uncaught Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24digest

from juci.

mkschreder avatar mkschreder commented on September 6, 2024

How are you building? Did you enable minimal plugins and choose the default
theme? There is a makefile.local example file that gives you an example of
a package selection. You need to copy it to Makefile.local if you build
locally. Opnwrt build typically makes package selection using menuconfig,
therefore there is no need to use makefile.local when building with
openwrt.

You are most likely getting this error because you are not compiling in a
theme.
On 12 Jan 2016 22:29, "animavitis" [email protected] wrote:

now i have this in console:

Init UBUS ->
01-juci.js:56 Init UCI
01-juci.js:56 init: config
01-juci.js:55 RPC succeeded (uci.revert), but returned error:
{"jsonrpc":"2.0","id":1,"result":[6,{"code":6}]}: Access denied
01-juci.js:56 Synched config juci
01-juci.js:56 Using settings from config/juci on router
01-juci.js:56 juci: loading menu from server..
01-juci.js:56 CONF
01-juci.js:56 juci: angular init
01-juci.js:40 Uncaught Error: [ng:areq]
http://errors.angularjs.org/1.3.15/ng/areq?p0=OverviewPageCtrl&p1=not%20a%20function%2C%20got%20undefined(anonymous
function) @ 01-juci.js:40Rb @ 01-juci.js:40sb @ 01-juci.js:40(anonymous
function) @ 01-juci.js:41(anonymous function) @ 01-juci.js:41r @
01-juci.js:40B @ 01-juci.js:41g @ 01-juci.js:41(anonymous function) @
01-juci.js:41(anonymous function) @ 01-juci.js:41k @ 01-juci.js:41Ia.link @
01-juci.js:44$ @ 01-juci.js:41B @ 01-juci.js:41g @ 01-juci.js:41g @
01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41g @ 01-juci.js:41g @
01-juci.js:41B @ 01-juci.js:41(anonymous function) @
01-juci.js:41(anonymous function) @ 01-juci.js:42n.$eval @
01-juci.js:42n.$digest @ 01-juci.js:42n.$apply @ 01-juci.js:42(anonymous
function) @ 01-juci.js:40e @ 01-juci.js:41d @ 01-juci.js:40uc @
01-juci.js:40(anonymous function) @ 01-juci.js:56j @
01-juci.js:29k.fireWith @ 01-juci.js:29e.(anonymous function) @
01-juci.js:29(anonymous function) @ 01-juci.js:56(anonymous function) @
01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @
01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @
01-juci.js:56(anonymous function) @ 01-juci.js:1(anonymous function) @
01-juci.js:1iterate @ 01-juci.js:1(anonymous function) @
01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @
01-juci.js:1(anonymous function) @ 01-juci.js:56(anonymous function) @
01-juci.js:1(anonymous function) @ 01-juci.js:1iterate @
01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @
01-juci.js:1(anonymous function) @ 01-juci.js:1(anonymous function) @
01-juci.js:56j @ 01-juci.js:29k.fireWith @ 01-juci.js:29e.(anonymous
function) @ 01-juci.js:29(anonymous function) @ 01-juci.js:55j @
01-juci.js:29k.fireWith @ 01-juci.js:29e.(anonymous function) @
01-juci.js:29request.success @ 01-juci.j
s:55$.extend.jsonRPC._requestSuccess @ 01-juci.js:54$.ajax.success @
01-juci.js:53j @ 01-juci.js:29k.fireWith @ 01-juci.js:29x @
01-juci.js:30(anonymous function) @ 01-juci.js:30
01-juci.js:40 Uncaught Error: [$rootScope:inprog]
http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24digest
http://errors.angularjs.org/1.3.15/%24rootScope/inprog?p0=%24digest


Reply to this email directly or view it on GitHub
#33 (comment).

from juci.

animavitis avatar animavitis commented on September 6, 2024

success :)

i was something wrnog with .config file .... i run:
./scrpits/feeds uninstall -a
./scrpits/feeds update -a
./scrpits/feeds install -a
./scrpits/feeds install -f -p juci -a
make menuconfig (and select JUCI stuff)
make

and its works!

thanks for help

from juci.

mkschreder avatar mkschreder commented on September 6, 2024

Awesome.

It could be that it did not properly override the packages the first time.

When installing juci feed you should lways see "Overriding package" message
for some packages.
On 13 Jan 2016 08:33, "animavitis" [email protected] wrote:

success :)

i was something wrnog with .config file .... i run:
./scrpits/feeds uninstall -a
./scrpits/feeds update -a
./scrpits/feeds install -a
./scrpits/feeds install -f -p juci -a
make menuconfig (and select JUCI stuff)
make

and its works!

thanks for help


Reply to this email directly or view it on GitHub
#33 (comment).

from juci.

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.