Ticket #297 (closed Defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Create Fishnet for Points fails with System Error (0): Unexpected Error.

Reported by: bbest Owned by: jjr8
Priority: Medium Milestone: 0.7
Component: Tools - Spatial Analysis Version:
Keywords: Cc:

Description

Executing (Create Fishnet for Points): ArcGISFishnetsCreateFishnetForPoints D:\lab3\lab3.mdb\occurrences D:\lab3\lab3.mdb\cells 1 1 # taxon_key # # "Lower Left" # # # # # # Continents # # CellID CellCol CellRow CellArea # 0 0 0 cellid 1000000 count # # # # # D:\lab3\lab3.mdb\occurrences
Start Time: Thu Oct 23 02:55:44 2008
Running script ArcGISFishnetsCreateFishnetForPoints...
Reading the input points and calculating fishnet parameters.
Query complete: 0:00:04 elapsed, 1000 rows retrieved, 0:00:00.004422 per row.
Calculated Y coordinate of the fishnet corner: 35
Calculated X coordinate of the fishnet corner: -75
Calculated number of fishnet rows: 2
Calculated number of fishnet columns: 4
Creating the template fishnet.
Intersecting the points with the template fishnet.
Enumerating the unique combinations of categorical field values for the points that intersected the template fishnet.
Creating a fishnet for each of the 43 unique combinations of categorical point field values.
Progress report: 0:01:02 elapsed, 15 fishnets created, 0:00:04.192280 per fishnet, 28 remaining, estimated completion time: 2:59:29 AM.
All fishnets created. 0:02:42 elapsed, 43 fishnets created, 0:00:03.786348 per fishnet.
Intersecting the input points with the fishnet cells and writing the cell IDs to the cellid field of the points.
Summarizing points in each fishnet cell.
System Error (0): Unexpected Error.
Failed to execute (Statistics).
ArcGISError: An ArcGIS geoprocessing function failed. This usually results from a problem with your inputs. Please check them and try again. Also review any preceding error messages and the detailed error information that appears at the end of this message. If you suspect the failure is due to a programming mistake in this tool or ArcGIS, please contact the author of this tool for assistance. Detailed error information: ArcGIS Geoprocessor object 0x01313850: Invocation of Statistics_analysis(*args=(u'TempLayer29F121B3', u'C:\\Temp\\GeoEcoTemp_bbest\\tmpbob73r\\Fishnet.mdb\\Statistics', u'Shape SUM', u'cellid')) raised COM Error 0x80004005: "Unspecified error".
Error in script ArcGISFishnetsCreateFishnetForPoints.
Error in executing: cmd.exe /C C:\Python24\Lib\SITE-P~1\GeoEco\ARCGIS~1\Scripts\ARCGIS~3.PY  "D:\lab3\lab3.mdb\occurrences" "D:\lab3\lab3.mdb\cells" "1" "1" "#" "taxon_key" "#" "#" "Lower Left" "#" "#" "#" "#" "#" "#" "Continents" "#" "#" "CellID" "CellCol" "CellRow" "CellArea" "#" "0" "0" "0" "cellid" "1000000" "count" "#" "#" "#" "#" "#" "D:\lab3\lab3.mdb\occurrences"

Failed to execute (Create Fishnet for Points).
End Time: Thu Oct 23 02:59:53 2008 (Elapsed Time: 4 minutes 9 seconds)

Change History

Changed 5 years ago by jjr8

  • priority changed from Low to Medium
  • status changed from new to assigned
  • summary changed from Problem with Create Fishnet for Points to Create Fishnet for Points fails with System Error (0): Unexpected Error.
  • milestone set to 0.7

Ben, if you can reproduce this with verbose logging enabled or give me the D:\lab3\lab3.mdb\occurrences table so I can reproduce it, I would really appreciate it. That would help me get to the bottom of it quickly.

My guess is that it is a bug in the tool. It appears to be calling Statistics_Analysis and requesting the SUM of the Shape field:

Statistics_analysis(*args=(u'TempLayer29F121B3', u'C:\\Temp\\GeoEcoTemp_bbest\\tmpbob73r\\Fishnet.mdb\\Statistics', u'Shape SUM', u'cellid')) 

Looking at the parameters you passed:

Executing (Create Fishnet for Points): ArcGISFishnetsCreateFishnetForPoints D:\lab3\lab3.mdb\occurrences D:\lab3\lab3.mdb\cells 1 1 # taxon_key # # "Lower Left" # # # # # # Continents # # CellID CellCol CellRow CellArea # 0 0 0 cellid 1000000 count # # # # # D:\lab3\lab3.mdb\occurrences

It does not appear that you requested that this be done. This suggests a bug.

I will look at this problem for MGET 0.7.

Changed 5 years ago by jjr8

  • type changed from Task to Defect

Changed 4 years ago by jjr8

  • status changed from assigned to closed
  • resolution set to fixed

This was a bug. Fixed in [356], released in MGET 0.7a10.

Note: See TracTickets for help on using tickets.