OpenSfM icon indicating copy to clipboard operation
OpenSfM copied to clipboard

error in "bin/opensfm_run_all data/berlin"

Open KuchikiRukia7 opened this issue 1 year ago • 4 comments

When I run bin/opensfm_run_all data/berlin I only get "/OpenSfM/bin/opensfm: line 12: 6979 Aborted (core dumped) "$PYTHON" "$DIR"/opensfm_main.py "$@"

Why?

KuchikiRukia7 avatar Jan 08 '25 13:01 KuchikiRukia7

Did you managed to solve the error?

vgutierrez2404 avatar Feb 12 '25 10:02 vgutierrez2404

No. I have try  bin/opensfm_run_all data/berlinbin/opensfm undistort data/berlin

bin/opensfm compute_depthmaps data/berlinAll I get the similar errors.

------------------ 原始邮件 ------------------ 发件人: "Víctor Gutiérrez @.>; 发送时间: 2025年2月12日(星期三) 晚上6:41 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [mapillary/OpenSfM] error in "bin/opensfm_run_all data/berlin" (Issue #1086)

Did you managed to solve the error?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

KuchikiRukia7 avatar Mar 06 '25 10:03 KuchikiRukia7

Same problem here, but with another Aborted number (232411): Python_environments/OpenSfM/bin/opensfm: line 12: 232411 Aborted (core dumped) "$PYTHON" "$DIR"/opensfm_main.py "$@"

alexefu73 avatar Aug 15 '25 10:08 alexefu73

fwiw I also hit this on ubuntu 22 with python 3.11.x and uv, on main branch at faf1d46d:

$ uv run bin/opensfm_run_all data/berlin xxx/opensfm/bin/opensfm: line 12: 1277343 Aborted (core dumped) "$PYTHON" "$DIR"/opensfm_main.py "$@"

Guessing it was related to the virtualenv or uv's python environment? (From looking at the dependencies, looks like this package expects a bunch of python things to be installed at the system level and is building against their headers. Wondering if there's an ABI issue causing this).

Worked around by running inside the Dockerfile.ubuntu24 docker image.

abe-winter avatar Nov 03 '25 03:11 abe-winter