Flamenco/blender breaking UNC paths #100540

Open
opened 2022-08-21 19:37:02 +02:00 by CrunchEnergy · 4 comments

Operating system: Windows
Flamenco: 3.0-beta1
Blender: 3.2.2

Summary: Flamenco or blender is breaking UNC paths for shared_storage_path by replacing all backslashes: \ with forward slashess: /

Steps to reproduce: Submit a Flamenco job where shared_storage_path is a windows UNC path (even \localhost\share for example). Worker will report "command exited abnormally with code 1"

In the flamenco-manager.yaml config I can set either \server\share\ or server/share/ and when blender runs the job it's executing it always swaps \ for / and runs '...blender.exe" -b -yserver/share/....'.

This causes it to fail - you can see by running the whole command manually, you get "Error: Cannot read file 'C:\Windows\System32//server\share\job\job.blend': No such file or directory".

Windows is not seeing the path as a UNC path, but perhaps a relative one.

If you take the same whole command, and change / for , and run it manually, it runs fine:
"Read blend: \server\share\job\job.flamenco.blend"
etc

It seems like it could not swap the characters for detected UNC paths (When it starts with \)?

Operating system: Windows Flamenco: 3.0-beta1 Blender: 3.2.2 Summary: Flamenco or blender is breaking UNC paths for shared_storage_path by replacing all backslashes: \ with forward slashess: / Steps to reproduce: Submit a Flamenco job where shared_storage_path is a windows UNC path (even \\localhost\share for example). Worker will report "command exited abnormally with code 1" In the flamenco-manager.yaml config I can set either \\server\share\ or *server/share/ and when blender runs the job it's executing it always swaps \ for / and runs '...blender.exe" -b -y*server/share/....'. This causes it to fail - you can see by running the whole command manually, you get "Error: Cannot read file 'C:\Windows\System32\//server\share\job\job.blend': No such file or directory". Windows is not seeing the path as a UNC path, but perhaps a relative one. If you take the same whole command, and change / for \, and run it manually, it runs fine: "Read blend: \\server\share\job\job.flamenco.blend" etc It seems like it could not swap the characters for detected UNC paths (When it starts with \\)?
Author

Added subscriber: @CrunchEnergy

Added subscriber: @CrunchEnergy

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

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

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

This is correct, Flamenco doesn't support UNC notation at the moment, you need to mount the share as a drive letter. It is intended that this will be supported at some point, but for that we need more developers willing to work on Windows support.

If you want to know how to do the connection to a drive letter, I show how to set this up in the video at https://flamenco.blender.org/usage/quickstart/

This is correct, Flamenco doesn't support UNC notation at the moment, you need to mount the share as a drive letter. It is intended that this will be supported at some point, but for that we need more developers willing to work on Windows support. If you want to know how to do the connection to a drive letter, I show how to set this up in the video at https://flamenco.blender.org/usage/quickstart/
Sign in to join this conversation.
No Milestone
No Assignees
2 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#100540
No description provided.