Summary

Title:zip archive doesn't load dynamics plugin
Category:Install/Uninstall
Status:Fixed
Posted By:engineeringa52 ( Kevin Bass )
Date Created:26 August 2016

Problem

Description:

when installing Ornatrix in a remote location (not local hard drive) using the zip archive.  The dynanics plugin doesn't work.

the work around was that installed the latest version locally and noticed a bin directory that wasn't in the archive and it contained a few more dlls.

i copied this bin dir to my remove location and modified the mod file like so.

+ MAYAVERSION:2015 Ornatrix 1.0.7.8346 {MYREMOTE_PATH_ON_SERVER}/Ornatrix_1.0.7.8346
plug-ins: 2015
[r] scripts: scripts
MTOA_EXTENSIONS_PATH := 2015/extensions
ORNATRIX_ARNOLD_PROCEDURAL_PATH := 2015/procedurals/OrnatrixProcedural.dll
ORNATRIX_MAYA_GROOMS_DIR := Grooms
PATH +:=bin *** added this line ***

once i did this the dynamics operatior worked.

Thanks

Andy

ps there were a few mistakes in the archive mod file, there was no corrisponding +MAYAVERSION:2015 and the version number did not correspond to the build.

Steps to Reproduce:

Thank you for the report Andy, we'll look into fixing the archives.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Another thing, if people can't load the plugin, please check that you have Visual C++ Redistributable for Visual Studio 2013.

Hi,

 

I have this error :

Ornatrix Error: Could not load Lucid library: The specified procedure could not be found. (0x7f)

I don't really know what is wrong.

In the PATH env i have the bin folder.

Any help please ?

The error indicates that Ephere.Plugins.Lucid.dll could be the wrong version. It needs to be updated along with the Ornatrix.mll file. Did you do that?

Marsel Khadiyev (Software Developer, EPHERE Inc.)

I will update. I am using 1.0.9.8705 [Nightly]

Same error :

Ornatrix Error: Could not load Lucid library: The specified procedure could not be found. (0x7f)


With the build 1.1.0.8822. I am using the zip archive

Can you test the zip archive for me please ?

I don't really understand what i did wrong.

We will look into this and get back to you, thanks.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

I just tried installing from the zip file into a folder of my own, modified the .mod file to point to that directory and copied the .mod file to MAYA_MODULE_PATH.

The problem I had was that Ornatrix itself wouldn't load because it could not find its glew32.dll dependency. This gets fixed by adding the bin sub-directory to PATH. I'll change the .mod file in the archive to include it by default.

Then creating a dynamics node worked. I suppose that modifying PATH helped for that too, because Ephere.Plugins.Lucid.dll has its own dependencies in the bin directory.

Please try that, add he line

PATH +:= bin

to the Ornatrix.mod file under the +MAYAVERSION line for each Maya version you need and let us know if it worked for you.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

It doesn't work for me. I try to find why for a few days but i don't find.

Here the installation in the pipeline and the .mod :

 

Here my the MAYA_PLUG_IN_PATH env (it is good because i load the plugin, obviously):

 

Here the PATH env :

 Here the result :

All is good for me, but it doesn't work.

Tested on 3 computers in the studio. I don't really know what to do.

 

Edit : i completely overrided the PTH env with PATH :=bin (and not PATH +:=bin) :

 

Same result, same error.

Ok, interesting result : it works on Maya 2017 (with exactly the same setup) but it doesn't work with Maya 2015.

Can you check this please ?

Actually for me it works with Maya 2014.

It's strange that Ornatrix.mll loads fine and Lucid.dll won't.

The next thing you can try is this:

Download Dependency Walker for x64 from this direct link: http://dependencywalker.com/depends22_x64.zip

Start it and open Ephere.Plugins.Lucid.dll. In the tree view on the left you should see a list of .dll's below Lucid. Some of these are expanded, this is usually not important so you can collapse them.

The remaining picture should display all .dll's in "normal" state (i.e. the same gray color as Lucid at the root), and just TBB.DLL should be yellow, indicating that it's missing. At least that's what I see. If you get any other .dll in yellow, it is probably the cause for your problems.

To verify that TBB.DLL is also not any source of problems you can choose from the menu Options / Configure Module Search Order, then browse the Maya\bin directory and press Add Directory, then OK. This should make TBB normal as well (because it should be in Maya\bin).

If all this is fine for you and Lucid still won't load, I guess we can try to add more detailed logging to the process of loading Lucid and see what it will tell on your machine.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Here the result :

 

Attached the tree.


Attached Files:

>Ephere.Plugins.Lucid.dwi (3129052 bytes),

Process monitor tell me that .dll are good also :

 

Can you check quickly on Maya 2015 please ?

Yes, I reproduced it finally.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

I still can't figure out the cause of the problem, but I suspect it is related to the fact that the .msi installer and the .zip contain different versions of glew32.dll

Until I figure it out, can you please try replacing glew32.dll in the .zip archive with the one I attach here and see if Lucid will load?

And thank you for the patience!


Attached Files:

>glew32.dll (364032 bytes),

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

OK, the problem is with glew32.dll indeed. Maya 2015 comes with version 1.9 of GLEW, but we require 1.10 or later. As long as Maya's copy of GLEW stays in Maya\bin, it gets loaded at Maya start and Lucid is later forced to work with it, which it can't, so it fails to load.

Our MSI installer replaces glew32.dll in Maya\bin with our version, but the ZIP instructions do not mention that. So this is what you need to do, copy our version of glew32.dll over the one in Maya\bin (you can backup the original one if you want, but I don't think it's important, the 1.x versions should be all backward compatible). And I'll have to correct the ZIP installation instructions.

The glew32.dll that I attached in the previous message is version 1.10 which comes with the installer, I thought that version 1.13 that's included in the ZIP might be causing the problems, but it's OK (the fact that the ZIP and the MSI use different GLEW versions is another msitake of mine, though minor). So you can ignore the attached file, just use the one that comes with the ZIP.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev