Skip to content

Copy pipeline graph to temp dir to avoid whitespaces in path#472

Merged
ebrahimebrahim merged 1 commit into
mainfrom
meshroom_whitespace_issue
Jun 23, 2026
Merged

Copy pipeline graph to temp dir to avoid whitespaces in path#472
ebrahimebrahim merged 1 commit into
mainfrom
meshroom_whitespace_issue

Conversation

@sadhana-r

@sadhana-r sadhana-r commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Meshroom 2025.1.0 has a bug (alicevision/Meshroom#2808) where paths containing spaces are not properly quoted when meshroom_compute is launched internally. This causes meshroom_batch to fail with unrecognized arguments when the pipeline .mg file lives in a directory with spaces (e.g., OpenLIFU installation dir).

Work around this by copying the pipeline file to the temp directory before passing it to meshroom_batch.

However, this is not a full guarantee if the temp directory itself contains spaces (i.e. if the username has spaces) - although this is usually not the case.

@ebrahimebrahim ebrahimebrahim linked an issue Jun 23, 2026 that may be closed by this pull request

@ebrahimebrahim ebrahimebrahim left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for the investigation to uncover what was going on!

@sadhana-r sadhana-r force-pushed the meshroom_whitespace_issue branch from fb7fda0 to 2d83351 Compare June 23, 2026 18:11
@ebrahimebrahim ebrahimebrahim enabled auto-merge (rebase) June 23, 2026 18:12
@ebrahimebrahim ebrahimebrahim force-pushed the meshroom_whitespace_issue branch from 2d83351 to 3587842 Compare June 23, 2026 18:13
@ebrahimebrahim ebrahimebrahim merged commit 18cc547 into main Jun 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install path with spaces causes problems

2 participants