Closed ttsesm closed 3 years ago
Thanks for the bug report. That error is now fixed in git.
Hi Ryan,
I am still getting problems in this one.
This if I have calculated the result per vertices:
Traceback (most recent call last):
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3349, in draw_linum
self.legend_num.draw(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 377, in draw
self.update(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 443, in update
(verts, pcs, depths) = map(list, zip(*[[v, vert2d[vi], distances[vi]] for vi, v in enumerate(verts) if vert2d[vi] and 0 < vert2d[vi][0] < self.width and 0 < vert2d[vi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
Traceback (most recent call last):
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3349, in draw_linum
self.legend_num.draw(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 377, in draw
self.update(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 443, in update
(verts, pcs, depths) = map(list, zip(*[[v, vert2d[vi], distances[vi]] for vi, v in enumerate(verts) if vert2d[vi] and 0 < vert2d[vi][0] < self.width and 0 < vert2d[vi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
Traceback (most recent call last):
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3349, in draw_linum
self.legend_num.draw(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 377, in draw
self.update(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 443, in update
(verts, pcs, depths) = map(list, zip(*[[v, vert2d[vi], distances[vi]] for vi, v in enumerate(verts) if vert2d[vi] and 0 < vert2d[vi][0] < self.width and 0 < vert2d[vi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
You can see also that the values are not showing up consistent:
And this per faces:
Traceback (most recent call last):
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3340, in invoke
self.legend_num = linumdisplay(self, context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 330, in __init__
self.update(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 424, in update
(faces, pcs, depths) = map(list, zip(*[[f, face2d[fi], distances[fi]] for fi, f in enumerate(faces) if face2d[fi] and 0 < face2d[fi][0] < self.width and 0 < face2d[fi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
location: <unknown location>:-1
location: <unknown location>:-1
Error: Traceback (most recent call last):
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3340, in invoke
self.legend_num = linumdisplay(self, context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 330, in __init__
self.update(context)
File "/home/ttsesm/Downloads/blender-2.83.6-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 424, in update
(faces, pcs, depths) = map(list, zip(*[[f, face2d[fi], distances[fi]] for fi, f in enumerate(faces) if face2d[fi] and 0 < face2d[fi][0] < self.width and 0 < face2d[fi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
location: <unknown location>:-1
Here the numbers are not showing up at all:
Thanks for the bug report. This should now be fixed in git.
I am still getting the error:
Traceback (most recent call last):
File "/home/theodore/Downloads/blender-2.83.7-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3357, in draw_linum
self.legend_num.draw(context)
File "/home/theodore/Downloads/blender-2.83.7-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 379, in draw
self.update(context)
File "/home/theodore/Downloads/blender-2.83.7-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 434, in update
(faces, pcs, depths) = map(list, zip(*[[f, face2d[fi], distances[fi]] for fi, f in enumerate(faces) if face2d[fi] and 0 < face2d[fi][0] < self.width and 0 < face2d[fi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
Traceback (most recent call last):
File "/home/theodore/Downloads/blender-2.83.7-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 3357, in draw_linum
self.legend_num.draw(context)
File "/home/theodore/Downloads/blender-2.83.7-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 379, in draw
self.update(context)
File "/home/theodore/Downloads/blender-2.83.7-linux64/2.83/scripts/addons/vi-suite06/vi_display.py", line 434, in update
(faces, pcs, depths) = map(list, zip(*[[f, face2d[fi], distances[fi]] for fi, f in enumerate(faces) if face2d[fi] and 0 < face2d[fi][0] < self.width and 0 < face2d[fi][1] < self.height]))
ValueError: not enough values to unpack (expected 3, got 0)
I've noticed though that it is showing up if I set both the terrain and the cube as Light sensor
surfaces, if I set only one them then I am not getting any error message. I hope it helps.
Thanks for the bug report. Tougher nut to crack this one but should now be fixed in git.
I confirm.
When I try to use the
VI Display
to visualize the calculation results if I enable thePoint visualization
and browse around the model to see the values from different angle and distance these disappear or do not show up at all:While doing this, the following errors mostly show up in the console: