Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Make XY Event Layer in Python Crashes But Not in Model Builder

$
0
0
Hi,

I am trying to automate a table (in geodatabase) with lat longs and convert it into a feature class. I first created the steps in model builder where it works fine. But when I export out into Python script and run it without any modifications to the script, it would fail and give me the error below.

ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: XY Table: Dataset C:\Spatial.mdb\WELLS does not exist or is not supported
Failed to execute (MakeXYEventLayer)

Any ideas?

Thank you!

I am running Win 7 64 bit 10.1 SP1 with Geoprocessing for SP1 updated as well.

Attachment 20937
Attached Thumbnails
Click image for larger version

Name:	Export Graphic.jpg‎
Views:	N/A
Size:	86.7 KB
ID:	20937  

Viewing all articles
Browse latest Browse all 2485

Trending Articles