animate1978 / MB-Lab

MB-Lab is a character creation tool for Blender 4.0 and above, based off ManuelBastioniLAB
Other
1.85k stars 314 forks source link

AttributeError: module 'MB-Lab-1_7_7.algorithms' has no attribute 'get_blendlibrary_path #266

Closed xan2622 closed 4 years ago

xan2622 commented 4 years ago

Describe the bug This error appears after pressing the Utilites > Import template button:

Traceback (most recent call last):
  File "C:\Users\Sebastien\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\MB-Lab-1_7_7\__init__.py", line 2049, in execute
    lib_filepath = algorithms.get_blendlibrary_path()
AttributeError: module 'MB-Lab-1_7_7.algorithms' has no attribute 'get_blendlibrary_path'

location: <unknown location>:-1

To Reproduce Steps to reproduce the behavior:

  1. On Blender 2.82a, with addon version 1.7.7. Default scene, no character created before).
  2. Select Human Female in the drop-down list (the error appears with any proxy reference)
  3. Click on Utilites > Import template button.

Expected behavior A message (at the bottom of the Blender window, in the footer bar for example) could inform the Blender user that a character has to be created before pressing this button.

Screenshots Annotation 2020-04-24 125800

xan2622 commented 4 years ago

Fixed in 1.7.7b