Blender executable path may not include backslashes on Windows #100178

Closed
opened 2022-08-03 17:43:25 +02:00 by RedMser · 12 comments

When manually entering the Blender executable on Windows (not auto-detecting based on .blend file association), the executable path may not include backslashes!

If it does, the web UI shows following error:

Activity
    Failed: exec: "D:DownloadsBlenderblender-3.2.0-windows-x64blender.exe": file does not exist

In the yaml config, the path included \ as expected. So some code between loading config and running executable seems to strip them.

This issue should be considered in #99456

When manually entering the Blender executable on Windows (not auto-detecting based on .blend file association), the executable path may not include backslashes! If it does, the web UI shows following error: ``` Activity Failed: exec: "D:DownloadsBlenderblender-3.2.0-windows-x64blender.exe": file does not exist ``` In the yaml config, the path included `\` as expected. So some code between loading config and running executable seems to strip them. This issue should be considered in #99456
Author

Added subscriber: @RedMser

Added subscriber: @RedMser

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Can you share your flamenco-manager.yaml file? You can just drag & drop it into the comment field. That way I can take a closer look.

Which version of Windows are you using? Here on Win10 Pro it just works.

Can you share your `flamenco-manager.yaml` file? You can just drag & drop it into the comment field. That way I can take a closer look. Which version of Windows are you using? Here on Win10 Pro it just works.
Author

I am using Windows 10 Pro as well. My config looks like this: flamenco-manager.yaml

Replacing the backslashes in the path with forward slashes fixes the error.

I am using Windows 10 Pro as well. My config looks like this: [flamenco-manager.yaml](https://archive.blender.org/developer/F13337376/flamenco-manager.yaml) Replacing the backslashes in the path with forward slashes fixes the error.

Added subscriber: @Tilapiatsu

Added subscriber: @Tilapiatsu

Same Issue for me,

WRN error executing task error="exec: \"F:softwareblenderblender.exe\": file does not exist"

All the Backlash seams to be discarded, and in the flamenco-manager.yaml file, the path seems to be correct
flamenco-manager.yaml

Same Issue for me, ``` WRN error executing task error="exec: \"F:softwareblenderblender.exe\": file does not exist" ``` All the Backlash seams to be discarded, and in the flamenco-manager.yaml file, the path seems to be correct [flamenco-manager.yaml](https://archive.blender.org/developer/F13430322/flamenco-manager.yaml)

Thanks for the example YAML files. They look as they should, so that's not the cause of the issue. Could you also attach your flamenco-manager.sqlite file, and the full log of the failing task?

{F13430935,size=full}

Thanks for the example YAML files. They look as they should, so that's not the cause of the issue. Could you also attach your `flamenco-manager.sqlite` file, and the full log of the failing task? {[F13430935](https://archive.blender.org/developer/F13430935/image.png),size=full}

Hello @dr.sybren

Here is the files files you need :
flamenco-manager.sqlite
failed_task_log.txt

Please let me know if you need anything else.

Hello @dr.sybren Here is the files files you need : [flamenco-manager.sqlite](https://archive.blender.org/developer/F13431171/flamenco-manager.sqlite) [failed_task_log.txt](https://archive.blender.org/developer/F13431172/failed_task_log.txt) Please let me know if you need anything else.

Oh and by the way @dr.sybren , I've tried what @RedMser sugested, replacing Backslash with Forwardslash and it worked well now for me too.

Oh and by the way @dr.sybren , I've tried what @RedMser sugested, replacing Backslash with Forwardslash and it worked well now for me too.

This issue was referenced by e5a20425c4

This issue was referenced by e5a20425c474ec93edbe03d2667ec5184f32d3ef

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2022-08-30 17:31:37 +02:00

It's good that that works, but forward slashes shouldn't be necessary.

This should be fixed by e5a20425c4, which will be part of the soon-to-be-released 2nd beta.

Note that that change is backward-incompatible, and it'll make it impossible to re-render old jobs. You'll have to resubmit them to Flamenco after upgrading to beta2.

It's good that that works, but forward slashes shouldn't be necessary. This should be fixed by e5a20425c4, which will be part of the soon-to-be-released 2nd beta. Note that that change is backward-incompatible, and it'll make it impossible to re-render old jobs. You'll have to resubmit them to Flamenco after upgrading to beta2.
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#100178
No description provided.