I had to re-login to my Autodesk account after a system clock error caused the Maya license to not be found. I fixed the system clock issue, went to launch Maya, got to an Autodesk account login, acquired my license and Maya opened for me.
NOW, I can't use the Hypershade for the exact same reasons. I am running Maya2015 SP6 (things started to go downhill immediately after the SP6 "upgrade" on Sunday).
It seems like nearly every other window I attempt to use works, but the Hypershade is screwed along with other startup scripts and Maya is not properly recognizing graphic card drivers it had no problems with previously:
file -f -new;
//
----------------------------------------------------------
Time: 2015/4/17 16:30:29
----------------------------------------------------------
//
// Warning: line 0: Viewport 2.0 is not supported by your current graphics configuration or graphics driver version.
The application is reverting to the legacy default viewport, please correct your graphics configuration or set the "Default viewport" preference to "Legacy Default Viewport" to prevent this error from recurring. //
// Result: untitled //
HypershadeWindow;
// Error: file: C:/Program Files/Autodesk/Maya2015/scripts/others/hyperShadeCreateAndOrganizeUI.mel line 27: Cannot find procedure "renderCreateBarUI". //
I believe the issue is possibly related to the start-up script that is not finding "modules" in the callPython MEL script:
C:\Program Files\Autodesk\Maya2015\scripts\startup\callPython.mel
callPython.mel CONTENTS:
// Copyright (C) 1997-2014 Autodesk, Inc., and/or its licensors.
// All rights reserved.
//
// The coded instructions, statements, computer programs, and/or related
// material (collectively the "Data") in these files contain unpublished
// information proprietary to Autodesk, Inc. ("Autodesk") and/or its licensors,
// which is protected by U.S. and Canadian federal copyright law and by
// international treaties.
//
// The Data is provided for use exclusively by You. You have the right to use,
// modify, and incorporate this Data into other products for purposes authorized
// by the Autodesk software license agreement, without fee.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. AUTODESK
// DOES NOT MAKE AND HEREBY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTIES
// INCLUDING, BUT NOT LIMITED TO, THE WARRANTIES OF NON-INFRINGEMENT,
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR ARISING FROM A COURSE
// OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT WILL AUTODESK AND/OR ITS
// LICENSORS BE LIABLE FOR ANY LOST REVENUES, DATA, OR PROFITS, OR SPECIAL,
// DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES, EVEN IF AUTODESK AND/OR ITS
// LICENSORS HAS BEEN ADVISED OF THE POSSIBILITY OR PROBABILITY OF SUCH DAMAGES.
//
//
//
//<doc>
//<name callPython>
//
//<synopsis>
// callPython (string $module, string $function, string $args[])
//
//<returns>
// void
//
//<description>
// Call a python function from MEL with string arguments.
// Does not return a value. Use the python() function if you want
// to evaluate an expression.
//
//<flags>
// string $module Python module
// string $function function name
// string $args[] list of string arguments to pass
//
//<examples>
// callPython "sys" "stderr.write" {"hello\n"}
//</doc>
global proc callPython (string $module, string $function, string $args[])
{
string $cmd = "";
if ("" != $module) {
$cmd = ("import " + $module + " as __mod\ntry:\n\t__mod.");
}
$cmd = ($cmd + $function + "(");
int $i;
int $n = size($args);
for($i = 0; $i < $n; $i++) {
string $encodedArg = `encodeString $args[$i]`;
$cmd = ($cmd + "\"" + $encodedArg + "\"");
if (($i + 1) < $n) {
$cmd = ($cmd + ",");
}
}
$cmd = ($cmd + ")\n");
if ("" != $module) {
$cmd = ($cmd + "finally:\n\tdel __mod\n");
}
// do it
python($cmd);
}
EXAMPLE OF MAYA NOT FINDING "module":
sphere -p 0 0 0 -ax 0 1 0 -ssw 0 -esw 360 -r 1 -d 3 -ut 0 -tol 0.01 -s 8 -nsp 4 -ch 1;objectMoveCommand;
# Error: line 0: ImportError: file <maya console> line 1: No module named mentalray.textureFileConversionUtils #
# Error: file: C:/Program Files/Autodesk/Maya2015/scripts/others/createMayaSoftwareCommonGlobalsTab.mel line 1413: ImportError: file <maya console> line 1: No module named stereo #
I do not believe this is Preference related as I have done various things to delete/regenerate/default them.
I am running Windows7 Pro 64 bit with a LEGIT licensed Maya installed.....I believe this may have began with the SP6 patch and is included in 2016 as well.....