Open GoogleCodeExporter opened 8 years ago
Please ttell us:
What version of Blender are you using?
What error message appears?
Thanks :-)
Original comment by johnvill...@gmail.com
on 25 Apr 2011 at 7:59
barney@anubis-ubuntu ~/Build/blender-2.57-linux-glibc27-i686
$ ./blender
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break
up
found bundled python:
/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/python
Traceback (most recent call last):
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/modules/addon_utils.py", line 207, in enable
mod = __import__(module_name)
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/addons/io_export_webgl.py", line 47, in <module>
from bpy_extras.io_utils import ExportHelper
ImportError: No module named bpy_extras.io_utils
Traceback (most recent call last):
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/addons/io_export_webgl.py", line 409, in execute
return savejson(self, context, **self.as_keywords(ignore=("check_existing", "filter_glob")))
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/addons/io_export_webgl.py", line 367, in savejson
file.write(export_scene_json(sce, export_binary).encode('utf-8'))
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/addons/io_export_webgl.py", line 349, in export_scene_json
outp['objs'] = [object_to_dict(scene, obj, binary) for obj in scene.objects if (obj.type == 'MESH') and (obj.select)]
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/addons/io_export_webgl.py", line 349, in <listcomp>
outp['objs'] = [object_to_dict(scene, obj, binary) for obj in scene.objects if (obj.type == 'MESH') and (obj.select)]
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/addons/io_export_webgl.py", line 284, in object_to_dict
reduce(lambda x,y: max(x,y), [grp.group for v in me.vertices for grp in v.groups])
TypeError: reduce() of empty sequence with no initial value
location:<unknown location>:-1
location:<unknown location>:-1
Saved session recovery to /tmp/quit.blend
Blender quit
Original comment by djbar...@djbarney.org
on 29 Jul 2011 at 6:40
I also had to copy the bpy_io lib across from 2.58a
Original comment by djbar...@djbarney.org
on 29 Jul 2011 at 6:41
Perhaps this is a linux issue only?
Here (Ubuntu 10.04 64bit, Blender 2.58a) some python imports live in a
different folder.
e.g. io_utils lived in "modules", now it lives in "modules/bpy_extras"
therefore import lines must be adjusted from "io_utils" to
"bpy_extras.io_utils".
(same with other imports?!)
-> Don't know if this will persist.
Original comment by radiok...@gmx.de
on 10 Aug 2011 at 10:32
Maybe it's a linux only thing... i'm actively maintaining another exporter
which is only based around JSON (and my Binary JSON format) at
http://code.google.com/p/blender-machete/ maybe that could help... give it a
shot and tell me how it works
Original comment by johnvill...@gmail.com
on 30 Aug 2011 at 12:18
Original issue reported on code.google.com by
perry.br...@gmail.com
on 9 Jun 2010 at 3:45