Git Product home page Git Product logo

Comments (13)

paulinK avatar paulinK commented on August 27, 2024 1

Hi
sorry for my many posts.
When I try to run
python run.py -i /path/to/images project-name
I get this error message
Traceback (most recent call last):
File "run.py", line 4, in
from opendm import config
File "/home/wedevgroup/WebODM_natif/OpenDroneMap-master/opendm/config.py", line 6, in
from appsettings import SettingsParser
ImportError: No module named appsettings

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024 1

Hi @pierotofy
Thank for help. It works fine.
Now I can try to start node-OpenDroneMap
thank you

from nodeodm.

pierotofy avatar pierotofy commented on August 27, 2024

Hi PaulinK,

the --odm_path refers to the installation of OpenDroneMap (not WebODM). WebODM is an interface to OpenDroneMap. If you want to run node-OpenDroneMap natively, you'll need to get OpenDroneMap to run natively first as well.

See the instructions here: https://github.com/OpenDroneMap/OpenDroneMap

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024

Hi @pierotofy
I have seen that and I have tried to install OpenDronMap nativily but when I run
python run.py --project-path /home/wedevgroup/WebODM_natif/OpenDroneMap/projects/test

I get this error message

Traceback (most recent call last):
File "run.py", line 8, in
import ecto
ImportError: No module named ecto

from nodeodm.

pierotofy avatar pierotofy commented on August 27, 2024

Did you follow the instructions in the readme to install OpenDroneMap? https://github.com/OpenDroneMap/OpenDroneMap#installation

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024

I have follow these instructions
https://github.com/OpenDroneMap/OpenDroneMap/tree/ebaaf802a1fb50e335b3807a35d00cba1e106d11#installation
I will try the link, you send me and give you a return
thank a lot
@pierotofy

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024

Hi @pierotofy
When trying the instructions from

I have got some error

[ 65%] Completed 'ceres'
[ 65%] Built target ceres
Makefile:83 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
Compiling build
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
-- serialization
-- chrono
-- atomic
-- regex
-- Checking for module 'openni-dev'
-- No package 'openni-dev' found
-- Could NOT find openni (missing: OPENNI_LIBRARY OPENNI_INCLUDE_DIRS)
** WARNING ** io features related to openni will be disabled
-- Checking for module 'openni2-dev'
-- No package 'openni2-dev' found
-- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)
** WARNING ** io features related to openni2 will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
-- The imported target "vtkWrapTcl" references the file
"/usr/bin/vtkWrapTcl"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/vtk-5.10/VTKTargets.cmake"
    but not all the files it references.

-- The imported target "vtkWrapTclInit" references the file
"/usr/bin/vtkWrapTclInit"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/vtk-5.10/VTKTargets.cmake"
    but not all the files it references.

-- The imported target "vtkWrapPython" references the file
"/usr/bin/vtkWrapPython"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/vtk-5.10/VTKTargets.cmake"
    but not all the files it references.

I have got many other errors again

from nodeodm.

pierotofy avatar pierotofy commented on August 27, 2024

Try to run ODM with the ./run.sh -i /path/to/images project-name script instead of python run.py .... See if that helps!

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024

Sorry, I have a question please
Can you tell me the role of node-OpenDroneMap? Why is it so important to use it with WebODM ?
Thank

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024

Sorry @pierotofy
When trying to lunch a task on WebODM (native installation after installing OpenDroneMap and node-OpenDroneMap), I get this message

Process exited with code 1

and also this message in the areatext

Traceback (most recent call last):
File "/home/wedevgroup/WebODM_natif/OpenDroneMapNoyau/run.py", line 8, in
import ecto
File "/home/wedevgroup/WebODM_natif/OpenDroneMapNoyau/SuperBuild/install/lib/python2.7/dist-packages/ecto/init.py", line 30, in
from ecto.ecto_main import _cell_base, _cell_cpp, getitem_list, getitem_slice, getitem_str, getitem_tuple, lookup
ImportError: libecto.so.0.6: cannot open shared object file: No such file or directory

Can you give me an idea to fix it please
thank you

from nodeodm.

mgctech-gk avatar mgctech-gk commented on August 27, 2024

Hi @paulinK
I'm very new to this but I ran into a similar issue and found that if I start up node-OpenDroneMap with sudo, then I must also start WebODM as sudo else it can't find the libraries.
What version of Linux are you running?
If you not going to be running the server as a production (opening it up to the internet), I found that running everything as root (sudo su) seems to work with no issues. I'm not sure if this is correct (as I said, I'm new to all this) but I hope that it helps.

from nodeodm.

paulinK avatar paulinK commented on August 27, 2024

Thank @GKconsulting
It works for me. Thank

from nodeodm.

thomstarnes avatar thomstarnes commented on August 27, 2024

I'm getting the same error:

File "/home/thomas/Downloads/OpenDroneMap_v0_3_1/opendm/config.py", line 6, in
from appsettings import SettingsParser
ImportError: No module named appsettings

Running ODM with the ./run.sh -i /path/to/images project-name script instead of python run.py is producing the same error.

from nodeodm.

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.