Hi! Does anybody knows or have an ideea about what's going on with the scripts that worked in maya 7 bun not in Maya 8.x? I load them , source them, whatever but when to lunch it says : "Cannot find procedure (.....)" .
you may have copied across 1 script from your 7.0\scripts folder that actually needs a second script that you didn't copy across.. but if you tell us what the (....) procedure it can't find is, we may be able to be more accurate...
Also maya 8 changed some of the syntax of mel and easpecialy internal gui commands so if your script relied on procs that are not part of the commend reference you may be in for a overhaul of the script-
Hi
I had this with a couple of scripts. Could not see any reasons why. Scripts had been built in MelStudio on Maya 7.0 and had been used in Maya 8.0 OK. I opened the scripts in Maya 8.5 script editor and saved them there with no changes and no issues since with any other scripts. The scripts were all scripts used to build GUI's so don't know if that's where the problem could be.
What does the error say!
HiThe error message I got said could not find proc then name of proc being called. I sourced the file manually and same error message. Then open and saved in Maya's script editor and it worked OK. Also it ran in Maya 7.0 OK when I tried it there after saving in Maya 8.5.
Sounds like its not just omne file but many!
but could you actually say what PROC
HiIt was a call to DVY_Springs which is a GUI script for one of the script packs I have released. Before you ask it didn't have escape characters inside a control command line. It happend after I had altered the script, I tested it in Maya 7.0 and it worked OK. I then closed 7.0 opened 8.5 and error occured. I tried the script again and it worked OK in 7.0. So repened 8.5 and it failed. Opened in script editor and saved and its worked in all versions since. It also happened with DVY_Pistons which is again a GUI script but I cannot remember any issues witht this script after doing above routine and this script did have escapses in it at the time. Since cleared and it works OK (I did the open and save routine and this cleared the error before I edited the file for escapes).
Well didn't i tell you the escape method was error prone.
HiBut the error occured in a script where no escape characters were used. So that wasn't the issue and I haven't had any problems since with scripts built in 7.0 and run in 8.5 so I don't really know what the prob is. Will keep and eye out to see if it happens again and maybe look closer at script then.
Well yes sometimes if you start maya 7 and then maya 6 at the same time maya 6 will not work, it has to do with the fact that somehow the environ gets polluted maybe this si what you see.
So are the scipts being placed under maya/scripts?
HiI don't run two versions of Maya at same time as I have had problems like you say so always stop and start seperate versions. All the scripts I had problems with were in MyDocuments\Davvey\Maya\Scripts folder i.e. the common script folder for all Maya versions.