Ticket #132 (closed Defect: fixed)

Opened 6 years ago

Last modified 5 years ago

The same messages from the ArcGIS geoprocessor are reported multiple times on ArcGIS 9.2

Reported by: jjr8 Owned by: jjr8
Priority: Medium Milestone: 0.4
Component: Core - ArcGIS Interop Version: 0.3
Keywords: Cc:

Description

In the attached tool_output.txt file, the same messages from the ProjectRaster tool appear four times: lines 270-273, 276-279, 282-285, and 290-293. The first time is expected and occurs after ProjectRaster is invoked. But the second, third and fourth times are not expected, and occur after gp.exists, gp.describe, and gp.exists are invoked, respectively.

This problem occurred on a machine with ArcGIS 9.2 and Python 2.4. I could not repro it on an ArcGIS 9.1 / Python 2.5 machine or an ArcGIS 9.2 / Python 2.5 machine. I suspect, therefore, that it has something to do with the arcgisscripting Python module specifically, which is only used in the ArcGIS 9.2 / Python 2.4 configuration. I will try to repro it on my ArcGIS 9.2 / Python 2.4 machine.

Attachments

tool_output.txt Download (27.4 KB) - added by jjr8 6 years ago.

Change History

Changed 6 years ago by jjr8

Changed 6 years ago by jjr8

  • status changed from new to assigned

Changed 5 years ago by jjr8

  • summary changed from The same messages from the ArcGIS geoprocessor are reported multiple times to The same messages from the ArcGIS geoprocessor are reported multiple times on ArcGIS 9.2

Changed 5 years ago by jjr8

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

This is indeed a problem that only affects ArcGIS 9.2 when the geoprocessor is created through arcgisscripting.create(). I put in a workaround that prevents duplicate log messages from being reported in this configuration. The fix appears in [145] which will be released as part of MGET 0.4.

Note: See TracTickets for help on using tickets.