000049: Failed to build attribute table

18 views
Skip to first unread message

tanvir ahamed

unread,
Aug 18, 2025, 7:52:43 AMAug 18
to ArcSWAT
Dear Arc-SWAT community,

I am getting the following error while creating HRUs in the Arc-SWAT model. All of my raster files are in TIFF format, are single band, and are unsigned integer (8-bit). I am getting this error over and over again. Currently I am using Arc-GIS Pro 3.2.0 with arc-SWAT 3.0. Please let me know if anyone has an idea how to fix this issue.



'ERROR: Error: Traceback (most recent call last): File "C:\Users\ahame\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{c0ba4fb8-0911-4188-9dc2-b57230e6b969}\runBuildRasterAttributes.py", line 7, in <module> arcpy.BuildRasterAttributeTable_management(in_file, overwrite) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 19563, in BuildRasterAttributeTable raise e File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 19560, in BuildRasterAttributeTable retval = convertArcObjectToPythonObject(gp.BuildRasterAttributeTable_management(*gp_fixargs((in_raster, overwrite, convert_colormap), True))) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 520, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: ERROR 000049: Failed to build attribute table Failed to execute (BuildRasterAttributeTable).'  


Thank you

Tanvir
Reply all
Reply to author
Forward
0 new messages