AnsweredAssumed Answered

Invalid floating point operation. arcpy (ArcSDE only)

Question asked by MarcNAV on Feb 26, 2015
Latest reply on Mar 15, 2015 by Dan_Patterson

I always get this Error when i do simple raster calculations with arcpy. i use PyScripter 2.7.5 and ArcGIS 10.2.1 :

 

Invalid floating point operation

Exception class: EInvalidOp

Exception message: Invalid floating point operation.

Exception address: 00007FF93BB646BE

------------------------------------------------------------------------------

PyScripter version : 2.5.3.0 x64

Python DLL : python27.dll

Python Engine : peInternal

 

I think its an ArcSDE only memory/cache problem. I tried things like arcpy.ClearWorkspaceCache_management() but it didnt help.

Any suggestions?

 

Thx

 

My Program:

 

#simple raster calculation of a list of rasters

 

 

outRas = Int(Raster('test1') + Raster('test2'))

outRas.save(destination + '/' + 'test3')

Outcomes