posit-dev / posit-dev/shinylive

AttributeError: 'MockKernel' object has no attribute 'showtraceback'

Open
#130 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
251
Forks
25
Avg merge
19m
Merged PRs (30d)
2

Description

I keep running into this error but I don't how to fix it. I'm a newbie at this so please be patient 😆

Here's the link to my app: Link

AttributeError: 'MockKernel' object has no attribute 'showtraceback'
/lib/python3.11/site-packages/shiny/reactive/_reactives.py:559: ReactiveWarning:
Error in Effect: 'MockKernel' object has no attribute 'showtraceback'
Unhandled error: 'MockKernel' object has no attribute 'showtraceback'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the linked Shinylive app and inspect the traceback at /lib/python3.11/site-packages/shiny/reactive/_reactives.py:559. Determine why MockKernel lacks showtraceback and identify the project entry point responsible for handling this error. Done means the app no longer raises the reported AttributeError and the resulting error handling is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.