Render.exe mangles paths in mysterious and awesome ways #26207

Closed
opened 2011-02-24 19:45:42 +01:00 by Edwin Amsler · 16 comments

%%%A client is making use of Deadline 4.1 and Blender 2.56a and are getting a very strange problem. Here's Deadline's relevant output:

0: INFO: Render Executable: "C:\Program Files\blender-2.56a\blender.exe"
0: INFO: Render Argument: -b "C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend" -t 0 -o "R:\heise\blender\image.#####.png" -s 1651 -e 1675 -a
0: INFO: Startup Directory: "C:\Program Files\blender-2.56a"
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: found bundled python: C:\PROGRA~1\BLENDE~1.56A\2.56\python
0: STDOUT: read blend: C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend
0: STDOUT: Saved: R:\heise\blender\image.01651.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:47.56
0: STDOUT: Saved: R:\heise\blender\image.01652.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.76
0: STDOUT: Saved: R:\heise\blender\image.01653.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.85
0: STDOUT: Saved: R:\heise\blender\image.01654.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.52
0: STDOUT: Saved: R:\heise\blender\image.01655.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.65
0: STDOUT: Saved: R:\heise\blender\image.01656.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:48.13
0: STDOUT: Saved: R:\heise\blender\image.01657.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:47.38

Deadline is just running the executable and arguments on a standard command line, and the switches all look fine. The paths that it saves the renders to however are some sort of zainy amalgam of the project path and the output.

I have to assume this is a bug in Blender.%%%

%%%A client is making use of Deadline 4.1 and Blender 2.56a and are getting a very strange problem. Here's Deadline's relevant output: 0: INFO: Render Executable: "C:\Program Files\blender-2.56a\blender.exe" 0: INFO: Render Argument: -b "C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend" -t 0 -o "R:\heise\blender\image.#####.png" -s 1651 -e 1675 -a 0: INFO: Startup Directory: "C:\Program Files\blender-2.56a" 0: INFO: Process Priority: BelowNormal 0: INFO: Process is now running 0: STDOUT: found bundled python: C:\PROGRA~1\BLENDE~1.56A\2.56\python 0: STDOUT: read blend: C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend 0: STDOUT: Saved: R:\heise\blender\image.01651.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:47.56 0: STDOUT: Saved: R:\heise\blender\image.01652.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.76 0: STDOUT: Saved: R:\heise\blender\image.01653.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.85 0: STDOUT: Saved: R:\heise\blender\image.01654.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.52 0: STDOUT: Saved: R:\heise\blender\image.01655.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:46.65 0: STDOUT: Saved: R:\heise\blender\image.01656.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:48.13 0: STDOUT: Saved: R:\heise\blender\image.01657.pngl/Prime Focus/Deadline/slave/jobsData/wideHD.blend.png Time: 00:47.38 Deadline is just running the executable and arguments on a standard command line, and the switches all look fine. The paths that it saves the renders to however are some sort of zainy amalgam of the project path and the output. I have to assume this is a bug in Blender.%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Hi, I tried to redo this bug by creating paths like yours with 2.56a and latest svn r35132 but couldn't.

"C:\Documents and Settings\ass\Desktop\blender-2.56a-beta-windows32\blender.exe" -b "C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend" -t 0 -o "M:\heise\blender\image.#####.png" -s 1651 -e 1675 -a

The resulting ouput names I get are like this
M:\heise\blender\image.01653.png%%%

%%%Hi, I tried to redo this bug by creating paths like yours with 2.56a and latest svn r35132 but couldn't. "C:\Documents and Settings\ass\Desktop\blender-2.56a-beta-windows32\blender.exe" -b "C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend" -t 0 -o "M:\heise\blender\image.#####.png" -s 1651 -e 1675 -a The resulting ouput names I get are like this M:\heise\blender\image.01653.png%%%
Member

%%%If you want to prove it's a real Bkender bug, exclude the unknown "Deadline 4.1" from the test, and type commands in a terminal or dos box.
Then put an example .blend here in tracker showing the error.%%%

