Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAYA_SCRIPT_PATH parser error

0 REPLIES 0
Reply
Message 1 of 1
kanenas_0
226 Views, 0 Replies

MAYA_SCRIPT_PATH parser error

Hello.

I'm writing this in case it helps others with some strange problems.

When Maya starts up, it creates the MAYA_SCRIPT_PATH based on what you specify for it, plus any folders in MAYA_MODULE_PATH, plus a number of other default locations and their subfolders.

Except it doesn't do a good job on certain cases (at least in my Win7 x64 system).

Using a standard plugin, you'll have no problems with whatever it does.
But if you use some plugin (say mtoa) that uses Python during its startup, some strange things might happen. In the example case, Maya crashes.

The reason for the crash is a conversion error because of malformed folders in the MAYA_SCRIPT_PATH (a number of non English characters followed by '\scripts' -- could be more than one such folder).

So how did they get there?

If you happen to have an entry in MAYA_MODULE_PATH that points to some folder, say in \Program Files (86)\, Maya can't handle the parentheses for some reason, probably corrupts memory, and adds these strange folders.
Weird eh?

Solution is to take these folders out of MAYA_MODULE_PATH and just drop their file into the default Maya modules folder.
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report