Error using Filter - return lambda *args: val(*gp_fixargs(args))

Discussion created by vanjay011379 on Jul 13, 2011

I am receiving the following error my Python code.  I am using ArcGIS 10.0  and using the Filter function in my Python code. 

The code block invoking this error is  as follows

filterResult = Filter(rasterInputPath)

Does anyone know what is causing the following error?

  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\",
line 4722, in Filter
  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\", line
47, in swapper
    result = wrapper(*args, **kwargs)
  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\",
line 4717, in wrapper
  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\_bas", line 474, in <lambda>
    return lambda *args: val(*gp_fixargs(args))
ExecuteError: ERROR 999999: Error executing function.
Failed to execute (Filter).

Strangely, the filter sometimes works and sometimes doesn't.  It seems to fail after I try to Krig data and the the message "Unable to estimate semivariogram" occurs.