Skip to content
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

[question] Running the Meshroom from the source code: ERROR #2410

Open
abrar-khan-368 opened this issue May 24, 2024 · 0 comments
Open

[question] Running the Meshroom from the source code: ERROR #2410

abrar-khan-368 opened this issue May 24, 2024 · 0 comments

Comments

@abrar-khan-368
Copy link

abrar-khan-368 commented May 24, 2024

Hi there,
I have a problem while I am trying to run the Meshroom from the CLI on Ubuntu version 22.04.

I followed the steps given in INSTALL.md file. I first installed the alicevision and set the path as mentioned on INSTALL.md file.

Also, I took the pull of the source code using git clone command and then complied it.

But when executing the following command:

PYTHONPATH=$PWD python bin/meshroom_batch --input /root/abrar/objectImages/images --output /root/abrar/object_image_output

I am getting the following error:

`/root/abrar/Meshroom_build/Meshroom/bin/meshroom_batch:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.util
WARNING:root:== The following "submitters" plugins could not be loaded ==
  * rippleSubmitter: No module named 'mpc'
  * simpleFarmSubmitter: No module named 'simpleFarm'

`/bin/sh:` 1: aliceVision_cameraInit: not found
Traceback (most recent call last):
  File "/root/abrar/Meshroom_build/Meshroom/bin/meshroom_batch", line 160, in <module>
    initNode.nodeDesc.initialize(initNode, inp, inpRec)
  File "/root/abrar/Meshroom_build/Meshroom/meshroom/nodes/aliceVision/CameraInit.py", line 357, in initialize
    views, intrinsics = self.buildIntrinsics(node, filesByType.images)
  File "/root/abrar/Meshroom_build/Meshroom/meshroom/nodes/aliceVision/CameraInit.py", line 418, in buildIntrinsics
    raise RuntimeError('CameraInit failed with error code {}.\nCommand was: "{}".\n'.format(
RuntimeError: CameraInit failed with error code 127.
Command was: "aliceVision_cameraInit  --sensorDatabase "/root/abrar/Meshroom_build/AliceVision/src/aliceVision/sensorDB/cameraSensors.db" --lensCorrectionProfileInfo "${ALICEVISION_LENS_PROFILE_INFO}" --lensCorrectionProfileSearchIgnoreCameraModel True --defaultFieldOfView 45.0 --groupCameraFallback folder --allowedCameraModels pinhole,radial1,radial3,brown,fisheye4,fisheye1,3deanamorphic4,3deradial4,3declassicld --rawColorInterpretation LibRawWhiteBalancing --viewIdMethod metadata --verboseLevel info --output "/tmp/tmpm0zll71u/CameraInit/961e54591174ec5a2457c66da8eadc0cb03d89ba/cameraInit.sfm" --allowSingleView 1 --input "/tmp/tmpm0zll71u/CameraInit/961e54591174ec5a2457c66da8eadc0cb03d89ba/viewpoints.sfm"".`
  • OS: Ubuntu 22.04.3 LTS
  • Python version 3.10.12
@abrar-khan-368 abrar-khan-368 changed the title [question] Running the Meshroom from the source code [question] Running the Meshroom from the source code: ERROR May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant