Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Error: <function selCom at 0x7f29c5c04aa0>;

Error: <function selCom at 0x7f29c5c04aa0>;

info
Contributor Contributor
25,853 Views
34 Replies
Message 1 of 35

Error: <function selCom at 0x7f29c5c04aa0>;

info
Contributor
Contributor

Hi all, I got a few object in a scene, when I try to select some of them in outliner  I receive the following error

select -r HairBasefrom_Zbrush03 ;
// Error: <function selCom at 0x7f29c5c04aa0>; //
// Error: Line 1.1: Syntax error //

 

I have try to export in fbx and re import in a fresh new scene/ optimize the scene / delete history

nothing happen.

thx

 

edit. I noticed that's happen if I create a cube in a new scene.. help

cube.jpg

Accepted solutions (1)
25,854 Views
34 Replies
Replies (34)
Message 21 of 35

nelsoncruz
Autodesk
Autodesk

I Agree and I can partially reproduce this on my end.  The part I am missing is that my call is not going into the json file or the Maya file itself.  This -selectCommand also seems to be saving to the UI configuration of the file and so when this file is passed around it is passing this problem around at the file level.  My thought is that there is something else be passed that I am missing to help push this issue along on my end.  This is why I was hoping for the script if it was ever identified by someone. 

 

Nelson



Nelson Cruz
Manager, Software QA Engineering
Installation & Licensing forums | Contact product support | Autodesk AREA


0 Likes
Message 22 of 35

timdan
Advocate
Advocate

Has anyone found a permanent fix for this? Happening on our end as well.

+ timdan

-
http://www.timdan.com
0 Likes
Message 23 of 35

Anonymous
Not applicable

Has anyone found the root cause of this and a solution? We are using Maya 2018.5 and we keep seeing the same Syntax Error recently. It is like a virus that spreads on files. Fixing the Maya prefs is a temporary solution.

0 Likes
Message 24 of 35

nelsoncruz
Autodesk
Autodesk

We have fix for this in Maya 2020.1

(Outliner returns errors when using -selectCommand callback MAYA-103479)



Nelson Cruz
Manager, Software QA Engineering
Installation & Licensing forums | Contact product support | Autodesk AREA


Message 25 of 35

Anonymous
Not applicable

Hi,

Thank you for replying back. That's great to know about Maya 2020.

Do you know why this is happening all of a sudden in Maya 2018.5? We have been using Maya 2018.5 for the past 1.5 years, but only in the past two months have seen this issue.

Knowing that our studio may not upgrade to 2020 until the end of this year, it'd be great to find a fix for previous versions.

0 Likes
Message 26 of 35

_sebastian_f
Advisor
Advisor

thank you @ninhenzo64  just happend to me and your script fixed it for me!

0 Likes
Message 27 of 35

editorlenoncoelho
Observer
Observer

Helo Friends, i using 2020 and this error came up. I used the script by @ninhenzo64  and it worked! thanks a lot!

Message 28 of 35

tom_melson
Contributor
Contributor

Thanks Ninhenzo!! 😉

 

0 Likes
Message 29 of 35

ninhenzo64
Contributor
Contributor

i've had your back for decades melbo 

Message 30 of 35

Anonymous
Not applicable

So glad to fine this thread!!!  This was driving me nuts.  Thanks @ninhenzo64 for the info.  Deleting the code from the workspace .json file did the trick.

0 Likes
Message 31 of 35

Anonymous
Not applicable

I have this error too but it's when I try to export one of my sound files in a Maya 2020 Playblast. The exported files sound like a speaker having loud static issues. All other audio files work but one. This is the error.

maya select -r Bear_roar_Bear_sound ;

// Error: <function selCom at 0x7f29c5c04aa0>; //

// Error: Line 1.1: Syntax error //

0 Likes
Message 32 of 35

Anonymous
Not applicable

As far as I know, this is just an error involving the selection command.  I don't *think* it would be causing any issues with your audio export.  Is that error being output when you create the playblast or just when you select the file?

0 Likes
Message 33 of 35

Anonymous
Not applicable

When I create the Playblast the error happens. And that audio file doesn't work. Everything works in Maya it is when it exports there is a problem.

0 Likes
Message 34 of 35

Anonymous
Not applicable

In that case, I would follow ninhenzo64's solution in message 15 of this thread.  Editing the .json file cleared up the selcom error for me.  

0 Likes
Message 35 of 35

Anonymous
Not applicable

I wouldn't have said anything if one of the previous solutions worked. The reason I commented is becuase none of the previous solutions worked which is why I am asking for help.