Coder Social home page Coder Social logo

Comments (3)

peifeng-unity avatar peifeng-unity commented on June 22, 2024

Hello @eeGeoGZP,

Thank you for bringing this issue up. The error seems to show that the "server_endpoint.py" contains DOS carriage return "\r", which cannot be executed in the Ubuntu system inside the docker.

To address the issue, we will need to add a line in Dockerfile to convert line breaks in all the executable files, like https://github.com/Unity-Technologies/Unity-Robotics-Hub/blob/add-dos2unix-in-dockerfile/tutorials/pick_and_place/docker/Dockerfile#L19.

We will go and merge the fix. If you need to have it work in the meantime, you can just follow the above Dockerfile and rebuild the docker image.

Please let us know if your problem could be resolved with the fix?

Thank you,
Peifeng

from unity-robotics-hub.

eeGeoGZP avatar eeGeoGZP commented on June 22, 2024

Hi Peifeng, I have added the line RUN /bin/bash -c "find $ROS_WORKSPACE -type f -print0 | xargs -0 dos2unix" at the line #19 as you mentioned. After rebuilt the docker image, "docker run ------" is running ok (without error). Thank you.

from unity-robotics-hub.

peifeng-unity avatar peifeng-unity commented on June 22, 2024

Thank you, @eeGeoGZP. I'll close this issue.

from unity-robotics-hub.

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.