# Vray RAW output fails on # symbol

**URL:** <https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668>\
**Category:** Issues\
**Created:** [May 13, 2009, 2:48pm UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668 "2009-05-13T14:48:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DuskZero](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@DuskZero](https://forums.chaos.com/u/DuskZero)\
**Post date:** [May 13, 2009, 2:48pm UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668/1 "2009-05-13T14:48:56Z")

</div>

I have just been trying to work out why my renders were failing on a new install of max 2010 and Vray 1.5r3a.

It turns out that the problem was that I had ## symbols in my output path eg: C:\##project\Render\frame\_.exr

When attempting to write an EXR, if fails with the Error writing render region to raw image file error, so I thought it was trying to write a region, which it was not. I then switched over to writing a vrimg, and it was attempting to create the file at C:\00700070Project\Render\frame\_.vrimg

Each # symbol is being read as a frame number no matter where it is in the path string - I was rendering frame 70.

So I’m rendering to another folder for now, but thought I’d flag the error.

Sam

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [May 14, 2009, 8:43am UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668/2 "2009-05-14T08:43:47Z")

</div>

It’s not so much an error; someone specifically requested for this possibility.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![3LP](https://avatars.discourse-cdn.com/v4/letter/3/5f8ce5/32.png) [@3LP](https://forums.chaos.com/u/3LP)\
**Post date:** [May 14, 2009, 11:49am UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668/3 "2009-05-14T11:49:10Z")

</div>

so from now on we can use the output patch like :  
Render\_###.exr

and the numbers will be 001, 002, etc ?

---

<div class="post-metadata">

**Author:** ![DuskZero](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@DuskZero](https://forums.chaos.com/u/DuskZero)\
**Post date:** [May 14, 2009, 3:06pm UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668/4 "2009-05-14T15:06:21Z")

</div>

But surely this is not working as anticipated? Why would I want Vray to read a # in a directory name as a frame number? Also, using #s doesn’t allow you to choose the number of leading 0s if once you put it in, it adds the whole frame number for each #.

So somebody wanted to be able to have the frame numbering appear elsewhere in the output string? I would suggest the fix that Vray perform a filter on the string and only use the # if it appears after the last \ in the string (i.e. in the filename, not the directory structure), and thus fix my problem and still allow the requested effect.

Sam

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [May 14, 2009, 3:35pm UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668/5 "2009-05-14T15:35:41Z")

</div>

Well, one could argue that using ‘#’ in a directory name is not anticipated either 🙂 But you are right that it is an oversight. I’ve noted this for fixing, however for now that’s how it works.

@3LP - you can do that, yes, only you should use just one ‘#’.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![DuskZero](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@DuskZero](https://forums.chaos.com/u/DuskZero)\
**Post date:** [May 14, 2009, 7:20pm UTC](https://forums.chaos.com/t/vray-raw-output-fails-on-symbol/20668/6 "2009-05-14T19:20:19Z")

</div>

Indeed, fair enough. I use it to raise the folder to the top of the list in explorer, but another symbol or number would work just as well.
