faq on worker not finding blender #104225
@ -31,14 +31,16 @@ func findBlender() {
|
|||||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
helpMsg := "Flamenco Manager will have to supply the full path to Blender when Tasks are sent to this Worker. For more help see https://flamenco.blender.org/usage/variables/blender/"
|
||||||
|
|
||||||
result, err := find_blender.Find(ctx)
|
result, err := find_blender.Find(ctx)
|
||||||
switch {
|
switch {
|
||||||
case errors.Is(err, fs.ErrNotExist), errors.Is(err, exec.ErrNotFound):
|
case errors.Is(err, fs.ErrNotExist), errors.Is(err, exec.ErrNotFound):
|
||||||
|
|
||||||
log.Warn().Msg(`The Worker could not find Blender on this system. Flamenco Manager will have to supply the full path to Blender when Tasks are sent to this Worker. For more help see https://flamenco.blender.org/usage/variables/blender/`)
|
log.Warn().Msg("The Worker could not find Blender on this system. " + helpMsg)
|
||||||
|
|
||||||
case err != nil:
|
case err != nil:
|
||||||
log.Warn().AnErr("cause", err).Msg(`There was an error finding Blender on this system. Flamenco Manager will have to supply the full path to Blender when Tasks are sent to this Worker. For more help see https://flamenco.blender.org/usage/variables/blender/`)
|
log.Warn().AnErr("cause", err).Msg("There was an error finding Blender on this system. " + helpMsg)
|
||||||
default:
|
default:
|
||||||
log.Info().
|
log.Info().
|
||||||
Str("path", result.FoundLocation).
|
Str("path", result.FoundLocation).
|
||||||
|
Loading…
Reference in New Issue
Block a user