Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

KeyError when send #293

Open
niespodd opened this issue Feb 1, 2020 · 1 comment
Open

KeyError when send #293

niespodd opened this issue Feb 1, 2020 · 1 comment

Comments

@niespodd
Copy link

niespodd commented Feb 1, 2020

Hi

I'm getting KeyError in pyppeteer.connection in send here:
https://github.com/miyakogi/pyppeteer/blob/dev/pyppeteer/connection.py#L237

Despite the actual reason this is happening (perhaps some ws quirks), what is the rationale behind this code?

            if _id in self._callbacks:
                del self._callbacks[_id]
                _callback = self._callbacks[_id]

L237-239 connection.py

@Mattwmaster58
Copy link

Hi @niespodd, it looks like this project has been abandoned. You may want to consider the active fork pyppeteer2. Feel free to create an issue there if your problem persists with the updated libary.

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

No branches or pull requests

2 participants