Code Monkey home page Code Monkey logo

doppelgaenger's People

Contributors

loehnertz avatar nuriabruchtarrega avatar

Watchers

 avatar  avatar

doppelgaenger's Issues

Error "Project root does not exist"

Hi,

by running the application with the provided docker-compose file I get the following error as response:

Error

config:
    adapter: ƒ (t)
    data: undefined
    headers: {Accept: "application/json, text/plain, */*"}
    maxContentLength: -1
    method: "get"
    params: {projectType: "LOCAL", basePath: "", projectRoot: "/Users/xy/data/smallsql0.21_src", cloneType: "ONE", similarityThreshold: "0", …}
    timeout: 0
    transformRequest: [ƒ]
    transformResponse: [ƒ]
    url: "http://localhost:8888/analysis"
    validateStatus: ƒ (t)
    xsrfCookieName: "XSRF-TOKEN"
    xsrfHeaderName: "X-XSRF-TOKEN"
    __proto__: Object
data: "Project root does not exist"
headers: {content-length: "27", content-type: "text/plain; charset=UTF-8"}
request: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}
status: 400
statusText: "Bad Request"
__proto__: Object

Environment

Docker Engine
v19.03.13

macOS
Version 10.15.7 (19H15)

Chrome
Version 87.0.4280.67 (Official Build) (x86_64)

Solution

Could it be the case that Docker does not have the permissions to access the file-system outside of the mounted volume?

For me, changing the mounted volume to the current path worked:

e.g.
docker-compose.yml

...
    volumes:
      - $PWD/data:/app/projects/
...

Cheers

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.