%%%If you want to prove it's a real Bkender bug, exclude the unknown "Deadline 4.1" from the test, and type commands in a terminal or dos box. Then put an example .blend here in tracker showing the error.%%%

%%%Mac OS X 10.5.8 / Mobility Radeon 9700M / SVN 35126

I wonder if this is related to this...

In the last week or so, I've been getting unusual library linking errors because Blender seems to be looking in the wrong place for linked libraries (see attached file).

In the master blender file paving96.blend all paths are set to be relative, and the render is initiated from the pwd (/Users/user/compile/install/darwin/blender.app/Contents/MacOS) so the master_lib location is in the $PWD/master_lib/ however Blender seems all of a sudden to expect to find it here: /Users/user/Library/Application Support/Blender/2.56/config/master_lib/ and then sorts itself out and looks in the right place - very odd.

This example come from a project too large to sensibly upload, but I'm sure I can contrive a more concise example to demonstrate it if you require.%%%

%%%Mac OS X 10.5.8 / Mobility Radeon 9700M / SVN 35126 I wonder if this is related to this... In the last week or so, I've been getting unusual library linking errors because Blender seems to be looking in the wrong place for linked libraries (see attached file). In the master blender file paving96.blend all paths are set to be relative, and the render is initiated from the pwd (/Users/user/compile/install/darwin/blender.app/Contents/MacOS) so the master_lib location is in the $PWD/master_lib/ however Blender seems all of a sudden to expect to find it here: /Users/user/Library/Application Support/Blender/2.56/config/master_lib/ and then sorts itself out and looks in the right place - very odd. This example come from a project too large to sensibly upload, but I'm sure I can contrive a more concise example to demonstrate it if you require.%%%

%%%Sorry chaps, ignore everything I wrote; a stale default between compiles caused what I reported :-( all's well with 35190.
%%%

%%%Sorry chaps, ignore everything I wrote; a stale default between compiles caused what I reported :-( all's well with 35190. %%%
Member

%%%In that case I close the report :)%%%

%%%In that case I close the report :)%%%

%%%Please note that I was not the original reporter, Edwin's issue may still remain.%%%

%%%Please note that I was not the original reporter, Edwin's issue may still remain.%%%
Author

%%%Indeed it might still remain!

This was a bug reported by a client, so I don't have the blend file unfortunately. I'm still waiting on his response to be able to provide more information on this.

Also, as one of the past developers of Deadline, I know that Deadline is in fact running that command from the console, it just pipes the output to that log. To be specific, it's using a C# Process object, which is equivalent to the command line.

I'll also give reproducing this problem a shot. It does seem very odd. If I'm not able to and the client stays silent, we'll have to close this report anyway.%%%

%%%Indeed it might still remain! This was a bug reported by a client, so I don't have the blend file unfortunately. I'm still waiting on his response to be able to provide more information on this. Also, as one of the past developers of Deadline, I know that Deadline is in fact running that command from the console, it just pipes the output to that log. To be specific, it's using a C# Process object, which is equivalent to the command line. I'll also give reproducing this problem a shot. It does seem very odd. If I'm not able to and the client stays silent, we'll have to close this report anyway.%%%
Author

%%%I was in fact able to reproduce this from the command line. Same options and paths as in the first report. Please not the attempted output path of "R:\heise\blender\image.01651.pngFocus/Deadline/slave/jobsData/wideHD.blend.png" and how it's some amalgam of the input path and the output path. The working directory was "C:\Users\Edwin" and this was run on Windows 7 32 bit. I'll attach the blend file as well. Could it be that the username has a number in it?

I created the zainy long path:
C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData
with a default blend file named wideHD.blend

and ran the render through. It mangles the path still. The output for me was as follows:

