Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bat file fails to extract. #196

Open
branitsky opened this issue Mar 24, 2023 · 6 comments
Open

Bat file fails to extract. #196

branitsky opened this issue Mar 24, 2023 · 6 comments

Comments

@branitsky
Copy link

image

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.

@ziriax
Copy link
Contributor

ziriax commented Mar 24, 2023

I even didn't know spaces in Windows user names were possible these days 🙈

@ziriax
Copy link
Contributor

ziriax commented Mar 24, 2023

Oh, the script is really broken! It also figures out the wrong Onedrive folder if that one has spaces in it. Thanks for reporting!

@ziriax
Copy link
Contributor

ziriax commented Mar 24, 2023

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?

maya2glTFDeploy.txt

@branitsky
Copy link
Author

So I actually got it to work by going into the original bat file and deleting the _ between USER_DOCUMENTS. 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.

image

@ziriax
Copy link
Contributor

ziriax commented Mar 30, 2023

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.

@ziriax
Copy link
Contributor

ziriax commented Mar 30, 2023

I have another one for you to test... Works on my machine 🙈

maya2glTFDeploy.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants