I am still searching for the script which uses the “SetMaxInfo” …
The VFB+ Rollout is the framebuffer of vray I think. It is Vray 3.50.04
Regarding the vray_dr.cfg file. The whole Autodesk folder under user/appdata/local/ is read only. It seems to be a windows 10 bug.
Even if I uncheck “readonly” the checkmark is there again when opening the properties again.
This error happens on 4 workstations. So there must be one identical problem.
Ah, ok. You may need to change the renderer to something else and then change it back to V-Ray. That normally fixes this kind of thing.
I’m pretty sure “VFB+” is this 3rd party VFB and nothing to do with Chaos Group released software: monotoneminimal.com/vfb
Maybe you need a newer version of this 3rd party plugin as well?
If your user accounts don’t have write access to this file, then V-Ray DR won’t be able to save it’s DR settings. This would be very strange as this is user space on your operating system. Perhaps this directory receives its file permission by way of inheritance, so you need to set permissions correctly at a higher level for things to work correctly for you. I assume you are assigning permissions using a user account with local admin privileges to do so?
Thank you for the link to the VFB+ plugin. We have updated it. But the permission issue is still a problem.
The artists work with a standard user (not admin). I have looged in as administrator and set the permissions of the user folder to full control and set the ownership to the user. I think it is a windows 10 bug because there are so many google results of people having this read only checkbox not working. I will continue searching for a solution. Maybe creating a new user or setting permissions via powershell may work.
I will keep this thread updated.
I have the same error again with 3dsmax 2019 and Vray Next Update 1.
Here is the output from Maxscript listener:
Running submission script “\CGIMASTER\deadline_repository10\submission/3dsmaxVRayDBR/Main/3dsmaxVRayDBR2Deadline.ms”
3dsmaxVRayDBR2Deadline Script File FOUND in the Deadline Repository…
3dsmaxVRayDBR2Deadline Macro UPDATED.
– Error occurred in anonymous codeblock; filename: \CGIMASTER\deadline_repository10\submission\3dsmaxVRayDBR\Main\3dsmaxVRayDBR2Deadline.ms; position: 71832; line: 1934
– MAXScript Rollout Handler Exception:
– Runtime error: File not open. No I/O allowed: C:\Users\cgi_03\AppData\Local\Thinkbox\Deadline10\logs\SetupVRayWithDeadline - [CGI03] - 10-12-2018-0003.log
– Error occurred in anonymous codeblock; filename: \CGIMASTER\deadline_repository10\submission\3dsmaxVRayDBR\Main\3dsmaxVRayDBR2Deadline.ms; position: 71832; line: 1934
– MAXScript Rollout Handler Exception:
– Runtime error: File not open. No I/O allowed: C:\Users\cgi_03\AppData\Local\Thinkbox\Deadline10\logs\SetupVRayWithDeadline - [CGI03] - 10-12-2018-0003.log
Running submission script “\CGIMASTER\deadline_repository10\submission/3dsmaxVRayDBR/Main/3dsmaxVRayDBR2Deadline.ms”
3dsmaxVRayDBR2Deadline Script File FOUND in the Deadline Repository…
3dsmaxVRayDBR2Deadline Macro UPDATED.
– Error occurred in anonymous codeblock; filename: \CGIMASTER\deadline_repository10\submission\3dsmaxVRayDBR\Main\3dsmaxVRayDBR2Deadline.ms; position: 63058; line: 1723
– MAXScript dotNet event handler Exception:
– Runtime error: FileStream cannot create: C:\Users\cgi_03\AppData\Local\Autodesk\3dsMax\2019 - 64bit\ENU\en-US\plugcfg\vray_dr.cfg
– Error occurred in anonymous codeblock; filename: \CGIMASTER\deadline_repository10\submission\3dsmaxVRayDBR\Main\3dsmaxVRayDBR2Deadline.ms; position: 63020; line: 1724
– Compile error: no local declarations at top level: ConfigFile
– In line: local configFile =
I have already tried to render as Administrator or with a fresh new Windows user account.
I am on Windows 10 1803, 3dsmax 2019.2, Vray Next Update 1, Deadline 10.0.23.4
Any idea why the access to the log and vray_dr.cfg files are blocked?
Standard OS stuff: Walk the paths, check the folders along the way, try and create / edit some files. It’s possibel the vray_dr.cfg is already in use, but I can’t say why Deadline can’t create a file. An interesting note here though is that I don’t have a ‘logs’ folder. I believe the SMTD might create one (I don’t have it on my workstation at the moment).
Let me know what you investigation shows and we can go from there.
I have tried setting the permissions on the vray_dr.cfg file with everyone Full Control or logged in as Admininstrator. I tried even setting the permission via the domain controller, but the error remains.
Any idea?
Yes. I can edit the fil in notepad and save it. I wonder if there are any background procceses in Deadline or 3dsmax for executing commands like deadlinebg.exe or another exe for executing the maxscript from the Deadline repository. I also tried setting the “appdata” folder and all subdirectories to Full control for my user and also tried everyone.
When I create a simple scene in 3dsmax it renders fine without the permission problems. When loading a complex interior scene the error comes back. It feels like a second app tries to modify the vray_dr.cfg file.
Here is an update. I have used proccess monitor to dig down what happens in the background. It seems that 3dsmax is creating the file vray_dr.cfg several times and sometimes there are sharing violations. During this sharing violations an error pops up in 3dsmax saying: cannot create filestream …vray_dr.cfg
Oh, this is reminding me of an old problem. I pinged a team mate who knows a bit more about it and he may chime in.
The only thing unusual about your setup is the age of Deadline 9 versus the age of Max 2020. I’m not sure how many users make use of the V-Ray DR submitter, but I would have thought that someone else would have reported this. That lead me to read over the 10.0 release notes, but I didn’t spot anything that called out the configuration file or file access problems directly.
Then I looked around the submitter itself, and we do open and close the file a few times (look for “DRConfigFile” there if you’re curious). From the code, it seems that our implementation would fail to close the file if an exception happened during UpdateJob, so that’s making sense based on what you sent last week.
Is that the only output from the submission script? That line 1723 is the first one in the function that tries to do anything with the file, so it’s already locked before we got there (from what I see so far).
Getting output from the MaxScript listener I’m hoping might also be helpful. Can you send that as well?
Here is the ouput from the Maxscript Listener. But to make things clear we use Deadline 10.1 for this as I wrote 8 days before this. The error was the same with Deadline 9 and 3dsmax 2019. We just tried to use 3dsmax 2020 to test out if it 3dsmax related.
Do I get this issue right? That there are too many file write and close operations on the vray_dr.cfg file?
Assuming its not a permissions issue, V-Ray itself might be trying to update/write to this file during rendering and we hit a share violation then. We might need to gate our writing.
Ok. At the moment we have modified the script 3dsmaxVRayDBR2Deadline.ms to disable all pop up errors. The rendering seems to run fine, but I guess the share violations remain in the background.