mapillary / mapillary/OpenSfM

Unable to run, attempted to make changes but still failed

Open
#1,046 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

back (most recent call last):
File "D:\opensourceProject\OpenSfM\annotation_gui_gcp\main.py", line 11, in
from annotation_gui_gcp.lib import GUI
File "D:\opensourceProject\OpenSfM\annotation_gui_gcp\lib\GUI.py", line 14, in
from opensfm import dataset
File "D:\opensourceProject\OpenSfM\opensfm_init_.py", line 2, in
from opensfm import pybundle
ImportError: cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with annotation_gui_gcp/main.py and annotation_gui_gcp/lib/GUI.py, then inspect opensfm/init.py around the import of pybundle. Reproduce the reported command and determine whether the import succeeds without the circular-import error; the issue is resolved when the GUI starts past this traceback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.