YAFaRay OS X crashing when script started

Hey

anybody has an idea what could be the problem?
10/15/08 5:33:04 PM [0x0-0x70070].org.blenderfoundation.blender[1509] Fatal Python error: Interpreter not initialized (version mismatch?)
10/15/08 5:33:04 PM [0x0-0x70070].org.blenderfoundation.blender[1509] Compiled with Python version 2.5.1.
10/15/08 5:33:04 PM [0x0-0x70070].org.blenderfoundation.blender[1509] Checking for installed Python… got it!

I have yafaray 0.1.0
OS X 10.5.5
Python 2.5.1
Blender 2.48

Claas

Same for me, with the same configuration.

Looks like Blender was compiled with a different python than yafray. Make sure they are the same.

I have the same issue, so will keep an eye on this thread to see if a fix comes through.

Hi
Sure you have Blender compiled with Python 2.5.1 ?
I just loaded the release from blender.org and it worked out of the box.

Jens

Fixed. I uninstalled everything related to python according to this instruction:

http://homepages.cwi.nl/~jack/macpython/uninstall.html

In my case, I had three versions operating in there.

Then I reinstalled using the OS X 10.5 pre-compiled Python 2.6 installer from python.org.

Possibly unnecessary, I also restarted.

Now, everything works!

I have to try this out

maybe the Python installations are my issue here.

Jens said it works well for him so there must be something
I do wrong here on my side.

Dex

that did it!

“10/15/08 5:33:04 PM [0x0-0x70070].org.blenderfoundation.blender[1509] Fatal Python error: Interpreter not initialized (version mismatch?)”

When I deleted MacPython 2.5.1 everything started to work and Blender stopped crashing …

I’ve uninstalled the previous Python (2.5), downloaded Python 2.6 and tried to install it, but at the end, it failed. There’s a message: run postflight script for Fix system Python. I’ve search what that mean with no success, and now Blender doesn’t start anymore.
Anyone knows how to deal with it?

Hi folks
How often shall i repeat the instructions ? Hmm ?

Yaf(a)ray 0.1.0 is compiled with python 2.5.1 so it needs Python
2.5.1 and a Blender compiled with Python 2.5.1.

Python 2.5.1 is already on OSX 10.5 as default, no additional install
necessary !!! ( Framework is in system/library/frameworks )

All other confi´s are untested

Jens

