Python error when trying to import DXF

Hi,

When I choose “File/Import/Autodesk DXF (.dxf)”, I get the following error message in the console :

Traceback (most recent call last):
File “<string>”, line 1, in ?
File “/home/joao/blender-2.48a-linux-glibc236-py24-i386/.blender/scripts/import_dxf.py”, line 4400
finally:
^
SyntaxError: invalid syntax

I’m no Python expert, I have no idea what’s wrong with this Python script. Has anyone seen this before ? how can I fix it ?

I have Blender 2.48a for Linux x86-32 (the Python 2.4 binary, since my machine has Python 2.4.2) on a Fedora Core 5.

Thanks,
Joao

hi Joao, look at the post #291and following:
http://blenderartists.org/forum/showthread.php?t=84319&page=15

DXF-Importer: updated version v1.12 - 2008.11.16:
removed try_finally: should work now also for blender compiled with older versions of python: 2.3 or 2.4