CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 08-14-2009, 08:44 PM   #1
EightBit
Lord of the posts
Mitch Rosefelt
OutThereSumwhere, USA
 
Join Date: Jan 2008
Posts: 1,044
What does g error refer to?

source "C:/Documents and Settings/Administrator/My Documents/maya/2010-x64/scripts/pixl_buildHierarchy.mel";
// Error: g //
// Error: Syntax error //

I get this error when I source the script, which only contains a global procedure. However, when I paste the code into the Script Editor and execute, there are no errors.

Anyone know what " g"refers to? Is this an ASCII formatting problem?
Thanks.
 
Old 08-14-2009, 09:15 PM   #2
EightBit
Lord of the posts
Mitch Rosefelt
OutThereSumwhere, USA
 
Join Date: Jan 2008
Posts: 1,044
Well this isn't a full explanation of the problem, but I found that if I changed the file encoding from "Unicode" to "UTF-8", the error went away.
 
Old 08-14-2009, 09:15 PM   #3
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:15 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.