Skip to content

fix(lapdog): do not crash python process when starting lapdog#393

Open
sabrenner wants to merge 1 commit into
masterfrom
sabrenner/attempt-python-crashes-fix
Open

fix(lapdog): do not crash python process when starting lapdog#393
sabrenner wants to merge 1 commit into
masterfrom
sabrenner/attempt-python-crashes-fix

Conversation

@sabrenner

@sabrenner sabrenner commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Starting lapdog with a coding agent would intermittently cause Python crashes. From investigation, it seems this happens on Python 3.13. This PR attempts to fix it by using urllib.request instead of requests. It's also possible forking processes here has some issues and subprocessing would work better, but just attempting this for now.

@sabrenner sabrenner marked this pull request as ready for review June 10, 2026 19:15
@sabrenner sabrenner requested a review from a team as a code owner June 10, 2026 19:15

@Yun-Kim Yun-Kim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a harmless change at worst, are we able to reproduce the issue and confirm this solves it?

@sabrenner

Copy link
Copy Markdown
Collaborator Author

are we able to reproduce the issue and confirm this solves it?

i had previously seen this issue so yes, but haven't recently. this is more of a best-effort attempt. i'll actually try and get it to surface one more time before merging to confirm. if i can't though i'm just gonna send it

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

Successfully merging this pull request may close these issues.

2 participants