Page 1 of 1

Export Bug

PostPosted: Thu Oct 20, 2022 3:59 pm
by Nicolab28
Hi,

I have an annoying export bug.
By using maxscript, and after several (5 or 15 times) successful exports, I have a message telling me:
"Failed to save exported file c:\foo.orbx Please ensure it is not in use by Octane Stand Alone or another application"

I have to restart 3DSMax for the export to work again, even though the filename is different.

This window appears randomly. It's unpredictable.

I want to clarify that I do not use any other octane sessions on this computer and the file name changes with each export.

I also noticed that despite unchecking the abc export, the file is still created and then deleted.

Finally, here is some information for debugging:
Windows 7 Intel i7-5820K 32GB RAM
RTX 2070 8GB Nvidia Game Ready Driver 522.25
Plugin for Max OctaneRender 2021.1.6 - 12.26
3DS Max 2023.2.2 Update

Thanks for your help.

Re: Export Bug

PostPosted: Mon Oct 24, 2022 9:53 am
by Nicolab28
I felt like I solved my problem, but it didn't.

At the end of the export, I checked that the orbx file was indeed exported, and I thought that this might be the cause, a file opening, when it was not yet really saved, a slow file server?
So I read the OctaneMaxFPI.orbxExportStatus variable which indicates the export status, and on Friday I was able to do a lot of tests, without any worries, but today I have the same problem : "Failed to save exported file c:\foo.orbx Please ensure it is not in use by Octane Stand Alone or another application" after a single export.
Moreover the value of OctaneMaxFPI.orbxExportStatus is 3, Finished normally.

As I said in my previous post, once the error appears, you have to restart 3DS, because you can no longer export.
Please help me...

Re: Export Bug

PostPosted: Mon Oct 24, 2022 2:43 pm
by Nicolab28
I think I found the bug.

My method was to make an export with a particular name, once the orbx was generated I moved it to another folder.

My new method, is to always export to the same temporary file, and copy it to the new folder.
The constraint is to validate overwriting the file, but it seems to work. As proof, as soon as I delete/rename the temporary orbx file, I can't export anymore!

To reproduce the bug, the method:
-Open an 3ds Max file with Octane configured

-Set User defined folder like d:\
-Set Export As temp.orbx
Click Export button
Normally successful

Go rename the file (with windows explorer) d:\temp.orbx as d:\temp_2.orbx
Click Export button again
You will see the "Failed to save exported file d:\temp.orbx" window.

Please please, fix me this bug

Re: Export Bug

PostPosted: Wed Oct 26, 2022 2:25 am
by neonZorglub
Nicolab28 wrote:I think I found the bug.

My method was to make an export with a particular name, once the orbx was generated I moved it to another folder.

My new method, is to always export to the same temporary file, and copy it to the new folder.
The constraint is to validate overwriting the file, but it seems to work. As proof, as soon as I delete/rename the temporary orbx file, I can't export anymore!

To reproduce the bug, the method:
-Open an 3ds Max file with Octane configured

-Set User defined folder like d:\
-Set Export As temp.orbx
Click Export button
Normally successful

Go rename the file (with windows explorer) d:\temp.orbx as d:\temp_2.orbx
Click Export button again
You will see the "Failed to save exported file d:\temp.orbx" window.

Please please, fix me this bug


Hi Nicolab28,
Thanks for reporting this issue, and for the reproduction steps!
It seems the engine incorrectly tries to read the previous orbx project.. and fails to save the new one..
This will be fixed in the next release.
Thanks!

[Edit:] fixed in 12.27 : viewtopic.php?f=80&t=80645

Re: Export Bug

PostPosted: Wed Oct 26, 2022 8:25 am
by Nicolab28
thanks!

Re: Export Bug

PostPosted: Wed Oct 26, 2022 8:36 am
by Nicolab28
new bug...
the abc file is created and remains, even if the "ABC Export" option has been unchecked

[edit] The orbx fix seems to work!