Python error when trying to import DXF


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/”, line 4400
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.


hi Joao, look at the post #291and following:

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