MomentFactory / Omniverse-MVR-GDTF-converter

Support of GDTF (General Device Type Format) and MVR (My Virtual Rig) files in USD for Omniverse
Other
15 stars 1 forks source link

Failed to convert assets ... since importer failed with [WinError 3] The system cannot find the path specified: ... #2

Open oliver-ellmers-dimension opened 1 month ago

oliver-ellmers-dimension commented 1 month ago

Hello, I am receiving the following ERROR and then WARNING, when trying to import MVR files exported from Vectorworks containing light fixtures.

[Error] [mf.ov.mvr.mvrImporter] Failed to parse mvr file at ... Make sure it is not corrupt. 'NoneType' object has no attribute 'findall'

[Warning] [omni.kit.tool.asset_importer.importers_manager] Failed to convert assets ['D:/Projects/DNEG360/TSLIVE/Production/Vectorworks/_MVRExports/TSLIVE_Outernet_LightingMVR.mvr'] since importer failed with [WinError 3] The system cannot find the path specified: 'C:\\Users\\OLIVER~1.ELL\\AppData\\Local\\Temp/MF.OV.GDTF/'.

I have success importing the sample GDTF file Robe_Lighting@Robin_MMX_Blade@2023-07-25__Beam_revision.gdtf I have success importing the sample MVR file 7-fixtures-sample.mvr and fixture-line-gltf.mvr

The export process I am using out of Vectorworks is based on the gif I can see here and the documentation in this repo.

agrosjea commented 1 month ago

Hello Olivier, thanks for reporting this issue.

Which version of Omniverse do you use ? Do you actually import/convert the file or do you make a payload towards the MVR file ? Is there any chance you could send me your MVR file to test on my side ? If it is sensitive material you can send in private.

We haven't tested in multiple environment but the issue could be linked with the method we use to obtain the temp folder from your system. When opening an MVR file we unpack the GDTF files so that Omniverse can access hard GDTF files on your hard drive.

Does C:\\Users\\OLIVER~1.ELL\\AppData\\Local\\Temp/MF.OV.GDTF/ exist ? The use of backslash and slash in the same path, may also be a problem from our code...

Could you also try with your MVR file hosted on Nucleus instead of your local Hard drive ?

agrosjea commented 1 month ago

Also could you try if this file loads properly ?

https://drive.google.com/file/d/1R9uCNyBlVh5lwxejqzueq2uSxX70WJvz/view?usp=sharing

oliver-ellmers-dimension commented 1 month ago

Hello Arnaud, thanks for getting back to me so quickly.

I am currently using the latest version of Omniverse 1.9.11

In this screen record I verify the MVR file you supplied to test works. You will also see trying to drag my MVR directly in from the content browser crashes Composer. Trying to import it use the the Import+ button gives me the error and warning reportred. 2024-07-19 11-59-47.zip

C:\\Users\\OLIVER~1.ELL\\AppData\\Local\\Temp/MF.OV.GDTF/ does not exist

Trying to import my MVR hosted on a Nucleus server gives me the same error and warning

Will message you privately with the MVR - what is the best means of contact for you?

Thanks!

agrosjea commented 1 month ago

Hello ! Nice to see you also use our NDI extension :-) Ok good news the file I provided works. You can use my linkedin to contact me https://www.linkedin.com/in/arnaud-grosjean/ Best regards.

oliver-ellmers-dimension commented 1 month ago

Great, thank you - I have just connected with you on LinkedIn - I think once that is approved we can message privately on there. Thanks! Oliver

agrosjea commented 1 month ago

You file doesn't work on my end either. But strangely, reimporting in Vectorworks and Reeporting again to MVR worked fine with "Convert to USD) I am using Vectorworks Spotlight 2023 SP7 (Build 719048) (64bits) image

Payload doesnt crash but shows wrong scale. I'll send you my exported file in PM

oliver-ellmers-dimension commented 1 month ago

Hi Arnaud,

Strangely your re-exported file from VWX 2023 does import into Omniverse, but there is nothing visible in the viewer.

I am going to try installing VWX 2023 and test exporting MVR for myself from there - I am currently in 24.

What version of Omniverse and USD Composer are you working with? I am wondering if there are some strange compatibility issues we are facing not related to your extension?

agrosjea commented 1 month ago

I use USD COMPOSER 2023.2.5 on Windows. Looks like it is the same as yours... 🤔

oliver-ellmers-dimension commented 1 month ago

I am using the same USD Composer as you are, and now in VWX 2023 SP8.

Using the Convert to USD function, I am able to convert it - but it appears all geometry is lost/missing.

I have sent you a screen recoridng on PM to make sure I am following the correct process with your extension.

Thanks :)

oliver-ellmers-dimension commented 1 month ago

Hi Arnaud, I was wondering if you have had any further thoughts on what might be going wrong here? thanks, O.

agrosjea commented 1 week ago

Hello Oliver, I just came back from holiday, let see if I can push this issue to our devs through September. Best regards.