retopoflow icon indicating copy to clipboard operation
retopoflow copied to clipboard

Strokes: Unhandled Exception Caught: Exception caught

Open skarkkai opened this issue 2 years ago • 4 comments

Installed from github just now, and played around for a while. Got this stack trace.

Automatically Generated Info

Environment:

- RetopoFlow: 3.2.3
- Blender: 2.93.3 master 2021-08-17
- Platform: Windows, 10, 10.0.19041, AMD64, Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
- GPU: NVIDIA Corporation, GeForce RTX 2060 SUPER/PCIe/SSE2, 4.5.0 NVIDIA 462.59, 4.50 NVIDIA
- Timestamp: 2021-10-12 23:58:48.100558
- Undo: extrude C, move grabbed, select, insert, insert, create strip, move grabbed, select, select, move grabbed

Error Hash: 1116a023a41a140e636945616f0002c3

Trace:

- EXCEPTION (<class 'TypeError'>): faces.new(...): sequence incorrect size, expected [3 - -1], given 2
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rfmesh\rfmesh.py
- 000 1611:new_face() bmf = self.bme.faces.new(nverts)
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rf\rf_target.py
- 001 0601:new_face() return self.rftarget.new_face(verts)
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rftool_strokes\strokes.py
- 002 0638:extrude_c() new_face([a,b,c,d])
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rftool.py
- 003 0148:wrapper() ret = fn(*args, **kwargs)
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rftool_strokes\strokes.py
- 004 0380:stroke() if self.replay: self.replay()
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rfwidget.py
- 005 0108:_callback_tool() fn(self.rftool, *args, **kwargs)
- 006 0132:callback_actions() self._callback_tool('action', action_name, *args, **kwargs)
-     C:\Users\blending\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\retopoflow-master\retopoflow\rfwidgets\rfwidget_brushstroke.py
- 007 0099:modal_line() self.callback_actions(self.action_name)
-     .../common\fsm.py
- 008 0169:wrapped() return fn(*args, **kwargs)

skarkkai avatar Oct 12 '21 21:10 skarkkai

thanks for the report, @skarkkai!

I was not able to replicate this issue. Do you recall how you were able to cause it?

I've written in a few checks (commit 97fe9b1) to try to detect this issue before it becomes a problem, but I cannot test if this actually fixes the issue or not.

vxlcoder avatar Oct 23 '21 20:10 vxlcoder

Repeating the issue seems pretty easy on my system. See the attached video clip. Let me know if you'd like me to test some other version of Retopoflow.

https://user-images.githubusercontent.com/1282262/140572389-e0c17add-1c2e-4283-84bf-5266d75d3d70.mp4

skarkkai avatar Nov 05 '21 20:11 skarkkai

thanks for the video!

will take a closer look

vxlcoder avatar Nov 05 '21 20:11 vxlcoder

New user, same issue for me too. Can reproduce reliably even by starting a retopo session in a new (but saved) file with a cube.

Start retopo session. Draw a stroke on the cube. Green line appears and indicates a subsequent stroke will be connected to a given nearby vertex. Clicking again at this point causes this crash for me.

Platform: Windows, 10, 10.0.22000 is incorrect. I'm on Windows 11 21H2 Build 22000.348`

Environment:

- RetopoFlow: 3.2.4
- CG Cookie built
- Blender: 2.93.6 master 2021-11-16
- Platform: Windows, 10, 10.0.22000, AMD64, Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
- GPU: ATI Technologies Inc., Radeon RX 580 Series, 4.5.14761 Core Profile Context 21.11.3 30.0.13037.1003, 4.60
- Timestamp: 2021-11-26 05:42:21.839663
- Undo: extrude C, create strip, select, insert, insert, insert, select, select

Error Hash: 1116a023a41a140e636945616f0002c3

Trace:

- EXCEPTION (<class 'TypeError'>): faces.new(...): sequence incorrect size, expected [3 - -1], given 2
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rfmesh\rfmesh.py
- 000 1611:new_face() bmf = self.bme.faces.new(nverts)
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rf\rf_target.py
- 001 0601:new_face() return self.rftarget.new_face(verts)
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rftool_strokes\strokes.py
- 002 0638:extrude_c() new_face([a,b,c,d])
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rftool.py
- 003 0148:wrapper() ret = fn(*args, **kwargs)
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rftool_strokes\strokes.py
- 004 0380:stroke() if self.replay: self.replay()
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rfwidget.py
- 005 0108:_callback_tool() fn(self.rftool, *args, **kwargs)
- 006 0132:callback_actions() self._callback_tool('action', action_name, *args, **kwargs)
-     C:\Users\plsDontLogUsernames\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RetopoFlow\retopoflow\rfwidgets\rfwidget_brushstroke.py
- 007 0099:modal_line() self.callback_actions(self.action_name)
-     .../common\fsm.py
- 008 0169:wrapped() return fn(*args, **kwargs)

VirtualOverrider avatar Nov 26 '21 06:11 VirtualOverrider