FAQ for when worker cannot find Blender executable #104232

Merged
Sybren A. Stüvel merged 5 commits from michael-2/flamenco:faq_worker_not_finding_blender into main 2023-08-23 15:15:39 +02:00
Contributor

Problem
WRN message is often something new end users are stuck on because they believe it has to be fixed to proceed.

WRN Blender could not be found, Flamenco Manager will have to supply a full path

Improvements

To simply explain to non-technical user there are two options for how Worker can find/use Blender on the workstation...

  • Option 1 is to improve debugging/FAQ for locating Blender
  • Option 2 is to suggest/recommend Flamenco Manager to configure paths and explain that this happens when a Task is dispatched and not during worker startup as some have assumed.
Problem WRN message is often something new end users are stuck on because they believe it has to be fixed to proceed. ``` WRN Blender could not be found, Flamenco Manager will have to supply a full path ``` Improvements To simply explain to non-technical user there are two options for how Worker can find/use Blender on the workstation... - Option 1 is to improve debugging/FAQ for locating Blender - Option 2 is to suggest/recommend Flamenco Manager to configure paths and explain that this happens when a Task is dispatched and not during worker startup as some have assumed.
MichaelC added 1 commit 2023-07-05 17:53:42 +02:00
Sybren A. Stüvel requested changes 2023-07-06 12:37:52 +02:00
Sybren A. Stüvel left a comment
Owner

Thanks for the FAQ entry. I've noted some comments inline.

Thanks for the FAQ entry. I've noted some comments inline.
@ -64,0 +66,4 @@
When installing and starting the Flamenco Worker you may see a warning in the logs that says
the Worker cannot find Blender.
Example Flamenco Worker <=v3.2 log message...

I think this line can be removed, and the period in the sentence above can be turned into a colon:

... that says the Worker cannot find Blender:

IMO there is no need to specify which version of Flamenco is used. If you do want to be explicit, use something like "Flamenco Worker v3.2 would log:"

I think this line can be removed, and the period in the sentence above can be turned into a colon: > ... that says the Worker cannot find Blender: IMO there is no need to specify which version of Flamenco is used. If you do want to be explicit, use something like "Flamenco Worker v3.2 would log:"
michael-2 marked this conversation as resolved
@ -64,0 +72,4 @@
WRN Blender could not be found, Flamenco Manager will have to supply a full path
```
There are two ways to resolve this problem:

This can be written more positively. It's just a warning, not a "problem". Something like "There are two ways to address this" would be better.

This can be written more positively. It's just a warning, not a "problem". Something like "There are two ways to address this" would be better.
michael-2 marked this conversation as resolved
@ -64,0 +74,4 @@
There are two ways to resolve this problem:
1. Blender be installed in [platform dependent paths][blenderpaths] using the Blender installer or

The linked documentation describes multiple paths, for example $HOME/.config/blender/3.6/. I don't think it's a good idea to suggest that people start installing Blender in their configuration directory. It will certainly mess up as soon as they upgrade Blender and their config (and thus Blender itself) is copied from the old to the new version.

Furthermore it doesn't resolve this message at all, as $HOME/.config/blender/3.6/ is not a path that the Worker will search for at startup.

Many non-technical users will also not understand "or available in the environment $PATH."

The linked documentation describes multiple paths, for example `$HOME/.config/blender/3.6/`. I don't think it's a good idea to suggest that people start installing Blender in their configuration directory. It will certainly mess up as soon as they upgrade Blender and their config (and thus Blender itself) is copied from the old to the new version. Furthermore it doesn't resolve this message at all, as `$HOME/.config/blender/3.6/` is not a path that the Worker will search for at startup. Many non-technical users will also not understand "or available in the environment $PATH."
michael-2 marked this conversation as resolved
@ -64,0 +79,4 @@
2. Use a [two-way variable named `blender`][blendervar] for each platform (eg: Windows, Linux or MacOS).
For option (1), Flamenco will attempt to locate Blender by examining the system.

Extra per-option text is better put with that option, that'll prevent having to mentally switch between different approaches while reading.

Aside from that, Flamenco Worker will always attempt to locate Blender by examining the system. There is no choice in this; unless we redesign the startup behaviour, but that's not an option for the typical reader of this FAQ entry.

Extra per-option text is better put with that option, that'll prevent having to mentally switch between different approaches while reading. Aside from that, Flamenco Worker will **always** attempt to locate Blender by examining the system. There is no choice in this; unless we redesign the startup behaviour, but that's not an option for the typical reader of this FAQ entry.
michael-2 marked this conversation as resolved
@ -64,0 +81,4 @@
For option (1), Flamenco will attempt to locate Blender by examining the system.
In option (2) the `blender` path for the Worker is sent when a Render Job Task is enqueued.

Replace "Render Job Task" with just "render job".

Replace "Render Job Task" with just "render job".
michael-2 marked this conversation as resolved
@ -64,0 +83,4 @@
In option (2) the `blender` path for the Worker is sent when a Render Job Task is enqueued.
The Worker will still show a warning on startup and expect the Flamenco Manager to send the Blender
path to use.

For some positive reenforcement, add something like "which is exactly what will happen when you follow the above steps". Otherwise it looks like it's still an unresolved issue.

For some positive reenforcement, add something like "which is exactly what will happen when you follow the above steps". Otherwise it looks like it's still an unresolved issue.
michael-2 marked this conversation as resolved
MichaelC added 2 commits 2023-07-14 02:08:58 +02:00
MichaelC requested review from Sybren A. Stüvel 2023-07-14 02:09:48 +02:00
Sybren A. Stüvel requested changes 2023-07-17 10:47:08 +02:00
@ -64,0 +70,4 @@
WRN Blender could not be found. 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/
```
If Flamenco cannot locate Blender on the system it is possible to use a [two-way variable named `blender`][blendervar] for each platform (eg: Windows, Linux or MacOS). The Flamenco Worker will still show the same WRN message on startup when you use the two-way `blender` variable. The path specified by the `blender` variable is sent with the render job is enqueued.

Windows, Linux or MacOS

Please use the Oxford comma.

The Flamenco Worker will still show the same WRN message on startup when you use the two-way blender variable. The path specified by the blender variable is sent with the render job is enqueued.

I think this can be reworded for more clarity, something like this:

This path to Blender is then sent to the Worker for each render task. Note that the Worker will still show the warning at startup, as it cannot find Blender by itself; this is fine, because you now have configured the Manager to provide this path.

> Windows, Linux or MacOS Please use the Oxford comma. > The Flamenco Worker will still show the same WRN message on startup when you use the two-way `blender` variable. The path specified by the `blender` variable is sent with the render job is enqueued. I think this can be reworded for more clarity, something like this: This path to Blender is then sent to the Worker for each render task. Note that the Worker will still show the warning at startup, as it cannot find Blender by itself; this is fine, because you now have configured the Manager to provide this path.
MichaelC added 2 commits 2023-08-04 23:31:01 +02:00
MichaelC requested review from Sybren A. Stüvel 2023-08-05 05:02:47 +02:00
Sybren A. Stüvel approved these changes 2023-08-23 15:14:02 +02:00
Sybren A. Stüvel left a comment
Owner

Thanks!

Thanks!
Sybren A. Stüvel merged commit b9582f0ebd into main 2023-08-23 15:15:39 +02:00
Sign in to join this conversation.
No description provided.