Baekalfen / Baekalfen/PyBoy

Failing log statement when not calling pyboy.stop

Open
#315 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
5.2k
Forks
539
Avg merge
1d 10h
Merged PRs (30d)
5

Description

```python
import torch
from pyboy import PyBoy

pyboy = PyBoy("pyboy/default_rom.gb")
# pyboy.stop() # Try without this
```

For some reason all log statements causes an error:

```
Error in sys.excepthook:

Original exception was:
```

Contributor guide

Open the contributing guide

Research direction

The report provides a minimal Python example using PyBoy and pyboy.stop(); begin by reproducing it with and without the stop call and capture the complete traceback. Trace the shutdown and logging behavior implicated by the error. Done means the example exits without the excepthook or logging failure in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
game-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.