error in Ter2Blendv4.blend script

Hello

I am trying Ter2Blendv4.blend using Blender2.3a and Python2.3

When I start the script I get the following error message in the MSDOS window

Using a clean Global Dictionary.
D:\PYTHON23\lib\os.py:282: Warning: ‘yield’ will become a reserved keyword in t
e future
Traceback (most recent call last):
File “Terrain”, line 142, in ?
File “D:\PYTHON23\lib\os.py”, line 282
yield top, dirs, nondirs
^
SyntaxError: invalid syntax

Any idea how I can solve this?

Thanks in advance

Josu

What version of Python do you have installed? 2.2.3, or 2.3.2?

I am using Python 2.3 (#46, Jul 29 2003, 18:54:32) and Blender 2.31a on Windows 98

you should use python 2.2.3 with blender 2.31a

Thanks I’ll try this nigth 2.2.3.

By the way, I can not connect to www.pyhthon.org today

Thanks

Josu

Sorry www.python.org

I have installed python 2.2.3 tonigth and the script runs without any problems in Blender 2.31a :smiley:

Thanks for the support

josu

Hey great! Sorry for the incompleteness of my response,… I guess I should have left an indication as to which version of Python is the correct one,…was not thinking clearly. :expressionless: Anyway, glad it is working for you. :slight_smile:

The only thing is that this would then make a lot of other scripts that require python 2.3 not work then.

btw I have pyton 2.2 and 2.3 and 2.1 on my machine. Along with blender 2.25,2.31.2.32 and 2.23. I know blender is all volunter/spare time project. But I am getting really testy when I have to have 4 versions of blender and three version of python to assure that the things I want to do can be done.