loehnertz / doppelgaenger Goto Github PK
View Code? Open in Web Editor NEWAn interactive tool to eliminate code clones in Java applications
License: MIT License
An interactive tool to eliminate code clones in Java applications
License: MIT License
Hi,
by running the application with the provided docker-compose
file I get the following error as response:
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
Docker Engine
v19.03.13
macOS
Version 10.15.7 (19H15)
Chrome
Version 87.0.4280.67 (Official Build) (x86_64)
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.