question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example script error when clicking button

See original GitHub issue

Running the example single-script file i get this error when clicking the buttton:

LonaWorker_1 ERROR    17:57:34.559156 lona.input_events runtime #15856828000000: event #57: exception  occurred
  Traceback (most recent call last):
    File "C:\Python39\lib\site-packages\lona\view_runtime.py", line 661, in handle_input_event
      window_id=self.connections[connection][0],
  KeyError: <lona.connection.Connection object at 0x0000024BE2B65700>

restarting without any changes means this error doesn’t occur any more, but the button does not change

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (24 by maintainers)

github_iconTop GitHub Comments

2reactions
fscherfcommented, Aug 26, 2021

@laundmo, @korantu, @themutt: I released 1.4. Thanks a lot for your work! Message me if you guys want some stickers 😃 https://lona-web.org/stickers.html

Don’t be shy, i received a new delivery of 2000 pieces a few minutes ago 😃

2reactions
fscherfcommented, Aug 24, 2021

@laundmo: I researched a little bit and brainstormed with a co-worker of mine. I will implement a global atomic counter, similar to your approach, but with locking to avoid race conditions.

@themutt, @laundmo: Can you test my patch when its done, before i make a release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript/HTML button click error - Stack Overflow
I am using JavaScript with my html page to try an get a button to show a message to the user, but when...
Read more >
Getting [NoErrorObjectAvailable] Script error on clicking a ...
I have a LWC component accountList which is a datatable. It has Account names and a show detail button for each ...
Read more >
Click() method not working and Console returns an error ...
Output: This error pops up when we click on button B. Example: This example resolves the above TypeError by accessing an individual element....
Read more >
Script errors in Internet Explorer - Browsers - Microsoft Learn
A script error occurs in Internet Explorer, the webpage cannot be displayed correctly and you receive an error message.
Read more >
How to fix an unresponsive script error - Computer Hope
Click the "Stop Script" button to stop the script from running. Stopping the script can prevent the browser from running out of memory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found