ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000728: Field Centralité__point___ATTACH.SEQ does not exist within table
Failed to execute (CalculateField).
Failed to execute (ExtractionPJ).
Failed at Wed Jul 6 13:42:20 2022 (Elapsed Time: 20,79 seconds)
But it's work if i use manually the calculate tool with the same name : "Centralité__point___ATTACH"
Try using a raw string:
arcpy.CalculateField_management("inTable_view", r"Centralité__point___ATTACH"+".SEQ", calcExp, "VB")
Thank you Johannes but it's the same error.
# -*- coding: utf-8 -*-
is that line in your script? Although it shouldn't matter
Yes Dan, it's in the script.
strange. Is it a joined field? You said it works in the calculatefield tool interface, but you would have to show more of the script in case the paths to the workspace aren't being read properly (or something else)