Simple InsertCursor crash

Discussion created by deleted-user-VeZur_n9o0OZ on Jun 3, 2011
Latest reply on Jun 4, 2011 by deleted-user-VeZur_n9o0OZ
First time pythoner...

I'm trying to create a new empty row (from csv file) and insert in a featureclass in a file gdb.

When i do the following I crash ArcMap 10:

>>> cursor = arcpy.InsertCursor("test")
>>> row = cursor.newRow
>>> cursor.insertRow(row)

test is a point featureclass with no records.

I want to set the field values of my rows from the csv file but my 'row' object only has im_class, im_func and im_self properties. How do i set my field values and insert my row without crashing arcmap