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

ERROR Python: Traceback on one file only #492

Open
fitaine opened this issue Nov 3, 2024 · 0 comments
Open

ERROR Python: Traceback on one file only #492

fitaine opened this issue Nov 3, 2024 · 0 comments

Comments

@fitaine
Copy link

fitaine commented Nov 3, 2024

My file was working fine and then I started to get an error when I tried to refresh sketches or add constraint to it. I think it has already happened to me previously but I was going back with a Ctrl+Z and it sorted things out. This time I may have not try to refresh the sketches for a while and didn't see the issue immediately, so it was impossible to going back.

Here is what I get:

Python: Traceback (most recent call last):
  File "/Users/Tiphaine/Library/Application Support/Blender/3.6/scripts/addons/CAD_Sketcher-main/operators/solve.py", line 18, in execute
    ok = solver.solve()
  File "/Users/Tiphaine/Library/Application Support/Blender/3.6/scripts/addons/CAD_Sketcher-main/solver.py", line 197, in solve
    self._init_slvs_data()
  File "/Users/Tiphaine/Library/Application Support/Blender/3.6/scripts/addons/CAD_Sketcher-main/solver.py", line 102, in _init_slvs_data
    e.create_slvs_data(self.solvesys, group=group)
  File "/Users/Tiphaine/Library/Application Support/Blender/3.6/scripts/addons/CAD_Sketcher-main/model/workplane.py", line 97, in create_slvs_data
    handle = solvesys.addWorkplane(self.p1.py_data, self.nm.py_data, group=group)
  File "/Users/Tiphaine/Library/Application Support/Blender/3.6/scripts/addons/CAD_Sketcher-main/model/base_entity.py", line 101, in py_data
    return global_data.entities[self.slvs_index]
KeyError: 5242884

I hope someone could help me on this one, because I spend some time on it. I really like to understand what I did that led to this problem.

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

No branches or pull requests

1 participant