Hypershade panel has NOTHING in it...

Anonymous

Hypershade panel has NOTHING in it...

Anonymous
Not applicable

I reinstalled twise FYI...

 

hypershade is MISSING.JPG

 

Console shows one error when opening the hypershade panel.

 

// Error: line 0: Cannot find procedure "octaneInsertNodeDir".

 

Watdahell is wrong and how do I fix???

0 Likes
Reply
Accepted solutions (2)
12,110 Views
12 Replies
Replies (12)

Anonymous
Not applicable

When I try to assign a material to anything this error shows...

 

// Error: file: C:/Program Files/Autodesk/Maya2015/scripts/others/renderCreateBarUI.mel line 626: Object '' not found.

 

I would like to mention again that I have fully uninstalled EVERYTHING autodesk/maya then reinstalled maya TWISE. 

0 Likes

Anonymous
Not applicable
Accepted solution

I FIGURED IT OUT! Smiley Very Happy

For people who care to know or have the same issue...

Just go to the maya folder in your documents find the prefs folder, rename it something, and maya will create a new one, effectively resting to default, the hypershade and related bugs will then work.

Anonymous
Not applicable

 This didnt work for me.  And I had default preferences anyway, I didnt copy old. 

 

I still get the error, so maya 2016 is unusable....

0 Likes

Anonymous
Not applicable

I have installed on two different workstations and get the same error??????????

 

Need this sorting urgently!

0 Likes

Anonymous
Not applicable

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.....

0 Likes

Anonymous
Not applicable

OK...

I'm semi-convinced this is a Python related issue because deleting/regenerating prefs does nothing for me and I'm finding callPython.mel and <module> not found posts in different forums from as far back as 2007 describing the same type of issues.

 

Example:

// generating Maya nodes...
# Error: file: C:/Program Files/Autodesk/Maya2015/plug-ins/xgen/scripts/igInitialize.mel line 63: RuntimeError: file C:\Program Files\Autodesk\Maya2015\Python\lib\site-packages\maya\utils.py line 96: Failed to load base string resources for module xgmExternalAPI:
'module' object has no attribute 'stringTable' #
// Error: Unable to execute igInitialize.mel. //
# Error: line 0: RuntimeError: file C:\Program Files\Autodesk\Maya2015\Python\lib\site-packages\maya\utils.py line 96: Failed to load base string resources for module xgmExternalAPI:
'module' object has no attribute 'stringTable' #

 

Example:

# Error: file: C:/Program Files/Autodesk/Maya2013/scripts/startup/callPython.mel line 68: ImportError: file <maya console> line 1: No module named nodeEditor #
# Error: file: C:/Program Files/Autodesk/Maya2013/scripts/startup/callPython.mel line 68: ImportError: file <maya console> line 1: No module named nodeEditor #
// Error: line 1: setFocus: Object 'nodeEditorPanel2NodeEditorEd' not found. //

Also appears the following when I manually load the retargeterNodes.py plugin

// Error: line 1: Error in maya.utils._guiExceptHook:
# File "C:\Program Files\Autodesk\Maya2012\Python\Lib\site-packages\maya\utils.py", line 282, in formatGuiException
# exceptionMsg = unicode(exceptionObject.args)
# UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 30: ordinal not in range(128)
#
# Original exception was:
# Traceback (most recent call last):
# File "C:/Program Files/Autodesk/Maya2013/bin/plug-ins/retargeterNodes.py", line 3, in <module>
# import maya.OpenMaya as OpenMaya
# File "c:\buildforge\Maya_2012_Win64_Build\build\wrk\optim\runTime\Python\Lib\site-packages\maya\OpenMaya.py", line 7, in <module>
# ImportError: DLL load failed: No se encontró el proceso especificado. //
// Warning: line 1: Failed to run file: C:/Program Files/Autodesk/Maya2013/bin/plug-ins/retargeterNodes.py //
// Error: line 1: (retargeterNodes) //

 

Example:

// Error: mrCreateCustomNode "" mip_rayswitch; //
// Error: Line 1.37: Wrong number of arguments on call to mrCreateCustomNode. //
# Error: file: D:/Program Files/Autodesk/Maya2013/scripts/startup/callPython.mel line 68: RuntimeError: file D:\Program Files\Autodesk\Maya2013\Python\lib\site-packages\maya\app\general\nodeEditor.py line 114: Error occurred during execution of MEL script
Line 1.37: Wrong number of arguments on call to mrCreateCustomNode. #

 

And this is from the utils.py script itself (found here:C:\Program Files\Autodesk\Maya2015\Python\Lib\site-packages\maya\ 😞

appLoggerName = os.environ.get('MAYA_DEFAULT_LOGGER_NAME', '')

def loadStringResourcesForFile( scriptPath, resourceFileName 😞
    """
    Load a string resource.
    
    The 'scriptPath' argument must be a string containing the full path of to
    a language resource file. The 'resourceFileName' is the _res.py that must be loaded.
    
    If the _res.py fails to be found or executed successfully, the method returns False.
    Otherwise it returns True.
    """
    if scriptPath != '':
        localizedPath = os.path.join( scriptPath, 'scripts', resourceFileName )
        try:
            execfile( localizedPath, {} )
        
        # We don't generate any warnings or errors if localized
        # file is not there
        # TODO: we could consider issuing a warning in debug mode

            except IOError:
            pass
            return False
        except Exception, err:
            raise RuntimeError( 'Error encountered when attempting to load localized string resources for module %s:\n%s' % (moduleName,err))
            return False

        return True

    else:
        return False
            
def loadStringResourcesForModule( moduleName 😞

 

 

 

 

I wish I was a little more Python savvy about now 😞

0 Likes

Anonymous
Not applicable
0 Likes

ryan.harvey
Autodesk
Autodesk

Hi fothers1,

 

Did you hit the octane error or the renderCreateBarUI one, or both?

 

I'm also curious if this post about octane fixed the issue for you:

http://render.otoy.com/forum/viewtopic.php?f=28&t=41696#p226840

 

If not, it's worth checking if there are any other hyperShadePanel or hyperShade mel files in any of the paths included in your Maya 2016 MAYA_SCRIPT_PATH. You can find out all the folders in that path by typing: getenv MAYA_SCRIPT_PATH

 

 

 

Thanks,

Ryan

 

 

Bifrost QA at Autodesk
0 Likes

Anonymous
Not applicable
Accepted solution

Hi,

 

I only had one instance of a hyperShade mel being in my global script location, which I deleted, then the hypershade worked.  I have not used octane, so cant really coment about that.

 

Thanks.

ryan.harvey
Autodesk
Autodesk

Ah ok, that's good to hear.

 

Thanks,

Ryan

Bifrost QA at Autodesk
0 Likes

Anonymous
Not applicable

go to: "...\Documents\maya\2015-x64\prefs" open userPrefs.mel with wordpad, search for Octane and delete the lines.
just it.

0 Likes

Anonymous
Not applicable

I tried finding the Octane line in the UserPrefs.mel file......But cannot locate it on the Mac OSX

Is the method for resetting the hypershade on Mac different??

 

Thanks  

0 Likes