Code Monkey home page Code Monkey logo

Comments (6)

andreax79 avatar andreax79 commented on May 30, 2024

Hi, please check the airflow webserver log.
In case of permission error the airflow websers logs contains something like the following:
[2021-03-19 18:18:24,644] {code_editor_view.py:105} ERROR - [Errno 13] Permission denied: 'filename...'

from airflow-code-editor.

koasi avatar koasi commented on May 30, 2024

Hi thanks your reply, I'm read airflow-webserver.log or airflow-webserver.err. it didn't contain any log like that. even i change airflow.cfg\logging\logging_level = WARN, it still didn't log any error message.
btw, the airflow is running via my-self account.
the code editor folder tree and mount folder both can access files normal, when open the file the editor of the dag.py it show file not found.
I think another possible case, the real folder path problem. is that possible ??

from airflow-code-editor.

andreax79 avatar andreax79 commented on May 30, 2024

Some questions :)
Which browser are you using?
Could you post here your airflow.cfg?
Please check if you are able to download a file via direct url, e.g.: http://localhost:8080/code_editor/files/filename.txt

from airflow-code-editor.

koasi avatar koasi commented on May 30, 2024

Hi, I had try it, it cannot get the file...
i think .... i got some thing.. possibly cause of root route of airflow was changed
i was change airflow sub-route as. http://localhost:xxxx/airflow/

in the editor file list, the file action [download] the hyperlink is using http://localhost:xxxx/code_editor/files/*.py,
but if I try to revise hyperlink as http://localhost:xxxx/airflow/code_editor/files/*.py, it works well.

from airflow-code-editor.

andreax79 avatar andreax79 commented on May 30, 2024

I was able to reproduce the problem. There was a problem with different root URL (not '/').
Please try the new version 3.3.1, I hope it your problem is resolved.

from airflow-code-editor.

koasi avatar koasi commented on May 30, 2024

perfect, it's resolved, CRWD are normal.

from airflow-code-editor.

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.