I have the following custom script created for blender https://github.com/Korchy/Ozbend_Engraving_Internal
Im trying to use it via SSH like this
blender -b -P __init__.py
But im getting the following error
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
Traceback (most recent call last):
File "/home/solomio/public_html/engravingcreator/__init__.py", line 19, in <module>
from . import engraving_internal_ops
SystemError: Parent module '' not loaded, cannot perform relative import
How can i solve this ?
registerin main context, that is all. At best case it registers operators in blender, but said operator will never be called because there is no code to do so. It is supposed to be called interactively via GUI (which it adds itself to) or by writing separate script that will specify all required parameters, call operator, and save result somewhere.