Giter Site home page Giter Site logo

blender-machete's People

Contributors

chiguireitor avatar

Watchers

 avatar

blender-machete's Issues

Export errors @ command line

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

Plane colours

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

EXPORT_SCENE_OT_webgl_json runtime error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.