Meshlint error on select Lint

Has anyone install meshlint from this repo? https://github.com/shougan/meshlint

I tried installing it but when I hit “Select Lint” I get the following error:

  File "C:\Users\deranjer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\meshlint.py", line 409, in execute    self.examine_active_object()
  File "C:\Users\deranjer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\meshlint.py", line 370, in examine_active_object
    analyzer.select_indices(elemtype, indices)
  File "C:\Users\deranjer\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\meshlint.py", line 201, in select_indices
    self.faces.ensure_lookup_table()# Quick fix for blender 2.77
AttributeError: 'MeshLintAnalyzer' object has no attribute 'faces'


location: <unknown location>:-1


location: <unknown location>:-1

Any chance this is a quick fix??

If not, is there a similar addon??

Open meshlint.py with any editor (for exam Notepad)
Change the function ‘select_indices’ to:


        def select_indices(self, elemtype, indices):
            for i in indices:
                if 'verts' == elemtype:
                    self.b.verts.ensure_lookup_table() # Quick fix for blender 2.77
                    self.select_vert(i)
                elif 'edges' == elemtype:
                    self.b.edges.ensure_lookup_table()# Quick fix for blender 2.77
                    self.select_edge(i)
                elif 'faces' == elemtype:
                    self.b.faces.ensure_lookup_table()# Quick fix for blender 2.77
                    self.select_face(i)
                else:
                    print("MeshLint says: Huh?? → elemtype of %s." % elemtype)


It will solve the problem.

Thanks! Worked perfectly.

Forked and fixed. Thanks for the fix @EugenHolodniy