question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker installation with data softlink bug fixed?

See original GitHub issue

Hi there,

I found that in current ReadMe file local evaluation step 5, if a soft link is used and the suggested docker command is run, there would be an error message like this:

 2021-04-13 21:51:15,680 Initializing dataset ObjectNav-v1
 2021-04-13 21:51:15,710 initializing sim Sim-v0
 WARNING: Logging before InitGoogleLogging() is written to STDERR
 E0413 21:51:15.723701    17 StageAttributesManager.cpp:90] StageAttributesManager::registerObjectFinalize : Render asset template handle : habitat-challenge-data/data/scene_datasets/mp3d/x8F5xyUWy9e/x8F5xyUWy9e.glb specified in stage template with handle : habitat-challenge-data/data/scene_datasets/mp3d/x8F5xyUWy9e/x8F5xyUWy9e.glb does not correspond to any existing file or primitive render asset.  Aborting. 
  submission.sh: line 3:    17 Segmentation fault      (core dumped) python agent.py --evaluation $AGENT_EVALUATION_TYPE $@`

My fix was to change this line:

 -v $(realpath habitat-challenge-data/data/scene_datasets/mp3d) \

to

  -v $(realpath habitat-challenge-data/data/scene_datasets/mp3d):/habitat-challenge-data/data/scene_datasets/mp3d \

Not that familiar with Docker, so not sure whether this is a version problem or a bug. Just want to post one solution!

Best, Yiqing

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Skylark0924commented, May 4, 2021

@erikwijmans By the way, there is still a small problem in the readme. image The path is no longer working, it should be /habitat_baselines/config/objectnav/ddppo_objectnav.yaml(If the script runs under the habita-lab folder).

1reaction
erikwijmanscommented, May 4, 2021

Likely a versioning thing as -v $(realpath habitat-challenge-data/data/scene_datasets/mp3d) \ worked at the time, but your update seems more portable! I will update the readme

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symbolic Links not Working as Expected · Issue #5778 - GitHub
Now Docker is treating Windows symbolic links as Linux symbolic links, that way you may not be able to access the files if...
Read more >
Docker load failure: symlink "link": operation not permitted
I would strongly suggest to configure the data-root folder in /etc/docker/deamon.json (create the file if it doesn't exist), ...
Read more >
docker - create a symlink in an unprivileged container error
Like other Linux commands, a Docker container's main CMD can't run if the program it names isn't executable. Most source-control systems ...
Read more >
FAQ - Rancher Desktop Docs
Q: Can I have Docker Desktop installed alongside Rancher Desktop? ... I see a Insufficient permission to manipulate /usr/local/bin error, how do I...
Read more >
Running AWS IoT Greengrass in a Docker container
x Docker images no longer receive security patches or bug fixes after maintenance ended on June 30, 2022. If you run a production...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found