OD_CopyPasteExternal icon indicating copy to clipboard operation
OD_CopyPasteExternal copied to clipboard

Maya 2022 not Running Script as it Should

Open sapienplay opened this issue 4 years ago • 5 comments

Tried to run the provided Python scripts on a Maya 2022.2 install with the following results:

(1) With Maya 2022 running Python 3 the script just bombs with some invalid script errors. (2) Starting Maya with Python 2 the script doesn't error but all it does is print itself back on the console and do some other weird stuff like restarting some plugins (may not be so important).

Has this code been tested on Maya 2022?

sapienplay avatar Dec 06 '21 16:12 sapienplay

Safe to say that this project is no longer maintained.

sapienplay avatar Jan 10 '22 21:01 sapienplay

Yep it's dead, RIP

netlander avatar Aug 25 '22 17:08 netlander

Easy fix on my side. I got it working by commenting out the f.write(sname) line and removing the def main(): scope.

CreepGin avatar Nov 24 '22 00:11 CreepGin

@CreepGin Any news on how to get it working on Maya 2023?

hced avatar Jan 18 '23 00:01 hced

@hced Sorry, I don't have access to Maya 2023. But I suspect the script only needs minor changes.

CreepGin avatar Jan 18 '23 01:01 CreepGin