POST
|
I am encountering the same problem in ArcGIS 10 on Windows XP. If I double-click on a tool in ArcToolbox, I get the error message: "Navigation to the webpage was cancelled." Two pdf files automatically open (MdDlgHelp.pdf, MdDlgContent.pdf), the first of which contains the help information for the tool. When I close them, I am prompted to "save changes." I just installed Service Pack 3 and it has not resolved the issue. I do not encounter this problem on my other workstation, which is running ArcGIS 10 SP2 on Vista. Thanks, Sarah
... View more
10-26-2011
02:08 PM
|
0
|
0
|
143
|
POST
|
Yes, running it as a stand-alone script (from PythonWin or IDLE) works fine with the standard syntax for setting a workspace. I encounter the error only when running the script from the Python window or as a script tool in ArcToolbox.
... View more
10-12-2011
02:15 PM
|
0
|
0
|
1197
|
POST
|
Apologies for that first mistake; it was a typo. The data does exist within the workspace path specified. When running the script from the Python window, I am able to confirm that the workspace path is set correctly and that the feature class exists, but when I reach the first analysis that calls for the data (in this case, a buffer analysis), I stlll get the error message stating that the data does not exist. The alternate syntax you suggested (specifically, converting the workspace path to a string) does work, but I am still confused about why the syntax given by ESRI does not work in some cases. Is there some way that my environment settings are being overridden, even during the execution of a script?
... View more
10-12-2011
01:19 PM
|
0
|
0
|
1197
|
POST
|
Hello, I am encountering errors with setting a workspace file path in some installations of ArcGIS 10. When I run the code in a Python editor, it runs fine. When I run the code in the Python window or as a script tool, it fails on 2 out of 4 machines I have tested, resulting in the error message 00732: the dataset doesn't exist or is not supported. Here is the relevant section of code: # Import system modules import sys, os, string, arcpy # Define workspace arcpy.env.workspace = "c:/WorkSpace/Exercise3" # Set overwrite option arcpy.env.overwriteOutput - True # Define the input datasets cities = "Larimer_Cities.shp" county = "Larimer_County.shp" ... The script fails when it calls for the first input dataset, which it does not find. I have tried various ways of representing the workspace filepath (/, \\, r"..), and the only successful workaround I have found is to specify the full filepath for all input and output datasets. Since this only happens on some of the ArcGIS installations I have tested, it leads me to believe that somehow the environment setting for workspace is being overridden. Any ideas? Thanks, Sarah
... View more
10-12-2011
08:51 AM
|
0
|
5
|
3559
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|