7
$\begingroup$

I followed the instructions in this ebook Programming Add-Ons for Blender 2.5 to setup a development environment.

Currently I try to debug an installed add-on called Bloop although it seems to work, eclipse still shows many error messages like:

class Mapping(object):

    def __init__(self, joint=None, id=None, bone=None, other=None):
        ...
        self.bone_matrix = bpy.bloop.armature.matrix_world.inverted() * self.bone.bone.matrix_local.inverted()
                               ^^^^
                               ErrorMsg: Undefined variable from import: bloop

The external libraries are configured as follows:

enter image description here

Blenders version is 2.67, the add-on was developed for 2.59. I have absolutely no experience with Python in blender.

Another type of errors is:

Unresolved import: MappingSet   bloop.py

from .mapping_set import MappingSet

Where MappingSet is in the same folder as bloop.py which tries to import.

The projects structure is as follows (I don't have a source folder since I want to edit in place)

enter image description here

What am I doing wrong?

$\endgroup$
  • 2
    $\begingroup$ I think this question is off topic, and relates more to eclipse than it does to Blender. $\endgroup$ – CharlesL May 25 '13 at 23:25
  • $\begingroup$ Does this answer your question? $\endgroup$ – grc May 26 '13 at 2:30
  • 2
    $\begingroup$ I think it's still Blender related enough $\endgroup$ – JNF May 26 '13 at 5:23
  • $\begingroup$ @grc Thanks, this indeed help for one type of error messages, I added another type. $\endgroup$ – stacker May 26 '13 at 8:40
  • $\begingroup$ @stacker You could try this. If that doesn't work, you might have more luck just downloading Blender 2.59. Blender is portable so it's fine having multiple versions on your computer. $\endgroup$ – grc May 26 '13 at 10:36

Browse other questions tagged or ask your own question.