location: C:\Program Files\Blender Foundation\Blender\2.79\scripts\modules\bpy\ops.py:187
Error: Traceback (most recent call last):
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in execute
else (x.name, x) for x in files)],
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 179, in <listcomp>
images = sorted([{'w': i.size[0], 'h': i.size[1], 'path': path, 'img': i}
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in <genexpr>
else (x.name, x) for x in files)],
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\PIL\Image.py", line 2622, in open
% (filename if filename else fp))
Error: Traceback (most recent call last):
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in execute
else (x.name, x) for x in files)],
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 179, in <listcomp>
images = sorted([{'w': i.size[0], 'h': i.size[1], 'path': path, 'img': i}
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in <genexpr>
else (x.name, x) for x in files)],
File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\PIL\Image.py", line 2622, in open
% (filename if filename else fp))
This happens during Atlas creation.
Importing BlpImagePlugin
Image: failed to import BlpImagePlugin: No module named 'PIL'
Importing BmpImagePlugin
Image: failed to import BmpImagePlugin: No module named 'PIL'
... same for all modules in _plugins array
So the problem is with importing. It does not recognize PIL
as a module. I manually edited all the files and made them use from . import module_name
syntax. I would love to see a real solution to this
This seems to suggest there is something seriously wrong while it is trying to import pillow module