This script works fine in SD6, but fails in SD7 Beta:
-- Script Debugger 7 7.0 (7A25) on macOS 10.12.6
-- Script Debugger 6.0.7 (6A217) on macOS 10.12.6
tell application "Contacts"
set theEmails to (every email whose value contains "gmail") of every person
-->SD7: Contacts got an error: An error of type -1743 has occurred.
-->SD6: Works fine
end tell
(Discourse Forum Issue: this is forcing me to add a min of 20 chars. Can you please make it less? Sometimes only a “yes” or “no” following a quote is all that is needed in a reply.)