Remove old plugins requirements

1,205 views
Skip to first unread message

SEQUENZ | Gerstenmaier

unread,
May 12, 2017, 8:22:38 AM5/12/17
to maya...@googlegroups.com

Hi,

we have trouble rendering a scene (Maya 2017 Update 3, Windows) on a render farm, because Maya thinks that it needs some old plugins (honestly I don’t know where there are coming from, as we had never used these plugins):

requires "RenderMan_for_Maya" "4.0.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "RenderMan_for_Maya", was not found on MAYA_PLUG_IN_PATH. # 
requires "shaveNode" "1.1";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "shaveNode", was not found on MAYA_PLUG_IN_PATH. # 
requires "vrayformaya2008" "1.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "vrayformaya2008", was not found on MAYA_PLUG_IN_PATH. # 


What we tried so far:

- save as ma scene, but can’t edited the file (scene is 600 MB big) or do we need another editor?
- Optimize scene with „Remove unknown nodes“ checked
- Searched in the Outliner ( DAG disabled) -> nothing found
- Export all stuff in new scene
- Searched for plugins in use:

pluginInfo -query -pluginsInUse;
// Result: vrayformaya 3.52.02 renderSetup.py 1.0 stereoCamera 10.0 // 

- Searched for unknown nodes:

string $node="";
string $unknownNodes[] = `ls -type "unknown"`;
// Result:   // 

Nothing helped! Shit! How can we get ride of that stuff?

Thanks for any help,
Lars




Message has been deleted

Balazs Pataki

unread,
May 12, 2017, 8:38:42 AM5/12/17
to maya_he3d
Since Maya 2016.5 you can use the unknownPlugin command.

Here's a short script that removes every unknown plugin.

import maya.cmds as cmds
unknown_plugins = cmds.unknownPlugin(q=True, list=True) or []
for up in unknown_plugins:
    cmds.unknownPlugin(up, remove=True)

Alexandre Pillon

unread,
May 12, 2017, 8:41:52 AM5/12/17
to maya_he3d
See http://mayastation.typepad.com/maya-station/2015/04/how-to-prevent-maya-writing-a-requires-command-for-a-plug-in.html

Otherwise, save file as Maya Ascii, open in text editor and remove the uneeded requires lines at the top of the file

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steve Davy

unread,
May 12, 2017, 2:16:23 PM5/12/17
to maya...@googlegroups.com

Thanks for sharing! I've spent no end of time over the years dealing with this issue.




From: maya...@googlegroups.com <maya...@googlegroups.com> on behalf of Balazs Pataki <blaise...@gmail.com>
Sent: Friday, May 12, 2017 5:38 AM
To: maya_he3d
Subject: [maya_he3d] Re: Remove old plugins requirements
 
--

Lars Gerstenmaier

unread,
May 12, 2017, 3:45:08 PM5/12/17
to maya...@googlegroups.com
Yes, thanks a lot Balazs. You save my day!

Open in an editor is no fun with a 500 MB file.

Lars 

SEQUENZ | Agentur für Kommunikationsgestaltung
Reply all
Reply to author
Forward
0 new messages