-
Notifications
You must be signed in to change notification settings - Fork 16
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
Docker run gives load file failed #25
Comments
Agent comment from xiaorong.zheng in Zendesk ticket #99045: °°° |
Same problem here, just tried with /tmp but still got "load file failed" as a result. |
@dji-dev |
Agent comment from xiaorong.zheng in Zendesk ticket #99045: °°° |
@dji-dev Still the same issue |
Here is the command
|
Also tried which gives and which gives |
Agent comment from xiaorong.zheng in Zendesk ticket #99045: °°° |
I'm using 1.0.5 version @dji-dev |
Agent comment from xiaorong.zheng in Zendesk ticket #99045: °°° |
Hi mateusmcorrea I am running the app 1.0.5 version in Docker WSL 2 backend on a windows10 system. After changing line 7 in the Dockerfile to (as suggested by roothetic in another issue): After changing $(pwd):/tmp to %cd%:/tmp Maybe it helps |
Well, I succeeded to make it work. I've renamed the folder to a simple name: flight I've place it on C:\ directly |
Hi - I'm really sorry to ask - but would someone who is running the sample app in Docker Desktop on Windows mind letting have a copy of their dockerfile and the docker run command they are using please? I've spent hours reading what must be nearly the entire contents of the internet relating this issue, and going round in circles trying various options to find the right combination - all of which seem to run into various dead ends! My desk now has a forehead-shaped contour in it...! I realise I must be missing something very obvious, but at this stage am lost in the woods... :( Details below. Many thanks David I'm using the dockerfile contents as per the ReadMe file on Github. Using the line "
If I use " I receive the following: |
I'm actually trying to build under Ubuntu running in a VirtualBox instance and I'm having a similar problem as @davidmcarter My home directory is "/home/werewolf" and my steps were:
In my case it complains that it cannot find CURL (missing: CURL_INCLUDE_DIR)
There is no directory /parse_flyrecord/dji-flightrecord-kit/build/Ubuntu/FRSample/CMakeFiles/ or /home/werewolf/flightparserdji-flightrecord-kit/build/Ubuntu/FRSample/CMakeFiles/ Also, I can run curl from the command line, so it's definitely there. I even tried adding curl to the "RUN apt-get install -y wget git gcc g++ make cmake" line in Dockerfile - no difference. UPDATE: The change proposed in this pull request fixes the CURL problem and allows the docker build to complete. |
Agent comment from xiaorong.zheng in Zendesk ticket #99045: °°° |
Hello,
I am trying to run the application via Docker with the following command:
docker run pf -it -v $(pwd):/tmp "DJIFlightRecord_CC.txt"
But I always get the error:
load file failed
Am I doing something wrong ?
Thank you for your support.
The text was updated successfully, but these errors were encountered: