mesh2img icon indicating copy to clipboard operation
mesh2img copied to clipboard

AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"

Open godeye opened this issue 7 years ago • 3 comments

blender -b -P mesh2img.py -- --paths cube.stl --dimen sions 200 -i jpg AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse" AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead Traceback (most recent call last): File "/srv/mesh2img/mesh2img.py", line 485, in Mesh2Img(**cliargs).start() # pass in all the paths given on the command li ne File "/srv/mesh2img/mesh2img.py", line 84, in init self.materials = [mat_name.strip() for mat_name in material.split(',')] AttributeError: 'NoneType' object has no attribute 'split'

Blender quit

what this mean?

godeye avatar Aug 11 '17 10:08 godeye

Hi, @godeye

If you go to Line 60 and replace that None with two quotation marks back-to-back "" does that fix it?

Change it from def __init__(self, paths=None, dimensions=None, material=None, image_format=None, verbose=False, ... To def __init__(self, paths=None, dimensions=None, material="", image_format=None, verbose=False, ...

If you could confirm that fixes it, I will make the changes to this repo.

Thanks!

phistrom avatar Aug 11 '17 17:08 phistrom

hello , I change the script as above. But it also has the same mistake.

cjhyy7190 avatar Nov 28 '19 06:11 cjhyy7190

same error

wine3603 avatar Sep 30 '20 12:09 wine3603