PDA

View Full Version : Error message when I load up my char. setup file.


b.Schulz
04-19-2003, 06:37 AM
// Found a resolution node; these are being phased out.
// Please add an entry to a file named userImageFormats.mel such as the following:
// global string $gUserImageFormatData[] =
// { "LowRezChar_causticRenderResolution 256 256 1.33333" };
// These values have been added to the Render Globals Resolution menu.
// Warning: line 1: Please check the Script Editor for details. //
//
// Found a resolution node; these are being phased out.
// Please add an entry to a file named userImageFormats.mel such as the following:
// global string $gUserImageFormatData[] =
// { "LowRezChar_arm_causticRenderResolution 256 256 1.33333" };
// These values have been added to the Render Globals Resolution menu.
// Warning: line 1: Please check the Script Editor for details. //
//
// Found a resolution node; these are being phased out.
// Please add an entry to a file named userImageFormats.mel such as the following:
// global string $gUserImageFormatData[] =
// { "LowRezChar_KidRig_bottom02_causticRenderResolution 256 256 1.33333" };
// These values have been added to the Render Globals Resolution menu.
// Warning: line 1: Please check the Script Editor for details. //
//
// Found a resolution node; these are being phased out.
// Please add an entry to a file named userImageFormats.mel such as the following:
// global string $gUserImageFormatData[] =
// { "LowRezChar_KidRig_bottom02_arm_causticRenderResolution 256 256 1.33333" };
// These values have been added to the Render Globals Resolution menu.
// Warning: line 1: Please check the Script Editor for details. //
// Warning: Errors have occurred while reading this scene that may result in data loss.
Please check the Script Editor for details. //
// Result: 1 //


Any idea what any of this means???? I'd like to get rid of these error messages when I'm loading my Character. Thanks!

gmask
04-19-2003, 10:07 PM
Well as it describes you are either still using a feature that is being phase dotu or you imported a file from an earlier version that has an obsolete feature. If you search for the files that it mentions and add the lien it suggest then I suppose you may no longer get these messages.

b.Schulz
04-19-2003, 10:13 PM
Originally posted by gmask
If you search for the files that it mentions and add the lien it suggest then I suppose you may no longer get these messages.

How can I do this? I mean...where would I add this line? etc. Thanks!

gmask
04-19-2003, 10:21 PM
// Please add an entry to a file named userImageFormats.mel such as the following:
// global string $gUserImageFormatData[] =
// { "LowRezChar_causticRenderResolution 256 256 1.33333" };

do a serach on your harddrive for this file userImageFormats.mel

add this line to it...

global string $gUserImageFormatData[] ={ "LowRezChar_causticRenderResolution 256 256 1.33333" };

b.Schulz
04-19-2003, 10:26 PM
Is there a way to just tell it to not look for that file? Or string? My HD said that I don't have this file?

gmask
04-19-2003, 10:31 PM
>>>Is there a way to just tell it to not look for that file?

Only if you wish to start losing functionality..

If you are searching on windows you need to leave off the suffix (.mel) when searching.. windows is kind of dumb about this but that'show it is. You can speed up the search by only selecting the AW install folder.

Once the file has been located open in a text editor and add the line.

You could also try listing the resolution nodes by typing thi sinto the Maya commandline

ls -type resolution


and then selecting the results and deleting them

b.Schulz
04-19-2003, 10:48 PM
Originally posted by gmask
You could also try listing the resolution nodes by typing thi sinto the Maya commandline

ls -type resolution


and then selecting the results and deleting them

How can I select the results and delete them? Maya isnt' letting me. I'm assuming you meant to delet them from the script editor?? (will this cause me to loose functionality?) Also I couldn't even find that file on my HD. I removed the .mel but still nothing. Argh! Any other ideas?? Thanks for the help!

gmask
04-19-2003, 10:59 PM
Originally posted by b.Schulz
How can I select the results and delete them? Maya isnt' letting me. I'm assuming you meant to delet them from the script editor?? (will this cause me to loose functionality?) Also I couldn't even find that file on my HD. I removed the .mel but still nothing. Argh! Any other ideas?? Thanks for the help!

Since this file appears to be a user defined mel script I suppoose you could create it and add thos elines. TH efile swould then have to be in a script folder either iun you user directory on in the programs script folder.

I beleive there is a defaultresolution node that you may not need to delete otherwise to delete the others simple type delete myresolutionnodeorwhatever it is called.

b.Schulz
04-20-2003, 01:31 AM
So would I have to have to create this file in order to delete those nodes?

gmask
04-20-2003, 01:43 AM
Originally posted by b.Schulz
So would I have to have to create this file in order to delete those nodes?

no, you'd do either or but not both

