I can't run yafaray render


i have installed blender 2.49b, python 2.6.2 and yafaray 0.1.1 every thing went cool but when i press Yafaray Export in blender render menu it tells me “python script error:check console”

in the console :

File "<string>", line 1, in <module>
File"C:\Program Files\Blender Foundation\Blender\.Blender\scripts\yafaray_ui.py", line 60, in <module>
Print "Loading DLL: " + dllPath + dll + '.dll'
LookupError: unknown encoding: cp720

Does anyone know what the problem is ??
is the problem in the yafaray python script or something ?

ty alot

I just had the same problem. I ended up uninstalling Blender and Yafaray then reinstalling and all was fine. It may be worth saving your .B.blend file if you have any customised settings you want to keep. Hope that helps.

Ha,Every time a new version of Blender comes out,and I install it,I spend the next 2 hours trying to get the thing to work,and at the end,I’m not shure why does it work now,and what was I doing for 2 hours:cool:
Try this http://www.yafaray.org/documentation/install

Actually this seems to be a python bug.
Your Windows machine uses the cp720 codepage for the DOS console (cp720 is a OEM Arabic codepage).

Python standard library obviously does not have an encoding map for this. But you could try this patch: http://blog.oneortheother.info/tip/pyth … -encoding/

But I have to say that I have no idea if this patch corresponds to your python version.
Maybe you should google for it a bit more?

oh thanks alot IkariShinji it’s now working perfect

thanks for all of you
thought i’ll never be able to use yafaray :smiley: