# Error while loading the plugin

**URL:** <https://forums.chaos.com/t/error-while-loading-the-plugin/25616>\
**Category:** Issues\
**Created:** [October 6, 2010, 1:38pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616 "2010-10-06T13:38:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [October 6, 2010, 1:38pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/1 "2010-10-06T13:38:40Z")

</div>

Hi,

I just installed the wibu-key drivers, the licserver and vray on a workstation with Linux CentOS. Installations went fine, no errors. When i try to load the plugin in maya i get an error:

```auto
V-Ray warning: Loading shaders failed: no <*.txt> file in .
V-Ray warning: Loading shaders failed: no <*.txt> file in .
V-Ray warning: Loading shaders failed: no <*.txt> file in .
V-Ray error: Could not register VRayGeoSun (kFailure): Unexpected Internal Failure
registerTransform failed: (kFailure): Unexpected Internal Failure

```

Versions:  
Maya2011x64,  
CentOS 5.4,  
Vray build 12830

Any suggestions?  
Sorry if this is discussed anywhere else, didn’t find anything.

Thank you!

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [October 6, 2010, 3:00pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/2 "2010-10-06T15:00:16Z")

</div>

EDIT: Solved, works now after 2 rebbots and one or two restarts of the licserver and maya.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [October 6, 2010, 3:47pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/3 "2010-10-06T15:47:13Z")

</div>

I looks like the environment variables were not set properly the first few times.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [October 7, 2010, 8:23am UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/4 "2010-10-07T08:23:58Z")

</div>

ok, thanks!

---

<div class="post-metadata">

**Author:** ![mats\_b\_tegner](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mats_b_tegner/32/235228_2.png) [@mats\_b\_tegner](https://forums.chaos.com/u/mats_b_tegner)\
**Post date:** [October 6, 2014, 12:00pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/5 "2014-10-06T12:00:11Z")

</div>

I cannot get the V-Ray plugin to work.  
I get this in a terminal window when starting maya:  
[2014/Oct/6|13:56:15] V-Ray: V-Ray for Maya version 2.40.02 from May 14 2014, 16:13:09  
[2014/Oct/6|13:56:15] V-Ray: V-Ray core version is 2.00.02  
[2014/Oct/6|13:56:15] V-Ray warning: Loading shaders failed: no \<\*.txt\> files in .  
[2014/Oct/6|13:56:15] V-Ray warning: Loading shaders failed: no \<\*.txt\> files in .  
[2014/Oct/6|13:56:15] V-Ray warning: Loading shaders failed: no \<\*.txt\> files in .

Logging out/in doesn’t solve the problem. Any hints?  
Maya 2015 SP4  
Slackware 14.1  
Vray 2.4.002

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [October 6, 2014, 3:32pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/6 "2014-10-06T15:32:39Z")

</div>

It’s the same thing; environment variables are not set up properly. The installation tries to set this up, but maybe it fails to do that for your Linux distribution. There is some more information here (although it describes how to set things up for a .zip installation, it also gives a list of the required environment variables):

> **[Chaos Docs](https://documentation.chaos.com/)**

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![mats\_b\_tegner](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mats_b_tegner/32/235228_2.png) [@mats\_b\_tegner](https://forums.chaos.com/u/mats_b_tegner)\
**Post date:** [October 6, 2014, 3:59pm UTC](https://forums.chaos.com/t/error-while-loading-the-plugin/25616/7 "2014-10-06T15:59:08Z")

</div>

Thanks for the reply. I’m using the .zip installation method and I’ve got it mostly working now.