b.Schulz
04-20-2003, 01:45 AM
I typed in for example "delete LowRezChar:causticRenderResolution" and nothing happened. Any ideas?

gmask
04-20-2003, 01:48 AM
Originally posted by b.Schulz
I typed in for example "delete LowRezChar:causticRenderResolution" and nothing happened. Any ideas?

Try `delete causticRenderResolution`
or `delete |LowRezChar|causticRenderResolution`

What did the `ls -ls -type resolution` command produce?

b.Schulz
04-20-2003, 02:11 AM
I got this with the ls -type resolution

// Result: LowRezChar_arm_causticRenderResolution LowRezChar_causticRenderResolution LowRezChar_KidRig_bottom02_arm_causticRenderResolution LowRezChar_KidRig_bottom02_causticRenderResolution defaultResolution //

The other commands didn't work.

gmask
04-20-2003, 02:17 AM
Originally posted by b.Schulz
I got this with the ls -type resolution

// Result: LowRezChar_arm_causticRenderResolution LowRezChar_causticRenderResolution LowRezChar_KidRig_bottom02_arm_causticRenderResolution LowRezChar_KidRig_bottom02_causticRenderResolution defaultResolution //

The other commands didn't work.

Then try `delete LowRezChar_arm_causticRenderResolution LowRezChar_causticRenderResolution `etc

b.Schulz
04-20-2003, 02:20 AM
Dam...getting closer....this is what I got.

Error: Non-deletable node 'defaultResolution' cannot be deleted.

Thanks for the help? ANy idea where this default resolution is and why it's doing this?

gmask
04-20-2003, 02:47 AM
Originally posted by b.Schulz
Dam...getting closer....this is what I got.

Error: Non-deletable node 'defaultResolution' cannot be deleted.

Thanks for the help? ANy idea where this default resolution is and why it's doing this?

delete the others but not that one... I guess you must need at last one.

b.Schulz
04-20-2003, 03:39 AM
Excellent! I got rid of that error.....BUT I got one more

// Error: line 1: Plug-in, "Mayatomr.mll", was not found on MAYA_PLUG_IN_PATH. //

Which lead to a bunch of warning lines saying stuff. (too long to post here proly)

I think they may be related? Any idea what this error message means? Thanks for the help.


:D

gmask
04-20-2003, 03:41 AM
Plugins will create nodes and then if the plugin is not loaded or you import the file into another version of Maya it won't know what to do with those nodes. You'll have to go through and find the related nodes and delete them.

b.Schulz
04-20-2003, 03:52 AM
It's giving me mental ray warnings. Which I never had before?

ie.
Unrecognized node type 'mentalrayItemsList'; preserving node information during this session.

Unrecognized . . ." mentalrayGlobals " preserving . . .
" mentalrayOptions "
" mentalrayFramebuffer "


Where can I find nodes that are connected to these things????

gmask
04-20-2003, 04:02 AM
>>>ie. mentalrayItemsList mentalrayGlobals mentalrayOptions mentalrayFramebuffer etc..



It's giving you the names of the things you want to delete.

b.Schulz
04-20-2003, 04:06 AM
AH! I c. I'll go try this now. ;) Thanks.

b.Schulz
04-20-2003, 04:15 AM
Dam...it looked as if I deleted a few nodes (globals, and Itemslist and options)...some weren't found though (Framebuffer). But then I saved (hoping to have minimized the errors I was getting)....reopened the file....and got the same messages. I don't even have Mental Ray installed? Doh! I'm confused. ;) Thanks again for the fast reply's and help.

gmask
04-20-2003, 04:16 AM
try this..

select `ls -l -type unknown`;delete;

chk
04-20-2003, 06:33 AM
I'm far from an expert, but I will make a guess:

You said you don't even have mental ray installed... did you have it installed at some point and render this specific file? If that's the case, I would reinstall mental ray and see if the file opens, because it appears it's running into nodes created by mental ray, and not understanding what to do with them.

b.Schulz
04-20-2003, 08:58 PM
Originally posted by gmask
try this..

select `ls -l -type unknown`;delete;


Sooo close....now I only get this one error.

Error: line 1: Plug-in, "Mayatomr.mll", was not found on MAYA_PLUG_IN_PATH. //

// Warning: file: C:/Documents and Settings/ " ...yada yada yada/LowRezChar.ma line 37551: Unrecognized node type 'mentalrayFramebuffer'; preserving node information during this session. //

This was something I couldn't delete before? Thanks again for the help.....I'm so close to getting rid of all these funky errors.....or am I. heh.
:D

chk...nope never had mental ray installed. Dunno where that's coming from...maybe an old file from school or something that I imported?

CGTalk Moderation
01-14-2006, 10:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.