Runscript Error - line 312???

Discussion created by mbly29 on Apr 30, 2012
Latest reply on May 2, 2012 by mbly29
Anyone know why I get this error in my traceback: The first and last errors - I cannot find any documentation on.

Any ideas would be greatly appreciated. This is a very simple script to rename a batch of raster files.

Traceback (most recent call last):
  File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 312, in RunScript
    exec codeObject in __main__.__dict__
  File "G:\Documentation\Python_Scripts\batchCopyRaster_COL.py", line 32, in <module>
  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\management.py", line 6835, in CopyRaster
    raise e
ExecuteError: Failed to execute. Parameters are not valid.