Obj export error when enabling polygroups option #81263

Closed
opened 2020-09-28 20:17:11 +02:00 by michael campbell · 7 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-24 19:43, hash: blender/blender@0106e17f07
Worked: (newest version of Blender that worked as expected)

below error happens when exporting as obj if the poly groups option is checked in the export options.

Python: Traceback (most recent call last):
  File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\__init__.py", line 374, in execute
    return export_obj.save(context, **keywords)
  File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 789, in save
    EXPORT_PATH_MODE=path_mode,
  File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 731, in _write
    progress,
  File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 521, in write_file
    v_ls[:] = [(vertGroupNames[g.group], g.weight) for g in me_verts[v_idx].groups]
  File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 521, in <listcomp>
    v_ls[:] = [(vertGroupNames[g.group], g.weight) for g in me_verts[v_idx].groups]
IndexError: list index out of range
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-24 19:43, hash: `blender/blender@0106e17f07` Worked: (newest version of Blender that worked as expected) below error happens when exporting as obj if the poly groups option is checked in the export options. ``` Python: Traceback (most recent call last): File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\__init__.py", line 374, in execute return export_obj.save(context, **keywords) File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 789, in save EXPORT_PATH_MODE=path_mode, File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 731, in _write progress, File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 521, in write_file v_ls[:] = [(vertGroupNames[g.group], g.weight) for g in me_verts[v_idx].groups] File "E:\blender\dailybuilds\2.91\blender-2.91.0-0106e17f07fe-windows64\blender-2.91.0-0106e17f07fe-windows64\2.91\scripts\addons\io_scene_obj\export_obj.py", line 521, in <listcomp> v_ls[:] = [(vertGroupNames[g.group], g.weight) for g in me_verts[v_idx].groups] IndexError: list index out of range ```

Added subscriber: @3di

Added subscriber: @3di
Robert Guetzkow changed title from below error happens when exporting as obj if the poly groups option is checked in the export options. to Obj export error when enabling polygroups option 2020-09-28 23:28:32 +02:00

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I can't reproduce this with a simple test object that has vertex groups. Please provide instructions how you created an object that fails to export properly and/or a minimal project file that demonstrates this.

I can't reproduce this with a simple test object that has vertex groups. Please provide instructions how you created an object that fails to export properly and/or a minimal project file that demonstrates this.

@3di Please add the requested information.

@3di Please add the requested information.

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Robert Guetzkow self-assigned this 2020-10-11 11:45:18 +02:00

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#81263
No description provided.