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

Invalid file name due to sandbox #70

Open
kemelzaidan opened this issue Dec 16, 2020 · 0 comments
Open

Invalid file name due to sandbox #70

kemelzaidan opened this issue Dec 16, 2020 · 0 comments

Comments

@kemelzaidan
Copy link

kemelzaidan commented Dec 16, 2020

I'm using madoko-local and having an error an error that's driving me crazy, simply because the server is not working and I just can't find what is wrong:

--------------------
----- error --------
Invalid file name due to sandbox: curso-fgv-isoc/id:associacao-brasileira-de-normas-tecnicas.csl
----- stack --------
Error
    at new HttpError (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/util.js:246:17)
    at Object.getSafePath (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/sandbox.js:40:11)
    at getLocalPath (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/main.js:111:18)
    at Function.getMetadata (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/main.js:139:15)
    at Function.Promise.wrap (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/promise.js:204:25)
    at /home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/app.js:65:26
    at Layer.handle [as handle_request] (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/layer.js:95:5)
--------------------

I don't have this file curso-fgv-isoc/id:associacao-brasileira-de-normas-tecnicas.csl under the directory I'm working, so I cannot find how to solve it.

Besides that, the terminal always shows unauthorized access, no matter I invoke madoko-local with -l argument.

----- error --------
unauthorized access; secret key is not correct.
----- stack --------
Error
    at new HttpError (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/util.js:246:17)
    at /home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/main.js:55:13
    at Layer.handle [as handle_request] (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/index.js:317:13)
    at /home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/index.js:335:12)
    at next (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/index.js:275:10)
    at /home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/src/app.js:141:5
    at Layer.handle [as handle_request] (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/kemel/.nvm/versions/node/v14.15.1/lib/node_modules/madoko-local/node_modules/express/lib/router/index.js:317:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant