Open branitsky opened 1 year ago
I even didn't know spaces in Windows user names were possible these days 🙈
Oh, the script is really broken! It also figures out the wrong Onedrive folder if that one has spaces in it. Thanks for reporting!
Could you try to edit the maya2glTFDeploy.bat
file with the one attached (you will have to rename it to maya2glTFDeploy.bat
), and see if that works for you?
So I actually got it to work by going into the original bat file and deleting the _ between USERDOCUMENTS. this worked great for the third line, and the fourth, the batch ran and i extracted properly. i was able to open the gui in maya, but i was not able to export. However when i deleted the in the line with robocopy it gave me the same access denied error. reverting to having the first 2 _ deleted, after running the batch I was able to open the gui in maya but i was not able to export. Finally, by comparing my folder setup with a friends who had this running properly, I simply grabed the plugins folder from the zip and tossed it into my maya. after htat i was able to successfully run the gui and export some glbs.
It took like 2 hours of trying and deleting things and trying again, but in the end its running.
The new bat ran perfectly fine on my laptop, that has a normal user name. rerunning the batch on this computer I am getting the same access is denied error. unsure if its because of the steps i took above, or something else.
Thanks for trying! My bad, my script is broken. Batch files, so horrible... I will make an account with a space in the user name first, before bothering you.
I have another one for you to test... Works on my machine 🙈
Hey i have a space in my user name, Sir Darrel, the batch distribution keeps trying to go to Sir/maya instead of Sir Darrell/maya.