Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception - Session with id "not found" after deleting an scrbook #299

Open
BeRecursive22 opened this issue Sep 15, 2024 · 4 comments
Assignees

Comments

@BeRecursive22
Copy link
Contributor

BeRecursive22 commented Sep 15, 2024

Steps to reproduce:

  1. Create a new TS srcbook
  2. Install the dependencies and hit "Generate SrcBook"
  3. Feed the prompt and generate the code and run it.
  4. Now "Delete" the srcbook.
  5. You'll be able to see requests failing in the network tab.
image
  1. The server crashed due to unhandled exception of "Session not found" error
image

Steps to fix it:

  1. remove redundant removal of srcbook's directory leading the uncaught exception

  2. Steps to reproduce:

  3. Create a new TS srcbook

  4. Install the dependencies and hit "Generate SrcBook"

  5. Feed the prompt and generate the code and run it.

  6. Now "Delete" the srcbook.

  7. You'll be able to see requests failing in the network tab.

image
  1. The server crashed due to unhandled exception of "Session not found" error
image

Steps to fix it:

  1. remove the redundant removal of the directory causing unhandled exception error
image 2. deleteSessionByDirname could not find the session with dirname since it was already deleted in the previous step.
@BeRecursive22
Copy link
Contributor Author

@nichochar I would like to work on it.

@Lokendra-sinh
Copy link

@benjreinhart Hey... just wanted to check if you were able to reproduce this?

@nichochar
Copy link
Contributor

@nichochar I would like to work on it.

Hey @BeRecursive22 , happy for you to take a stab. I'll assign it to you for now.

@BeRecursive22
Copy link
Contributor Author

@nichochar #313 for your reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants