Code Monkey home page Code Monkey logo

Comments (15)

orig74 avatar orig74 commented on September 16, 2024

I can see you are using a different version of the Dockerfile, your version starts from ubuntu 16.04 and my version is 14.04 I think this is the reason for the missing lib.

you can try and manually install it before running dronemain.py by running
sudo apt-get install libpangocairo-1.0-0
If that works, you can add this line to your DockerFile and build the image.
Let me know how it goes.

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

you can also try newer miniconda version and replace the one in your docker file:
this is the list of versions:
miniconda versions
you can change to the latest one which is:
Miniconda3-4.3.27.1-Linux-x86_64.sh

from dronesimlab.

geevargs avatar geevargs commented on September 16, 2024

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

maybe rolling back to 14.04 in the SItl Dockerfile (like my version) will be the fastest approach. If you want me to check your version. please fork the project (the button on the upper right) do the changes and let me see.

from dronesimlab.

geevargs avatar geevargs commented on September 16, 2024

I rolled back to 14.04 in the SITL Dockerfile...didnt make a difference.
I basically used the original Dockerfile code without changing the code.

img2

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

I'm rebuilding the SITL image to see if I can recreate the issue.
I'll get back to you...

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

I Added this line to the SITL docker file and updated this file and it is working form me:
RUN /miniconda/bin/conda update -y cairo

Let me know how it goes.

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

you didn't paste an image

from dronesimlab.

geevargs avatar geevargs commented on September 16, 2024

img3

from dronesimlab.

geevargs avatar geevargs commented on September 16, 2024

I had to install cairo in the dockerfile otherwise it didnt recognize it.

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

The file that worked for me was the one that is currently in the repository. E.g with the Miniconda3-4.2.12-Linux-x86_64.sh version and Ubuntu 14.04. Just take this file as is and run the ../build.py --nocache.

from dronesimlab.

geevargs avatar geevargs commented on September 16, 2024

That worked but the ardupilot is giving an error now.
img4

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

run this command in the ardupilot pane, so I can see the full log and send it to me
../Tools/autotest/sim_vehicle.py -w > /dronelab/ardupilot_fail.log 2>&1
the file will be in the DroneSimLab dir in the host

from dronesimlab.

geevargs avatar geevargs commented on September 16, 2024

ardupilot_fail.log

from dronesimlab.

orig74 avatar orig74 commented on September 16, 2024

Hi,
I manage to recreate this error. It was something to do with git relative paths. I updated the build script to deal with this error. Please run the main build script "build.py". It shuld print "updating ardupilot git relative paths" and fix this problem.
Let me know how it goes.

from dronesimlab.

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.