Error on OBJ export? #45403

Closed
opened 2015-07-10 17:45:08 +02:00 by tung ster · 8 comments

Windows 7 x64, MSVC 2013 Express, Cuda Toolkit 6.5, Scons...
(aging)Q6600 cpu, 8 gig Mem, Evga 560 gpu with 353.06 Drivers


Branch - Master
Hash - 266459c

I'm getting a pop up on exporting a .OBJ =

export error.blend

read blend: C:\Users\Tungs\Desktop\export error.blend
OBJ Export path: 'C:\\Users\\Tungs\\Desktop\\Export Error.obj'
Traceback (most recent call last):
  File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\__init_
_.py", line 308, in execute
    return export_obj.save(self, context, **keywords)
  File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_
obj.py", line 815, in save
    EXPORT_PATH_MODE=path_mode,
  File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_
obj.py", line 759, in _write
    EXPORT_PATH_MODE,
  File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_
obj.py", line 682, in write_file
    write_mtl(scene, mtlfilepath, EXPORT_PATH_MODE, copy_set, mtl_dict)
  File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_
obj.py", line 90, in write_mtl
    fw('Ka %.6f %.6f %.6f\n' % mat.ambient[:])  # Do not use world color!
TypeError: 'float' object is not subscriptable

location: <unknown location>:-1

location: <unknown location>:-1

I don't see any errors or pop ups when exporting as .FBX

Note:
Only extra option in the export panel is adding selection only.
First export with monkey exported no prob.
I added a few subdivs and uv'd and then achieved the same error in my original file

Cheers,
~Tung

Windows 7 x64, MSVC 2013 Express, Cuda Toolkit 6.5, Scons... (aging)Q6600 cpu, 8 gig Mem, Evga 560 gpu with 353.06 Drivers --------- Branch - Master Hash - 266459c --------- I'm getting a pop up on exporting a .OBJ = [export error.blend](https://archive.blender.org/developer/F205540/export_error.blend) ``` read blend: C:\Users\Tungs\Desktop\export error.blend OBJ Export path: 'C:\\Users\\Tungs\\Desktop\\Export Error.obj' Traceback (most recent call last): File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\__init_ _.py", line 308, in execute return export_obj.save(self, context, **keywords) File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_ obj.py", line 815, in save EXPORT_PATH_MODE=path_mode, File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_ obj.py", line 759, in _write EXPORT_PATH_MODE, File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_ obj.py", line 682, in write_file write_mtl(scene, mtlfilepath, EXPORT_PATH_MODE, copy_set, mtl_dict) File "D:\Test_builds\Win7.x64-266459c\2.75\scripts\addons\io_scene_obj\export_ obj.py", line 90, in write_mtl fw('Ka %.6f %.6f %.6f\n' % mat.ambient[:]) # Do not use world color! TypeError: 'float' object is not subscriptable location: <unknown location>:-1 location: <unknown location>:-1 ``` I don't see any errors or pop ups when exporting as .FBX Note: Only extra option in the export panel is adding selection only. First export with monkey exported no prob. I added a few subdivs and uv'd and then achieved the same error in my original file Cheers, ~Tung
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @AnthonyWade

Added subscriber: @AnthonyWade
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2015-07-10 19:23:20 +02:00

Own stupidity, will fix.

Own stupidity, will fix.

This issue was referenced by 7194d2205e

This issue was referenced by 7194d2205ecb9920449cc5fac5b0f9418be5c173

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

Thanks Bastien,
Also thanks for fixing my hosed up bug report (ô¿ô)

Rock on brother :)

Cheers,
~Tung

Thanks Bastien, Also thanks for fixing my hosed up bug report (ô¿ô) Rock on brother :) Cheers, ~Tung
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#45403
No description provided.