It looks like Lattice2 uses something quite similar to the core Attachment editor. The appearance is equal, but it is not the same thing.
The error mentions this file:
FreeCAD_weekly_2025.10.01/squashfs-root/usr/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py
Perhaps Lattice2 is using an outdated piece of software written in Python.
When editing the attachment of a sketch, everything looks good.
The error happens when editing a Lattice2 Attachment.
Here is the sample file attachement_angle.FCStd.zip
To reproduce this issue, launch the attachment editor on this object Lattice2_Placment.
Then play with the angles of the attachment.
Put values without the symbol.
FC complains in the report view.
Then hit tab, the value gets updated with the symbol, but the object (arrow) doesn't update the position due to the error.