# Maya ART tool gives "performGpuCacheExport.mel" error

**URL:** <https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822>\
**Category:** Platform & Builds\
**Tags:** rig, control, art, build, unreal-engine, question\
**Created:** [March 22, 2014, 5:40am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822 "2014-03-22T05:40:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![spooty89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spooty89](https://forums.unrealengine.com/u/spooty89)\
**Post date:** [March 22, 2014, 5:40am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/1 "2014-03-22T05:40:13Z")

</div>

I’m currently experiencing 2 errors when using the ART Maya plugin (I don’t believe they are related to one another).

- After specifying the MayaTools directory (first time ART setup), I’ve experienced the following error message every time I start Maya:

- When I get to the point in the ART process where I click the “Build Control Rig” button, I fill out the information and hit the build button, but an error pops up, saying:

Please let me know if there is something I can do on my end to resolve these issues or if more information is needed. Thanks!

---

<div class="post-metadata">

**Author:** ![monsteradurm\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsteradurm\_1](https://forums.unrealengine.com/u/monsteradurm_1)\
**Post date:** [March 25, 2014, 4:03am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/2 "2014-03-25T04:03:41Z")

</div>

I have the same issue here except also this error when maya starts up:

Error: 2

Traceback (most recent call last):

File “C:/Users/ac/Documents/maya/scripts/MayaTools/General/Scripts\customMayaMenu.py”, line 249, in p4ProjectMenu

f = open(mayaToolsDir + “/General/Scripts/projectSettings.txt”, ‘r’)

IOError: [Errno 2] No such file or directory: ‘C:/Users/ac/Documents/maya/scripts/MayaTools/General/Scripts/projectSettings.txt’

---

<div class="post-metadata">

**Author:** ![Michiyuki13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Michiyuki13](https://forums.unrealengine.com/u/Michiyuki13)\
**Post date:** [March 25, 2014, 8:01pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/3 "2014-03-25T20:01:15Z")

</div>

Same error,can anyone explain how to fix this?

---

<div class="post-metadata">

**Author:** ![Jeremy\_Ernst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy\_Ernst](https://forums.unrealengine.com/u/Jeremy_Ernst)\
**Post date:** [March 26, 2014, 7:53am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/4 "2014-03-26T07:53:56Z")

</div>

OK, I think the first issue is probably due to the projectSettings.txt file being read only. I’ll add a check to the code to make sure this doesn’t error, but I have a feeling that is the issue there.

As for the second issue, try pasting this file in your MayaTools/General/Scripts folder:

> **[ART\_Settings.py](https://www.dropbox.com/s/4kjxd0s9prj1gzw/ART_Settings.py)**
>
> Shared with Dropbox

The file that is currently there is a compiled version, which might be causing issues. Let me know if that resolves the problem!

---

<div class="post-metadata">

**Author:** ![Jeremy\_Ernst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy\_Ernst](https://forums.unrealengine.com/u/Jeremy_Ernst)\
**Post date:** [March 26, 2014, 8:01am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/5 "2014-03-26T08:01:24Z")

</div>

I’ve also updated the error message to be hopefully more descriptive as to what the issue is, instead of the generic “File may exist or be marked as read only”.

You can find that updated file here:

> **[ART\_skeletonBuilder\_UI.py](https://www.dropbox.com/s/xd5m7r3q4zo8w7m/ART_skeletonBuilder_UI.py)**
>
> Shared with Dropbox

Hopefully that will also help narrow down the issue if the ART\_Settings file wasn’t it.

---

<div class="post-metadata">

**Author:** ![monsteradurm\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsteradurm\_1](https://forums.unrealengine.com/u/monsteradurm_1)\
**Post date:** [March 26, 2014, 8:04am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/6 "2014-03-26T08:04:49Z")

</div>

Ok, that Helped. However, It looks to me like this variable somewhere within the collection of scripts isnt being set/overridden properly : mayaToolsDir

it seems that it still points to a d:/UE4/Build directory or something similar when I try pull in the mannequin template… Im assuming it should point to my maya scripts dir. I could set it at the top of the script, but id rather keep the files exactly as you guys packaged them for future update etc. Also, I dont know how many times that variable has been added throughout.

---

<div class="post-metadata">

**Author:** ![Jeremy\_Ernst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy\_Ernst](https://forums.unrealengine.com/u/Jeremy_Ernst)\
**Post date:** [March 26, 2014, 8:09am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/7 "2014-03-26T08:09:28Z")

</div>

Are you referring to loading in the mannequin and the reference being set to the d:/ path? Unfortunately, Maya hard codes the reference paths which is a pain, so you may need to reset it to wherever the files lives locally on your machine.

---

<div class="post-metadata">

**Author:** ![monsteradurm\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsteradurm\_1](https://forums.unrealengine.com/u/monsteradurm_1)\
**Post date:** [March 26, 2014, 8:15am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/8 "2014-03-26T08:15:56Z")

</div>

yes, pulling in the mannequin comes up with a reference not found issue.  
Im not sure what you mean by reset it however? Im hoping that missing reference doesnt come up everytime one our artists tries to pull in the mannequin.

---

<div class="post-metadata">

**Author:** ![Jeremy\_Ernst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy\_Ernst](https://forums.unrealengine.com/u/Jeremy_Ernst)\
**Post date:** [March 26, 2014, 8:21am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/9 "2014-03-26T08:21:23Z")

</div>

You should be able to browse to the new location when that message comes up. There is a checkbox as well that says something along the lines of “remember path changes”. Checking that will fix up the reference paths to be correct on your machine.

Everything in the toolkit uses relative directory paths based on your install location. However, Maya’s referencing uses absolute paths ☹ I haven’t looked too deeply into whether or not I can catch that and change it automatically for the user. I’ll be adding that to my list for investigation.

---

<div class="post-metadata">

**Author:** ![monsteradurm\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsteradurm\_1](https://forums.unrealengine.com/u/monsteradurm_1)\
**Post date:** [March 26, 2014, 8:33am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/10 "2014-03-26T08:33:59Z")

</div>

ahh i see, well yes, i guess that depends how its being called. Im not sure what approach requires it to be hardcoded in, I typically just make a new file reference, or in the past if ive had to literally edit references in place ( pretty rare ) ive literally just called in the ascii and saved over the top replacing the references… referenceEdits/referenceQueries don’t give you that control to my knowledge so they are the only options im aware of.

---

<div class="post-metadata">

**Author:** ![monsteradurm\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsteradurm\_1](https://forums.unrealengine.com/u/monsteradurm_1)\
**Post date:** [March 26, 2014, 8:41am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/11 "2014-03-26T08:41:22Z")

</div>

The addcharacter\_ui method is calling on a file “mayaTools.txt”, which looks as though its supposed to be in my scripts dir (based on the cmds.internalVar(usd = True)) but isnt.

from art\_addcharacter\_ui

Im definitely still getting this error also:

# Error: 2

# Traceback (most recent call last):

# File “C:/Users/ac/Documents/maya/scripts/MayaTools/General/Scripts\customMayaMenu.py”, line 249, in p4ProjectMenu

# f = open(mayaToolsDir + “/General/Scripts/projectSettings.txt”, ‘r’)

# IOError: [Errno 2] No such file or directory: ‘C:/Users/ac/Documents/maya/scripts/MayaTools/General/Scripts/projectSettings.txt’

on starting up maya

Since ive replaced the skeletonbuilder ui with the version mentioned above Im now also getting

# Error: invalid syntax

# Traceback (most recent call last):

# File “C:/Users/ac/Documents/maya/scripts/MayaTools/General/Scripts\customMayaMenu.py”, line 635, in launchSkeletonBuilder

# import ART\_skeletonBuilder\_UI

# File “C:/Users/ac/Documents/maya/scripts/MayaTools/General/Scripts\ART\_skeletonBuilder\_UI.py”, line 1

#

---

<div class="post-metadata">

**Author:** ![Jeremy\_Ernst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy\_Ernst](https://forums.unrealengine.com/u/Jeremy_Ernst)\
**Post date:** [March 28, 2014, 1:41am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/12 "2014-03-28T01:41:12Z")

</div>

@spooty89, what version of Maya are you using? Are you by chance using a student license?

Anyone else that is having the " File may exist already and be marked as read only. Aborting operation." error, what version/license of maya are you all running? We’ve been trying to reproduce this error and so far, the only thing we’ve been able to possibly find is that users running into this have been on a student license.

---

<div class="post-metadata">

**Author:** ![RedEyes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RedEyes](https://forums.unrealengine.com/u/RedEyes)\
**Post date:** [March 28, 2014, 5:08am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/13 "2014-03-28T05:08:23Z")

</div>

Hey Jeremy i had fixed the problem

line14643 : #try to save the file

line 14645 : try:

line 14647: cmds.file(save = True, type = “mayaBinary”, force = True, prompt = True)

you must to set prompt=true, because of the warning message that saving process in maya occurs with student edition !  
don’t forget to fix the problem for AnimRig folder =)

there is 4 place to edit :  
14647, 14829, 14955 and 14987

For the one who don’t want to edit the file themseleves : you can download the file here and extract the file into your  
this directory : “ **Engine\Extras\Maya\_AnimationRiggingTools\MayaTools\General\Scripts** ”  
Hot Fix ;  
[http://puppet-master.net/UnrealEngine4/Maya/ART/ART\_skeletonBuilder\_UI.rar](http://puppet-master.net/UnrealEngine4/Maya/ART/ART_skeletonBuilder_UI.rar)

Nicolas Kirsch

---

<div class="post-metadata">

**Author:** ![krailyx\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@krailyx\_1](https://forums.unrealengine.com/u/krailyx_1)\
**Post date:** [March 28, 2014, 7:12am UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/14 "2014-03-28T07:12:38Z")

</div>

Thank you so much for this! Just tested out on Maya 2013 student and it fixed it. You are a saint.

---

<div class="post-metadata">

**Author:** ![spooty89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spooty89](https://forums.unrealengine.com/u/spooty89)\
**Post date:** [March 28, 2014, 1:22pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/15 "2014-03-28T13:22:13Z")

</div>

@Jeremy Ernst, I am using the student license for 2014. Will this be an issue going forward?

---

<div class="post-metadata">

**Author:** ![KITATUS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kitatus/32/983160_2.png) [@KITATUS](https://forums.unrealengine.com/u/KITATUS)\
**Post date:** [March 28, 2014, 1:30pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/16 "2014-03-28T13:30:03Z")

</div>

You should add this as a comment, not as an answer.

---

<div class="post-metadata">

**Author:** ![KITATUS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kitatus/32/983160_2.png) [@KITATUS](https://forums.unrealengine.com/u/KITATUS)\
**Post date:** [March 28, 2014, 1:30pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/17 "2014-03-28T13:30:37Z")

</div>

You should submit this as a comment, not as an answer.

---

<div class="post-metadata">

**Author:** ![spooty89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spooty89](https://forums.unrealengine.com/u/spooty89)\
**Post date:** [March 28, 2014, 2:19pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/18 "2014-03-28T14:19:05Z")

</div>

sorry, my bad 😛

---

<div class="post-metadata">

**Author:** ![Konshu](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/konshu/32/467841_2.png) [@Konshu](https://forums.unrealengine.com/u/Konshu)\
**Post date:** [April 2, 2014, 10:16pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/19 "2014-04-02T22:16:55Z")

</div>

In reference to: if os.path.isfile(mayaToolsDir + “/General/Scripts/projectSettings.txt”)

What did you put as It would seem my change breaks it.

---

<div class="post-metadata">

**Author:** ![Jeremy\_Ernst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeremy\_Ernst](https://forums.unrealengine.com/u/Jeremy_Ernst)\
**Post date:** [April 8, 2014, 10:02pm UTC](https://forums.unrealengine.com/t/maya-art-tool-gives-performgpucacheexport-mel-error/277822/20 "2014-04-08T22:02:03Z")

</div>

Hey all!

New thread up that I’ll be keeping updated with latest fixes, known issues and new features:

[ART Master Thread](https://forums.unrealengine.com/showthread.php?2462-Animation-and-Rigging-Tools&p=14564#post14564)
