Hi,
I've a python Script that create an XY Event, save it to FC and create a list using arcpy.da.TableToNumPyArray.
On TableToNumPyArray arcmap crashes also with "run as administrator" and on python window
Same script, dveloped on my laptop with 10.8.1 run without problems!
Same error not using Background geoprocessing.
Anyone has any suggestion to try?
Thanks in advance.
Damiano
.
Solved! Go to Solution.
It's very strange because the table contained only 10 records for test.
I completely eliminated the command arcpy.da.TableToNumPyArray with a loop on single record of a table.
Now it runs without problem.
I'm surprised, because I still can't explain the problem. Maybe a 10.7.1 bug?
Thanks.
Did you try
input = (fullpath to fcEvent)
arcpy.da.TableToNumPyArray (input, "FREQUENZE") # drop the other parameters
Hi Dan,
thank for your interesting.
I've tried your suggestion: but with no good results...
Other ideas?
Thanks
New try in cmd "As Administrator"...
An other note: user running script is in Administrator group...
OK, maybe I must change strategy...
on Python3.7 there's a "memory error".
I must change code to use a slower search cursor....
sounds like you ran out of memory, you will have to split your tasks into smaller bits or subdivide the data for processing
It's very strange because the table contained only 10 records for test.
I completely eliminated the command arcpy.da.TableToNumPyArray with a loop on single record of a table.
Now it runs without problem.
I'm surprised, because I still can't explain the problem. Maybe a 10.7.1 bug?
Thanks.