What I’m trying to do:
I have two forms similar one to another in logic.
Both are made up of:
some search filters and a datagrid showing search results
a blank form to be used as content in an anvil alert, as a ringle-record edit form
In the clone link, the first I coded was the chiamate set of main form, blank form and repeating panel template.
Then I created the indagini set by duplicating the first set and modifying appropriately (I think).
Everything was working and I was happily modifying the second set when, unexcpectedly…
…I try to access the code of the two repeatingpanels rt_chiamate and rt_indagini and…
What I’ve tried and what’s not working:
…the new IDE gives this error and an endless spinner and never shows the code:
TypeError: Cannot read properties of undefined (reading 'pyComponent')
at https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=c0cf912378c41fa63996:20:57010
at Generator.next (<anonymous>)
at b (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=c0cf912378c41fa63996:20:55238)
at a (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=c0cf912378c41fa63996:20:55441)
If I switch to the classic IDE, the code shows up.
I don’t know how to fix things back.
I’m out of office right now.
I double checked the clone app before posting the link and the errore was showing up.
However I’m going ti test It again as sono as I come back to office.
I’ll keep you posted.
TypeError: Cannot read properties of undefined (reading 'pyComponent') at https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=d78dbb2c8e6199f72b76:28:6033 at Generator.next (<anonymous>) at b (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=d78dbb2c8e6199f72b76:28:4261) at a (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=d78dbb2c8e6199f72b76:28:4464)
Hi @stucork I’m back home today.
In this folder I’ve put 3 videos showing the error with edge after CTRL+F5, with chrome after CTRL+F5 and with chrome in anonymous mode.
I can’t upload the videos and converting to GIF makes them too big, so I’m trying with publicly accessible Google Drive links.
yes I have only the master branch in the original app
yes it happens in incognito mode
I’m using Chrome (Version 119.0.6045.105 (Official Build) (64 bit) and also Version 119.0.6045.106 (Official Build) (64 bit)) and Edge (Version 119.0.2151.44 (Official Build) (64 bit))
In one of my apps I am not able to open the code or design tabs for the template that I have within my main form. The designer is just showing spinning circle.
Is this some known bug or its something on my side preventing the display?
Thanks for your patience here, and thanks especially to @a.ercolani for all of your help debugging the issue. None of us were able to reproduce it initially because it turned out to be a bad interaction between an internal feature flag and the release of the new designer, but I’m happy to say that it is now fixed.
I encountered the same problem. Unfortunately, I am not that savvy fixing the type of errors generated. Here’s the generated error when using the New Designer;
[An internal error has occurred] - see browser console for more details
TypeError: Cannot read properties of undefined (reading ‘getPropJS’)
Can someone here give me a lead which part of the above error to fix? I did a right click but I could not generate a window to fix whatever I could tinker with.
As posted above, the form loads alright when using the Classic Designer.
Thank you so much @stucork. The problem form now loads back correctly again using the New Designer. I hope it doesn’t come back. That almost scared the daylight out of me.