What I’m trying to do:
Get the current user using anvil.users.get_user()
. This generally works, but tonight logs showed an odd error. It might be connection related, but I figured I’d drop the log here in case it’s something the Anvil staff needs to look at.
: TypeError: Right-hand side of 'instanceof' is not an object
AppOfflineError: Connection to server failed (1006)
at anvil-services/anvil/users/__init__.py, line 83
called from anvil-services/anvil/users/__init__.py, line 83
called from MainForm, line 101
That line 101 is the call to get the current user.