enhance messages when blender is not found #104224
No reviewers
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#104224
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "michael-2:wrn_blender_not_found_improvement"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goals
To help indicate that this is not a roadblock if Flamenco Manager is configured to send the Blender path when a Render Job Task is sent to the Worker.
The warning also includes a doc link to help configure Flamenco Manager blender variable.
Testing
make tests
but they fail on sleep-scheduler tests (eg: TestSetSchedule) in both main and this branch in my setup.You're probably hitting #104219 -- there's a workaround documented there as well (basically: fake that you're in Amsterdam).
@ -35,3 +35,3 @@
switch {
case errors.Is(err, fs.ErrNotExist), errors.Is(err, exec.ErrNotFound):
log.Warn().Msg("Blender could not be found, Flamenco Manager will have to supply a full path")
I don't think this newline is necessary.
@ -38,2 +39,3 @@
case err != nil:
log.Warn().AnErr("cause", err).Msg("there was an issue finding Blender on this system, Flamenco Manager will have to supply a full path")
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/`)
The
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/
text can be extracted to a constant, so that it doesn't have to be repeated.Also I don't think the backticks are necessary, regular double quotes should work equally well.
Pull request closed