Thanks for your help jensverwiebe, and sorry.
I’ve tried to download and install Python 2.5.1 (because I’ve follow the instructions on http://homepages.cwi.nl/~jack/macpython/uninstall.html and erase it), but I’ve got the same error, and installation failed.
I’ll try with the installation DVD of 10.5, I may be luckier.

@ bupla + all

You can always open terminal and type: “python” to check what you have as active version.
This should look like this:

Jens-MacPro:~ jensverwiebe$ python
Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.

Be aware that all adiitional installs from python.org may disturb you installation, especially
higher versions. This was always true for Blender itself too. Python and Blenderversion must match (+ external scripts and in this case yafaray too ).

If you want use other Python, all components must be compiled using the specified version.
I will only provide the standard-python-install for compatibility.

We need reports to asure the quality of yafaray, so please send reports and testrenders.
Always include OS and yafaray-version in your report, like

OSX 10.5.5
YafaRay 0.1.0 - r 286
Blender 2.4.8
etc.
Problem: yadda yadda…

This way, all people will have fun from using this great renderer and benefit from progress.

P.S.: OSX version r286 in on the way- after getting reviewed internally, it will be published on yafray.org.

changes since rev. 282:

  • fix dispersion with photons
  • fix bug in buildtools with disabled libs
  • yet another intermediate irradiance cache commit
  • Animation rendering using the GUI, stop the rendering with ESC
  • GUI-Shortcuts for Save, Quit, Zoom In, Zoom Out
  • Qt-GUI zoomable after render is finished
  • Border rendering corrected

stay tuned…
EDIT: It´s up !!! http://www.yafray.org/downloads/Yaf(a)Ray-0.1.0-r286-OSXintel-10-5.zip

Jens

OSX 10.5.5
MacIntel Core2Duo (iMac’24 Al)
YafaRay 0.1.0 - r 286

Blender 2.47 with YaR r286 works fine
but with new blender 2.48a I can`t start YaR script

Any ideas?

…and how to save rendered picture? Where is some “Save” button?

Any ideas?

Yes, of course - start to read the yafaray-documentation

Jens

Jens.
I was read “yafaray book 3.pdf” but I found only Windows installation instruction:
“…It is necessary to have Python 2.5 installed to run
Yaf(a)Ray scripts” - no information for Linux or MacOS and no information about 2.5.1 or 2.5.2 python version - just 2.5.

As U recomend I was install 2.5.1 python.
Blender 2.47 with YaR r286 works fine
but with new blender 2.48a I can`t start YaR script

Yaroslav
Even thouhg i always use my own builds, just downloaded Blender 2.4.8a/Py2.5 (custom)
from blender.org and it works out of the box.

http://video.blendertestbuilds.de/download.blender.org/release/Blender2.48a/blender-2.48a-OSX-10.4-py2.5-intel.zip

And saving finished renders is still in the file-menue of render-gui, where it always has been.

Jens

Jens
Im not first year with computers, Blender and yafray / YaR! With ubuntu x64 i haven't any problems - any! I have only problems with MacOS Im using only builds from oficial blender/YaR download sections

2.48 - not working for me!!!

BUT!

I`ll try this build:

And… Hujjaahhhh!!!

Worked! So what the shirt?!!!

jensverwiebe - as U can see at the blender download section - there are ONLY OSX 10.4 builds - not 10.5.
May be this is the problem?
I want to sorry for my behaviour, but U must understand me - I`m using blender and YaR for commercial purposes and quality of renders are wery important to me.
Peace! Beer! Ganja!

Yaroslav

I still don´t understand your trouble.

As i said the Blender 2.4.8a/Py2.5 “custom” from blender.org works for me too.

The difference in the OSXintel-version is the used Python for compiling not
the major system-version ( runs on 10.3/10.4/10.5 afaik )

I never told someone to install Python 2.5 on OSX 10.5. Why should i ? It is included
in the system from day 1. ( + a 3.5 runtime-version for backwardscompatibility )

So again: Don´t install Python 2.5 on Leopard, it is already there.

Remaining issues may come from a muddled instalation.

Jens

I very-VERY want to solve my problem, so jens please, read this all, and may-be (I hope) U can help me.

I totally remove from my iMac’24 all Pythons and components I found in Applications, Library and other folders.
Then, I download Python 2.5.1 from python web page:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg

So, now my configuretion is:
Leo 10.5.5
Python 2.5.1
Blender 2.48a from blender download page (blender-2.48a-OSX-10.4-py2.5-intel)
Yaf(a)Ray0.1.0(r286).pkg

So I start blender, set path to pythonscripts, press Ctrl+u - save user defaults and start blender ones more. In render menu I found YafRay Export 003 - perss it, but blender crash!
In console:

Last login: Fri Oct 31 14:31:20 on ttys000
iMac-24:~ Yaroslav_L$ /Users/Yaroslav_L/Documents/unarchived/blender-2.48a-OSX-10.4-py2.5-intel/blender\ 2.48a/blender.app/Contents/MacOS/blender ; exit;
Compiled with Python version 2.5.1.
Checking for installed Python… got it!
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap
logout

When I do it with “special” 2.48 blender build I was download from GraphicAll.org I can start script and render pictures, but curves (extruded curves) are not rendered!
And I don`t know - this is the problem of “special” 2.48 blender build I was download from GraphicAll.org or original 2.48a has the same problem.

http://img137.imageshack.us/img137/988/screen04it7.jpg