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

TimeoutError: Locator.scroll_into_view_if_needed: Timeout 30000ms exceeded. #78

Open
amitlevy opened this issue May 21, 2024 · 1 comment

Comments

@amitlevy
Copy link

amitlevy commented May 21, 2024

File ~/.local/lib/python3.10/site-packages/langchain/chains/base.py:675, in Chain.arun(self, callbacks, tags, metadata, *args, **kwargs)
    [672](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:672)     if len(args) != 1:
    [673](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:673)         raise ValueError("`run` supports only one positional argument.")
    [674](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:674)     return (
--> [675](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:675)         await self.acall(
    [676](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:676)             args[0], callbacks=callbacks, tags=tags, metadata=metadata
    [677](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:677)         )
    [678](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:678)     )[self.output_keys[0]]
    [680](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:680) if kwargs and not args:
    [681](https://file+.vscode-resource.vscode-cdn.net/home/amit/Projects/Testing/~/.local/lib/python3.10/site-packages/langchain/chains/base.py:681)     return (
...

TimeoutError: Locator.scroll_into_view_if_needed: Timeout 30000ms exceeded.

Any idea what happened here? This happens when I run the third cell in the cookbook for a LangChain web agent.
It seems to happen 30 seconds after the model writes "OpenAI Dev day", and then nothing further happens until the timeout.

@asim-shrestha
Copy link
Contributor

asim-shrestha commented Jun 12, 2024

This depends on the code generated by the agent. Unfortunately not something we can really deal with

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

2 participants