edit - edited title & post for brevity.
It started with this error in the IDE :
anvil.server.SessionExpiredError: Session expired
<running on the server>
called from CUSTOM.ChooseClient, line 17
called from CUSTOM.ChooseClient, line 26
Didn’t happen a few day ago as far as I can tell, so it’s new, at least to me. Line 17 is this :
ret = anvil.server.call('fetch_clients')
Page was showing this in the editor :
it very briefly shows the form correctly (less than a second) when I do a ctl-F5 to refresh, but then swaps to the one in the pic above.
Now, I am getting the following text in the editor on that page :
Warning: Displaying form "CUSTOM.ChooseFromDropdown" as a skeleton in designer because it is a module form. Convert it to a package to interact with it live in the designer.
[An internal error has occurred] - see browser console for more details
Error: Cannot use legacy anvil.call() in designer
at Object.call (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=c2188ce3bfe80d721c0a:26:42846)
at t.rowSelectionChanged (https://ir6vew7clxoc4n2q.anvil.app/debug/QZUT7HLAD4YFOVZ7WH6PIJN35BK5U3Y3%3DLFFUTICXEMWEWGW2Q32L3WZ4/_/designer/designer2.html?buildTime=1723734575663:959:19)
at V._rowSelectionChanged (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:11:22135)
at V.clearSelectionData (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:11:17013)
at n._setDataActual (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:3:4718)
at https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:3:4394
at new Promise (<anonymous>)
at n.setData (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:3:4135)
at u._loadInitialData (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:4:30776)
at u._create (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:4:27075)
[An internal error has occurred] - see browser console for more details
Error: Cannot use legacy anvil.call() in designer
at Object.call (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=c2188ce3bfe80d721c0a:26:42846)
at t.rowSelectionChanged (https://ir6vew7clxoc4n2q.anvil.app/debug/QZUT7HLAD4YFOVZ7WH6PIJN35BK5U3Y3%3DLFFUTICXEMWEWGW2Q32L3WZ4/_/designer/designer2.html?buildTime=1723734575663:959:19)
at V._rowSelectionChanged (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:11:22135)
at V.clearSelectionData (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:11:17013)
at n._setDataActual (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:3:4718)
at https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:3:4394
at new Promise (<anonymous>)
at n.setData (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:3:4135)
at u._loadInitialData (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:4:30776)
at u._create (https://unpkg.com/tabulator-tables@4.5.3/dist/js/tabulator.min.js:4:27075)
Note the app runs ok in the editor, so I’m guessing this is something to do with the “live preview” feature in the IDE? It’s a feature I don;t knowingly use, by the way.