So I think I have everything set up properly. I downloaded and configured:
KrakatoaSR_1_9_90_45809_windows.zip
Maya2KrakatoaSR_MEL_20111121.zip
Have a bat file set up to test the sample_scene.py file. It looks like this:
set PYTHONPATH=Q:\Tools\Krakatoa\bin\KrakatoaSR_1_9_90_45809_windows
cd Q:\Tools\Krakatoa\bin\KrakatoaSR_1_9_90_45809_windows
C:\Python26\python.exe Q:\Tools\Krakatoa\bin\KrakatoaSR_1_9_90_45809_windows\sample_scene.py
I am working with Maya 2012 on Windows 7 64bit with Python 2.6.2 win32. I get the following error when I try to run the bat file:
C:\Users\m>C:\Python26\python.exe Q:\Tools\Krakatoa\bin\KrakatoaSR_1_9_90_45809_windows\sample_scene.py
Traceback (most recent call last):
File “Q:\Tools\Krakatoa\bin\KrakatoaSR_1_9_90_45809_windows\sample_scene.py”, line 5, in
import KrakatoaSR
ImportError: DLL load failed: %1 is not a valid Win32 application.
It looks like the DLL is mismatched to my python. Should I be using a different build? What have I done wrong?
Guessing you want me to install python 2.6 64bit. Hum, have some dependencies in our pipeline that could make this difficult.
Romey
We aren’t planning on providing 32 bit versions of the Krakatoa SR builds. However, I believe it should be possible to install python 2.6 64 bit to an alternate directory (such as c:\python26_64) without causing any trouble to your existing pipeline.
Going to do that. Going to put a copy of python on our application server near our Krakatoa distribution.
Romey
I am getting a similiar error:
C:\pathto\krakatoasr>python sample_scene.py
Traceback (most recent call last):
File "sample_scene.py", line 11, in <module>
import KrakatoaSR
ImportError: DLL load failed
installed python 2.6 64 amd msi, set all ENV vars accordingly etc…
cheers
tyler
I will need a little more information in order to narrow down what the problem might be. Can you try the following, and see if you get the same results as me:
the directory contents of C:\pathto\krakatoasr should be:
boost_python-2_6-vc90-mt-1_46_1.dll
KrakatoaSR.pyd
sample_scene.py
tbb.dll
tbbmalloc.dll
Try launching python from the command line, and confirm the version that is being run. What is the version number when you do python -V (capital V):
C:\pathto\krakatoasr>python -V
Python 2.6.5
Try checking the PYTHONPATH environment variable and confirm that it is set to your Krakatoa directory:
C:\pathto\krakatoasr>echo %PYTHONPATH%
c:\pathto\krakatoasr
If all of these things check out, we’ll have to dig a little deeper.
checked everything,
all files in the according directory
version is 2.6
Pythonpath is set
“DLL Load Failed” errors are usually caused by missing DLL dependencies. Since you have all the DLLs in the correct folder, I can only think of one other thing that it might be. It could be that you have an out of date, or missing MSVCR (Microsoft Visual C++ 2008 Redistributable Package).
This isn’t normally an issue, especially if Windows updates are enabled. But you can try installing the latest MSVCR to see if it fixes the problem. It can be downloaded here (get the “vcredist_x64.exe”):
microsoft.com/download/en/de … x?id=26368
If the above doesn’t still does not fix it. Please follow these steps to help me shed some light on the problem:
- Download and run “Dependance Walker”. It can be downloaded here: dependencywalker.com/depends22_x86.zip
- In “Dependency Walker”, select File / Open, then select the “KrakatoaSR.pyd” file that is located at c:\pathto\krakatoa\KrakatoaSR.pyd
- In “Dependency Walker”, select File / SaveAs. This will save a “.dwi” file.
- Send me that .dwi file (you can attach it to this forum thread, or email me at conradwiebe@thinkboxsoftware.com)
That .dwi file should allow me to look at why Krakatoa is failing to load.
Installed the latest vcredist
DWi file is attached,
thanks for looking into this
KrakatoaSR.zip (887 KB)
Ah, so it does appear to be an issue with the MSVC redistributables. I haven’t seen this error before, so I’ll attempt at doing a fresh install of Windows and try running Krakatoa to see exactly what packages are required.
So I installed a clean copy of Windows XP, and found the exact MSVCR package that is required by Krakatoa.
Installing this should satisfy all the requirements:
microsoft.com/download/en/de … x?id=26347 (vcredist_x64.EXE)
Forget about that last MSVCR download I posted, it was not the correct one Let me know if installing the above fixes the issue.
nice, this one is working, so I don’t have to make clean install, thanks
although my license doesn’t seem to be recoginzed properly as I am getting watermarks.
cheers
Tyler
what is the flexlm output message that appears when trying to obtain a license for rendering?
FLEXnet Licensing error:-5,357
That error message translates to “No such feature exists.” Check your private message, I shall confirm your license details and make sure we have the correct license for you.