Once again: my troubles with python...

have you seen my yafray bottle?
well, I’ve been working on it with blender 2.28 and yablex228…
2 days ago something misteriously went wrong… I started up my Mac and opened again the file…
It gave me a sript error on the following line

http://www.jester71.com/error.jpg

nothing happened before… I can’t see why this happened…
help please…

What’s the error message in the console?

Martin

no console… I run the application straight from OSX…
if I run blender from terminal it immediately (on start) give me this error

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
‘import site’ failed; use -v for traceback

and it doesn’t read the .B.blend file…

It looks like you have multiple problems here:

<prefix> is the directory path where blender is installed on your machine.

On my machine I have <prefix> set to /usr/local/blender230/
which is the root install path for blender on my machine

<exec-prefix>

The executable prefix is the path to the blender executable.

In my case I have the ‘blender’ binary executable in

/usr/local/blender230/bin/

and that is what I have <exec-prefix> set to.

$PYTHONPATH is an environment variable

on OS X you need to open a command line and set this or edit your
shell resource file. Here is a link that should help you with that:

http://www.informit.com/isapi/product_id~{73676503-9D68-4791-A8CA-0DAAFDEECD8D}/element_id~{FC8207D6-DCEA-4FD8-B12D-9437CF5C74DB}/st~{FC01C6FA-A166-40A9-BEFF-FA0234A128E9}/content/articlex.asp