Submitting job from windows machine manager to linux worker result in failed job #104238

Closed
opened 2023-07-25 10:18:55 +02:00 by Matteo-Pelliccia · 3 comments

System Information
Operating System(s): Windows 11 manager, Linux worker

Flamenco Version
Is Broken: 3.2
Worked OK: not tried

Short description of error
When a job is submitted by a windows machine using Two-way Variables the path of the file .blend is not translated from windows to Linux path.

Exact steps for others to reproduce the error
1)Open file .blend in blender on the NAS mappend with F:\flamenco accessible by windows and linux machine
2) Go to Flamenco 3 plugin, add render output root to NAS dir
3) Click Submit to Flamenco
4) Open web interface, connect the worker
5) Job is in failed state with the following error message :
error="command exited abnormally with code 1" task={"commands":[{"name":"blender-render","parameters":{"args":["--render-output","/home/drdivago/flamengo-nas/renders/Fish/2023-07-22_164900/######","--render-format","PNG","--render-frame","2"],"argsBefore":[],"blendfile":"/home/drdivago/flamengo-nas\\Fish.flamenco.blend","exe":"/home/drdivago/Downloads/blender-3.6.1/blender","exeArgs":"-b -y"}}],"job":"853ead1e-5841-42e4-b048-8e1d069d9ee7","job_priority":50,"job_type":"simple-blender-render","name":"render-2","priority":50,"status":"active","task_type":"blender","uuid":"da1d624c-b382-434f-8013-ff7b91627b0e"}

Render output is correcly modified with the linux path
--render-output","/home/drdivago/flamengo-nas/renders/Fish/2023-07-22_164900/######

The new blendfile file is correctly Fish.flamenco.blend created at the path F:\flamenco and correctly modified with the root path defined in flamanco-manager.yaml variable but it attach .blend file with windows path separator \\ instead of / :
"blendfile":"/home/drdivago/flamengo-nas\\Fish.flamenco.blend"

Manager is configured with following flamenco-manager.yaml

_meta:
  version: 3
manager_name: Flamenco Manager
database: flamenco-manager.sqlite
listen: :8080
autodiscoverable: true
local_manager_storage_path: ./flamenco-manager-storage
shared_storage_path: F:\flamenco
shaman:
  enabled: false
  garbageCollect:
    period: 24h0m0s
    maxAge: 744h0m0s
    extraCheckoutPaths: []
task_timeout: 10m0s
worker_timeout: 1m0s
blocklist_threshold: 3
task_fail_after_softfail_count: 3
variables:
  my_storage:
    is_twoway: true
    values:
    - platform: linux
      value: /home/drdivago/flamengo-nas
    - platform: windows
      value: F:\flamenco
    - platform: darwin
      value: /Volumes/shared/flamenco
  blender:
    values:
    - platform: linux
      value: /home/drdivago/Downloads/blender-3.6.1/blender
    - platform: windows
      value: blender
    - platform: darwin
      value: blender
  blenderArgs:
    values:
    - platform: all
      value: -b -y
**System Information** Operating System(s): Windows 11 manager, Linux worker **Flamenco Version** Is Broken: 3.2 Worked OK: not tried **Short description of error** When a job is submitted by a windows machine using Two-way Variables the path of the file .blend is not translated from windows to Linux path. **Exact steps for others to reproduce the error** 1)Open file .blend in blender on the NAS mappend with F:\flamenco accessible by windows and linux machine 2) Go to Flamenco 3 plugin, add render output root to NAS dir 3) Click Submit to Flamenco 4) Open web interface, connect the worker 5) Job is in failed state with the following error message : ` error="command exited abnormally with code 1" task={"commands":[{"name":"blender-render","parameters":{"args":["--render-output","/home/drdivago/flamengo-nas/renders/Fish/2023-07-22_164900/######","--render-format","PNG","--render-frame","2"],"argsBefore":[],"blendfile":"/home/drdivago/flamengo-nas\\Fish.flamenco.blend","exe":"/home/drdivago/Downloads/blender-3.6.1/blender","exeArgs":"-b -y"}}],"job":"853ead1e-5841-42e4-b048-8e1d069d9ee7","job_priority":50,"job_type":"simple-blender-render","name":"render-2","priority":50,"status":"active","task_type":"blender","uuid":"da1d624c-b382-434f-8013-ff7b91627b0e"}` Render output is correcly modified with the linux path `--render-output","/home/drdivago/flamengo-nas/renders/Fish/2023-07-22_164900/######` The new blendfile file is correctly Fish.flamenco.blend created at the path F:\flamenco and correctly modified with the root path defined in flamanco-manager.yaml variable but it attach .blend file with windows path separator \\\\ instead of / : "blendfile":"/home/drdivago/flamengo-nas\\\\Fish.flamenco.blend" Manager is configured with following flamenco-manager.yaml ```yaml _meta: version: 3 manager_name: Flamenco Manager database: flamenco-manager.sqlite listen: :8080 autodiscoverable: true local_manager_storage_path: ./flamenco-manager-storage shared_storage_path: F:\flamenco shaman: enabled: false garbageCollect: period: 24h0m0s maxAge: 744h0m0s extraCheckoutPaths: [] task_timeout: 10m0s worker_timeout: 1m0s blocklist_threshold: 3 task_fail_after_softfail_count: 3 variables: my_storage: is_twoway: true values: - platform: linux value: /home/drdivago/flamengo-nas - platform: windows value: F:\flamenco - platform: darwin value: /Volumes/shared/flamenco blender: values: - platform: linux value: /home/drdivago/Downloads/blender-3.6.1/blender - platform: windows value: blender - platform: darwin value: blender blenderArgs: values: - platform: all value: -b -y ```

This seems similar to #104237, are you sure this is a different issue?

This seems similar to #104237, are you sure this is a different issue?
Sybren A. Stüvel added the
Status
Needs Information from User
label 2023-07-31 12:31:33 +02:00

This doesn't seem to be the same issue as the one I mentioned earlier. I can't reproduce this problem with the currently in-development version of Flamenco though (3.3-alpha).

Please give this version of Flamenco a try, to see if it's already been solved:

Disclaimer: this is an alpha release, which means it is potentially unstable and can ruin your files. Use at your own risk. It is recommended to run these files from a directory of their own, so that they don't interfere with the 3.2 version you have installed. Be sure to create a backup copy of the worker local files as well.

This doesn't seem to be the same issue as the one I mentioned earlier. I can't reproduce this problem with the currently in-development version of Flamenco though (3.3-alpha). Please give this version of Flamenco a try, to see if it's already been solved: - [Linux](flamenco-3.3-alpha0-132-gcac030e9d-linux-amd64.tar.gz) - [Windows](flamenco-3.3-alpha0-132-gcac030e9d-linux-amd64.tar.gz) Disclaimer: this is an alpha release, which means it is potentially unstable and can ruin your files. Use at your own risk. It is recommended to run these files from a directory of their own, so that they don't interfere with the 3.2 version you have installed. Be sure to create a backup copy of the [worker local files](https://flamenco.blender.org/usage/worker-configuration/#worker-local-files) as well.

Closing this tas as after 6 months there hasn't been any reply from the reporter.

Closing this tas as after 6 months there hasn't been any reply from the reporter.
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#104238
No description provided.