`LSOpenURLsWithRole() failed with error -1712 for the file ` when I attempt `open .`
That error means an Apple Event timed out.

error -1712 errAETimeout: the AppleEvent timed out 


You can either open Activity Monitor and look to see if you notice an Application or process that states Not responding or hit option command esc then force quit any non-responding application.

It's possible the application or process was already open and by using open . it tried to launch it for whatever reason. Often it's an Automator or AppleScript that is waiting for user interaction and "times out" waiting.