[An internal error has occurred]

This occurs on the sample apps. I create an app. Add a title. Run it.

It seems to work but it gives me

[An internal error has occurred]

Why is this occurring? how can I get a better error?

There are several potential causes. Are you trying it under the Anvil Build environment? That typically gives a traceback.

A few other questions:

  1. Are you using custom HTML or Javascript?
  2. Can you clone an example to show the problem?

https://n3v5cwix2jbyknw2.anvil.app/

git clone ssh://alvin%siliconbarn.com@anvil.works:2222/N3V5CWIX2JBYKNW2.git

I added a heading that says test4. There is no custom html or JS. There is no code other than what anvil created.

I let it run in build mode and the slowly screen fills with errors. I am not even reloading the page.

I have tried it with 3 different sample apps with the same lack of code. They do the same thing.

Hi Alvin,

Can you share a Clone link to the app? Click on ‘Share app…’ in the Gear menu and then copy the link where it says ‘Share your source code and data with others’:

image

image

The only code added was 1 label box and I changed the value. I did not add any code.
https://anvil.works/ide#clone:JTYUP4SJVNTRWRPZ=SBGPDN4J7DJ33HABYURTXTIA

https://anvil.works/ide#clone:JE4KEJS2D3TINIPL=ZWK4PFHSGP3T4LDBUMFKPIB6

https://anvil.works/ide#clone:N3V5CWIX2JBYKNW2=XNU2L7JACV7MDPMQHQLX6ROG

https://anvil.works/ide#clone:YWBO2IIQFDVRZW2W=P3DEN5RKQNC4URGABFWYJGVQ

This one, I did not change a thing. I created an “classic” app with single column layout. Ran it.
https://anvil.works/ide#clone:QOIQ53ZNVYFPG4RC=T7VBWYWH6PR2Z2CU7RHJY6V3
It starts spitting out errors immediately.

Moving to Bug Reports.

This doesn’t appear to be a consequence of anything you’ve done - it doesn’t happen for me in Firefox, Chrome or Safari on Mac OS X. So perhaps this is an Anvil bug relating to the specific platform you’re running on.

What browser and OS are you running (and what versions)? Have you tried it in multiple environments? Do the published versions work for you?

(To view the published versions, go to ‘Publish App’ in the Gear menu and copy the link where it says ‘share via private link’)

image

Here are links to published versions of the test apps I’ve cloned from you:

https://JJA6L77DHWJ5XPNV.anvil.app/WCQNEGDVW5SBC6PVBD5ISSIY

https://5YLID47NGEAMX75K.anvil.app/3YAKTWNNFMQMVUDIKKCQM7MI

Is there any way to get a stack trace on the internal errors?

I am using chrome on mac.

It works on a Chromebook.

guessing game worked. Then I went back and tried the ones that had problems. They seem to be working. Has anything changed?

Thanks

This sort of thing is often caused by misbehaving browser extensions, but we can’t really be sure what happened given the lack of information in the traceback. A dump of your browser’s developer console might have shed some light, but since it’s not happening any more we can’t get that this time.

Many thanks for the report - we’ll improve the error logging to help with this sort of thing in the future.

We’ve improved the error logging now.

A post was split to a new topic: Error - can’t download folder