Script
=====================
工具路径
I:\arcgispro工具箱\自制工具箱.atbx\Script
=====================
参数
布局名称 问题图斑占用永久基本农田叠加分析图
索引图层 问题图斑范围
排除图层 DLTB
输出文件夹 C:\Users\Administrator\Desktop\新建文件夹
输出文件前缀 3
输出格式 JPEG
=====================
消息
开始时间: 2025年11月25日 12:16:43
[2025-11-25 12:16:43] INFO: ================================================================================
[2025-11-25 12:16:43] INFO: 开始处理布局: 问题图斑占用永久基本农田叠加分析图
[2025-11-25 12:16:43] INFO: 索引图层路径: 问题图斑范围
[2025-11-25 12:16:43] INFO: 排除图层: DLTB
[2025-11-25 12:16:43] INFO: 输出文件夹: C:\Users\Administrator\Desktop\新建文件夹
[2025-11-25 12:16:43] INFO: 输出前缀: 3
[2025-11-25 12:16:43] INFO: 输出格式: jpeg
[2025-11-25 12:16:43] INFO: ================================================================================
[2025-11-25 12:16:43] INFO: 项目状态已保存
[2025-11-25 12:16:43] INFO: 检查地图框 '地图框' 中的地图 '地图'
[2025-11-25 12:16:43] INFO: 找到索引图层: 问题图斑范围
[2025-11-25 12:16:43] INFO: 索引图层OID字段: FID
[2025-11-25 12:16:43] INFO: 获取到 138 个索引要素
[2025-11-25 12:16:43] INFO: 总页数: 138
[2025-11-25 12:16:43] INFO: 排除图层: DLTB
[2025-11-25 12:16:43] INFO: 将处理 3 个图层
[2025-11-25 12:16:43] INFO: 保存图层 '陇把镇_原始数据_附房' 的原始查询
[2025-11-25 12:16:43] INFO: 保存图层 '陇把镇_原始数据_庭院' 的原始查询
[2025-11-25 12:16:43] INFO: 保存图层 '问题图斑范围' 的原始查询
[2025-11-25 12:16:43] INFO: 开始处理 138 个页面...
[2025-11-25 12:16:43] INFO: 计算缓冲区距离: 3.00 米
[2025-11-25 12:16:43] INFO:
处理页面 1/138 (OID: 0)
[2025-11-25 12:16:44] ERROR: 处理页面 1 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] INFO:
处理页面 2/138 (OID: 1)
[2025-11-25 12:16:44] ERROR: 处理页面 2 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] INFO:
处理页面 3/138 (OID: 2)
[2025-11-25 12:16:44] ERROR: 处理页面 3 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] INFO:
处理页面 4/138 (OID: 3)
[2025-11-25 12:16:44] ERROR: 处理页面 4 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:44] INFO:
处理页面 5/138 (OID: 4)
[2025-11-25 12:16:45] ERROR: 处理页面 5 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] INFO:
处理页面 6/138 (OID: 5)
[2025-11-25 12:16:45] ERROR: 处理页面 6 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] INFO:
处理页面 7/138 (OID: 6)
[2025-11-25 12:16:45] ERROR: 处理页面 7 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] INFO:
处理页面 8/138 (OID: 7)
[2025-11-25 12:16:45] ERROR: 处理页面 8 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] INFO:
处理页面 9/138 (OID: 8)
[2025-11-25 12:16:45] ERROR: 处理页面 9 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:45] INFO:
处理页面 10/138 (OID: 9)
[2025-11-25 12:16:46] ERROR: 处理页面 10 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] INFO:
处理页面 11/138 (OID: 10)
[2025-11-25 12:16:46] ERROR: 处理页面 11 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] INFO:
处理页面 12/138 (OID: 11)
[2025-11-25 12:16:46] ERROR: 处理页面 12 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] INFO:
处理页面 13/138 (OID: 12)
[2025-11-25 12:16:46] ERROR: 处理页面 13 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] INFO:
处理页面 14/138 (OID: 13)
[2025-11-25 12:16:46] ERROR: 处理页面 14 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:46] INFO:
处理页面 15/138 (OID: 14)
[2025-11-25 12:16:47] ERROR: 处理页面 15 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] INFO:
处理页面 16/138 (OID: 15)
[2025-11-25 12:16:47] ERROR: 处理页面 16 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] INFO:
处理页面 17/138 (OID: 16)
[2025-11-25 12:16:47] ERROR: 处理页面 17 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] INFO:
处理页面 18/138 (OID: 17)
[2025-11-25 12:16:47] ERROR: 处理页面 18 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:47] INFO:
处理页面 19/138 (OID: 18)
[2025-11-25 12:16:48] ERROR: 处理页面 19 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] INFO:
处理页面 20/138 (OID: 19)
[2025-11-25 12:16:48] ERROR: 处理页面 20 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] INFO:
处理页面 21/138 (OID: 20)
[2025-11-25 12:16:48] ERROR: 处理页面 21 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] INFO:
处理页面 22/138 (OID: 21)
[2025-11-25 12:16:48] ERROR: 处理页面 22 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] INFO:
处理页面 23/138 (OID: 22)
[2025-11-25 12:16:48] ERROR: 处理页面 23 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:48] INFO:
处理页面 24/138 (OID: 23)
[2025-11-25 12:16:49] ERROR: 处理页面 24 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] INFO:
处理页面 25/138 (OID: 24)
[2025-11-25 12:16:49] ERROR: 处理页面 25 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] INFO:
处理页面 26/138 (OID: 25)
[2025-11-25 12:16:49] ERROR: 处理页面 26 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] INFO:
处理页面 27/138 (OID: 26)
[2025-11-25 12:16:49] ERROR: 处理页面 27 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] INFO:
处理页面 28/138 (OID: 27)
[2025-11-25 12:16:49] ERROR: 处理页面 28 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:49] INFO:
处理页面 29/138 (OID: 28)
[2025-11-25 12:16:50] ERROR: 处理页面 29 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] INFO:
处理页面 30/138 (OID: 29)
[2025-11-25 12:16:50] ERROR: 处理页面 30 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] INFO:
处理页面 31/138 (OID: 30)
[2025-11-25 12:16:50] ERROR: 处理页面 31 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] INFO:
处理页面 32/138 (OID: 31)
[2025-11-25 12:16:50] ERROR: 处理页面 32 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:50] INFO:
处理页面 33/138 (OID: 32)
[2025-11-25 12:16:51] ERROR: 处理页面 33 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] INFO:
处理页面 34/138 (OID: 33)
[2025-11-25 12:16:51] ERROR: 处理页面 34 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] INFO:
处理页面 35/138 (OID: 34)
[2025-11-25 12:16:51] ERROR: 处理页面 35 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] INFO:
处理页面 36/138 (OID: 35)
[2025-11-25 12:16:51] ERROR: 处理页面 36 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] INFO:
处理页面 37/138 (OID: 36)
[2025-11-25 12:16:51] ERROR: 处理页面 37 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:51] INFO:
处理页面 38/138 (OID: 37)
[2025-11-25 12:16:52] ERROR: 处理页面 38 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] INFO:
处理页面 39/138 (OID: 38)
[2025-11-25 12:16:52] ERROR: 处理页面 39 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] INFO:
处理页面 40/138 (OID: 39)
[2025-11-25 12:16:52] ERROR: 处理页面 40 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] INFO:
处理页面 41/138 (OID: 40)
[2025-11-25 12:16:52] ERROR: 处理页面 41 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:52] INFO:
处理页面 42/138 (OID: 41)
[2025-11-25 12:16:53] ERROR: 处理页面 42 时出错: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:53] ERROR: Traceback (most recent call last):
File "I:\arcgispro工具箱\自制工具箱.atbx\Script.tool\tool.script.execute.py", line 260, in main
AttributeError: module 'arcpy' has no attribute 'RefreshActiveView'
[2025-11-25 12:16:53] INFO:
处理页面 43/138 (OID: 42)
[2025-11-25 12:16:53] ERROR: 创建空间查询失败: <geoprocessing describe geometry object object at 0x00000218D199D740>
[2025-11-25 12:16:53] WARNING: 无法创建空间查询,跳过页面
[2025-11-25 12:16:53] INFO:
处理页面 44/138 (OID: 43)
[2025-11-25 12:16:53] INFO:
恢复图层原始状态...
[2025-11-25 12:16:53] INFO: 恢复图层 '陇把镇_原始数据_附房' 的原始查询
[2025-11-25 12:16:53] INFO: 恢复图层 '陇把镇_原始数据_庭院' 的原始查询
[2025-11-25 12:16:53] INFO: 恢复图层 '问题图斑范围' 的原始查询
[2025-11-25 12:16:53] INFO: 恢复原始地图范围
已取消函数
已取消脚本 Script...
执行(Script)失败。
运行 失败,结束时间: 2025年11月25日 12:16:53 (历时: 10.28 秒)
考虑出图完成后延迟5秒左右等地图系列刷新
最新发布