theletslook / blender-machete Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/blender-machete
Automatically exported from code.google.com/p/blender-machete
What steps will reproduce the problem?
1. Add script in usual place
2. Activate addon
3. Export default scene (box)
What is the expected output? What do you see instead?
Error in console (see below)
What version of the product are you using? On what operating system?
Blender 2.58a + latest version from your SVN. I'll try and test with 2.57 as
well as that is listed in add-on details.
Please provide any additional information below.
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/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
read blend: /home/barney/DJ_Barney_Docs/Forge/ShipYards/Operations/BREAKTHROUGH
TECHNOLOGIES/physics_of_love_9.blend
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 277, in object_to_dict
bpy.ops.object.mode_set(mode='EDIT')
File "/home/barney/Build/blender-2.57-linux-glibc27-i686/2.57/scripts/modules/bpy/ops.py", line 179, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is
incorrect
location:<unknown location>:-1
location:<unknown location>:-1
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 issue reported on code.google.com by [email protected]
on 29 Jul 2011 at 6:45
What steps will reproduce the problem?
1. attempt to export to json file
What is the expected output? a json file
What do you see instead? RuntimeError: .. expected set, not a str
What version of the product are you using? revision a33571fb45f4 (latest head)
On what operating system? kubuntu, blender 2.62
change line 466:
return {savejson(self, context, **self.as_keywords(ignore=("check_existing",
"filter_glob")))}
and it will all work again
Original issue reported on code.google.com by [email protected]
on 12 May 2012 at 2:43
1. Start Blender with default cube.
2. Colour 2 sides of the cube with diffuse materials shadowing disabled.
3. Export using blender machete.
I'd expect to see the colours for the planes but instead there is nothing.
Any ideas? I don't want to use textures at this point in time.
Original issue reported on code.google.com by [email protected]
on 15 Feb 2012 at 10:59
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.