C:\Users\Edwin>"c:\Program Files\Blender\blender.exe" -b "C:\Users\um3d-heise\Ap
pData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend" -t 0 -o "R:\heise
blender\image.#####.png" -s 1651 -e 1675 -a
found bundled python: c:\PROGRA~1\Blender\2.56\python
read blend: C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsDat
a\wideHD.blend
Fra:1651 Mem:3.04M (0.10M, peak 3.52M) | Preparing Scene data
[removed for brevity's sake]
Fra:1651 Mem:2.96M (17.83M, peak 25.36M) Sce: Scene Ve:8 Fa:6 La:1
Unable to create directory

Unable to create directory

Unable to create directory

Unable to create directory

Unable to create directory

Unable to create directory

Unable to create directory

imb_savepng: Cannot open file for writing: 'R:\heise\blender\image.01651.pngFocu
s/Deadline/slave/jobsData/wideHD.blend.png'
R:\heise\blender\image.01651.pngFocus/Deadline/slave/jobsData/wideHD.blend.png:
No such file or directory
Render error: cannot save R:\heise\blender\image.01651.pngFocus/Deadline/slave/j
obsData/wideHD.blend.png
Time: 00:01.11
bpy stats - tot exec: 4, tot run: 0.0000sec, average run: 0.000000sec, tot
usage 0.0001%

Blender quit%%%

%%%I was in fact able to reproduce this from the command line. Same options and paths as in the first report. Please not the attempted output path of "R:\heise\blender\image.01651.pngFocus/Deadline/slave/jobsData/wideHD.blend.png" and how it's some amalgam of the input path and the output path. The working directory was "C:\Users\Edwin" and this was run on Windows 7 32 bit. I'll attach the blend file as well. Could it be that the username has a number in it? I created the zainy long path: C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData with a default blend file named wideHD.blend and ran the render through. It mangles the path still. The output for me was as follows: C:\Users\Edwin>"c:\Program Files\Blender\blender.exe" -b "C:\Users\um3d-heise\Ap pData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend" -t 0 -o "R:\heise\ blender\image.#####.png" -s 1651 -e 1675 -a found bundled python: c:\PROGRA~1\Blender\2.56\python read blend: C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsDat a\wideHD.blend Fra:1651 Mem:3.04M (0.10M, peak 3.52M) | Preparing Scene data [[[removed for brevity's sake]]] Fra:1651 Mem:2.96M (17.83M, peak 25.36M) Sce: Scene Ve:8 Fa:6 La:1 Unable to create directory Unable to create directory Unable to create directory Unable to create directory Unable to create directory Unable to create directory Unable to create directory imb_savepng: Cannot open file for writing: 'R:\heise\blender\image.01651.pngFocu s/Deadline/slave/jobsData/wideHD.blend.png' R:\heise\blender\image.01651.pngFocus/Deadline/slave/jobsData/wideHD.blend.png: No such file or directory Render error: cannot save R:\heise\blender\image.01651.pngFocus/Deadline/slave/j obsData/wideHD.blend.png Time: 00:01.11 *bpy stats* - tot exec: 4, tot run: 0.0000sec, average run: 0.000000sec, tot usage 0.0001% Blender quit%%%
Author

%%%Well, I fail at uploading. It can be reproduced with a plain blender file however. Just make a new scene and save that. If you need anything from me, I'm more than willing to help.%%%

%%%Well, I fail at uploading. It can be reproduced with a plain blender file however. Just make a new scene and save that. If you need anything from me, I'm more than willing to help.%%%

%%%reopened.%%%

%%%reopened.%%%
Member

%%%Somehow the 2nd part of the string, after the space:
C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend

gets appended to the file output name...%%%

%%%Somehow the 2nd part of the string, after the space: C:\Users\um3d-heise\AppData\Local\Prime Focus\Deadline\slave\jobsData\wideHD.blend gets appended to the file output name...%%%
Member

%%%Hmm, I see similar broken output after all. Investigating more.%%%

%%%Hmm, I see similar broken output after all. Investigating more.%%%
Member

%%%Fixed in r35280. Thanks for reporting and insisting :)%%%

%%%Fixed in r35280. Thanks for reporting and insisting :)%%%
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

%%%No problem, I do exactly the same support/fixing thing here at Thinkbox. Just out of curiosity as a programmer, what was the problem?%%%

%%%No problem, I do exactly the same support/fixing thing here at Thinkbox. Just out of curiosity as a programmer, what was the problem?%%%
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 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: blender/blender#26207
No description provided.