devika
devika copied to clipboard
Playwright timeout issue
So i was facing a problem with ui that whenever i start a new project, the agent used to stop doing task while browsing or in 1-2 mins max. I then used postman api to execute prompt, this is what i got
playwright._impl._errors.TimeoutError: Timeout 30000ms exceeded.
i'm still not sure that this is the only thing that was causing the agent to get stuck. How come 30 seconds are not enough to get details from a web page
I wonder if this is related to #233
I wonder if this is related to #233
Could be, try using postman to see better logs in terminal.
it stop browsing only in windows 10.... to me
only in windows 10.... to me
I am on a windows 10 machine
@gautamsolankidev run devika on ubuntu or docker compose it on windows
@gautamsolankidev run devika on ubuntu or docker compose it on windows
Tried to build image in docker on windows 10 pc also on a windows 11 laptop. got same error on both the machine
=> ERROR [base 4/5] RUN --mount=type=cache,target=/root/.cache/pip --mount=type=bind,source=requirements. 2030.5s
------
> [base 4/5] RUN --mount=type=cache,target=/root/.cache/pip --mount=type=bind,source=requirements.txt,target=requirements.txt python -m pip install -r requirements.txt:
2.006 Collecting flask
2.205 Downloading flask-3.0.2-py3-none-any.whl (101 kB)
2.353 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.3/101.3 kB 635.6 kB/s eta 0:00:00
2.434 Collecting flask-cors
2.465 Downloading Flask_Cors-4.0.0-py2.py3-none-any.whl (14 kB)
2.526 Collecting toml
2.561 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
2.686 Collecting urllib3==1.26.15
2.718 Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
2.825 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 1.5 MB/s eta 0:00:00
2.931 Collecting requests
2.966 Downloading requests-2.31.0-py3-none-any.whl (62 kB)
3.020 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 1.3 MB/s eta 0:00:00
3.082 Collecting colorama
3.115 Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
3.186 Collecting fastlogging
3.218 Downloading fastlogging-1.0.0.tar.gz (18 kB)
3.247 Preparing metadata (setup.py): started
3.990 Preparing metadata (setup.py): finished with status 'done'
4.059 Collecting Jinja2
4.091 Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB)
4.223 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 1.0 MB/s eta 0:00:00
4.279 Collecting mistletoe
4.309 Downloading mistletoe-1.3.0-py3-none-any.whl (51 kB)
4.350 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.0/51.0 kB 1.4 MB/s eta 0:00:00
4.407 Collecting markdownify
4.438 Downloading markdownify-0.12.1-py3-none-any.whl (16 kB)
4.501 Collecting pdfminer.six
4.536 Downloading pdfminer.six-20231228-py3-none-any.whl (5.6 MB)
8.915 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 1.3 MB/s eta 0:00:00
9.049 Collecting playwright
9.088 Downloading playwright-1.42.0-py3-none-manylinux1_x86_64.whl (37.3 MB)
42.68 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.3/37.3 MB 1.3 MB/s eta 0:00:00
42.78 Collecting pytest-playwright
42.81 Downloading pytest_playwright-0.4.4-py3-none-any.whl (10 kB)
42.94 Collecting tiktoken
42.97 Downloading tiktoken-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB)
44.30 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 1.4 MB/s eta 0:00:00
44.35 Collecting ollama
44.38 Downloading ollama-0.1.8-py3-none-any.whl (9.4 kB)
44.50 Collecting openai
44.54 Downloading openai-1.14.3-py3-none-any.whl (262 kB)
44.70 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 262.9/262.9 kB 1.6 MB/s eta 0:00:00
44.77 Collecting anthropic
44.80 Downloading anthropic-0.21.3-py3-none-any.whl (851 kB)
45.44 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 851.6/851.6 kB 1.4 MB/s eta 0:00:00
45.49 Collecting sqlmodel
45.52 Downloading sqlmodel-0.0.16-py3-none-any.whl (26 kB)
45.58 Collecting keybert
45.62 Downloading keybert-0.8.4.tar.gz (29 kB)
45.65 Preparing metadata (setup.py): started
46.42 Preparing metadata (setup.py): finished with status 'done'
46.51 Collecting GitPython
46.54 Downloading GitPython-3.1.42-py3-none-any.whl (195 kB)
46.67 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.4/195.4 kB 1.5 MB/s eta 0:00:00
46.71 Collecting netlify-py
46.75 Downloading netlify_py-0.1.0-py3-none-any.whl (7.7 kB)
46.82 Collecting Markdown
46.86 Downloading Markdown-3.6-py3-none-any.whl (105 kB)
46.92 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.4/105.4 kB 1.8 MB/s eta 0:00:00
46.97 Collecting xhtml2pdf
47.01 Downloading xhtml2pdf-0.2.15-py3-none-any.whl (124 kB)
47.07 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 2.3 MB/s eta 0:00:00
47.12 Collecting groq
47.15 Downloading groq-0.4.2-py3-none-any.whl (65 kB)
47.19 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.7/65.7 kB 2.1 MB/s eta 0:00:00
47.26 Collecting blinker>=1.6.2
47.30 Downloading blinker-1.7.0-py3-none-any.whl (13 kB)
47.41 Collecting Werkzeug>=3.0.0
47.44 Downloading werkzeug-3.0.1-py3-none-any.whl (226 kB)
47.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 226.7/226.7 kB 1.6 MB/s eta 0:00:00
47.66 Collecting click>=8.1.3
47.69 Downloading click-8.1.7-py3-none-any.whl (97 kB)
47.74 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 2.1 MB/s eta 0:00:00
47.79 Collecting itsdangerous>=2.1.2
47.82 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
47.92 Collecting certifi>=2017.4.17
47.96 Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)
48.09 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 1.3 MB/s eta 0:00:00
48.15 Collecting idna<4,>=2.5
48.18 Downloading idna-3.6-py3-none-any.whl (61 kB)
48.21 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 2.5 MB/s eta 0:00:00
48.47 Collecting charset-normalizer<4,>=2
48.50 Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
48.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 kB 1.9 MB/s eta 0:00:00
48.78 Collecting MarkupSafe>=2.0
48.81 Downloading MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
48.88 Collecting six<2,>=1.15
48.92 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
48.99 Collecting beautifulsoup4<5,>=4.9
49.02 Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
49.12 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 1.4 MB/s eta 0:00:00
49.77 Collecting cryptography>=36.0.0
49.80 Downloading cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl (4.6 MB)
53.17 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 1.4 MB/s eta 0:00:00
53.68 Collecting greenlet==3.0.3
53.72 Downloading greenlet-3.0.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (616 kB)
54.15 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 616.0/616.0 kB 1.4 MB/s eta 0:00:00
54.22 Collecting pyee==11.0.1
54.25 Downloading pyee-11.0.1-py3-none-any.whl (15 kB)
54.36 Collecting typing-extensions
54.39 Downloading typing_extensions-4.10.0-py3-none-any.whl (33 kB)
54.57 Collecting pytest<9.0.0,>=6.2.4
54.60 Downloading pytest-8.1.1-py3-none-any.whl (337 kB)
54.83 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 337.4/337.4 kB 1.5 MB/s eta 0:00:00
54.89 Collecting python-slugify<9.0.0,>=6.0.0
54.92 Downloading python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
54.97 Collecting pytest-base-url<3.0.0,>=1.0.0
55.02 Downloading pytest_base_url-2.1.0-py3-none-any.whl (5.3 kB)
56.41 Collecting regex>=2022.1.18
56.44 Downloading regex-2023.12.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB)
57.00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 774.0/774.0 kB 1.4 MB/s eta 0:00:00
57.10 Collecting httpx<0.28.0,>=0.27.0
57.13 Downloading httpx-0.27.0-py3-none-any.whl (75 kB)
57.17 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 1.8 MB/s eta 0:00:00
57.33 Collecting tqdm>4
57.36 Downloading tqdm-4.66.2-py3-none-any.whl (78 kB)
57.41 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 1.7 MB/s eta 0:00:00
57.48 Collecting anyio<5,>=3.5.0
57.51 Downloading anyio-4.3.0-py3-none-any.whl (85 kB)
57.57 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.6/85.6 kB 1.8 MB/s eta 0:00:00
57.62 Collecting distro<2,>=1.7.0
57.65 Downloading distro-1.9.0-py3-none-any.whl (20 kB)
58.06 Collecting pydantic<3,>=1.9.0
58.09 Downloading pydantic-2.6.4-py3-none-any.whl (394 kB)
58.37 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 394.9/394.9 kB 1.4 MB/s eta 0:00:00
58.42 Collecting sniffio
58.45 Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
59.11 Collecting tokenizers>=0.13.0
59.15 Downloading tokenizers-0.15.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
62.09 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 1.2 MB/s eta 0:00:00
63.34 Collecting SQLAlchemy<2.1.0,>=2.0.0
63.37 Downloading SQLAlchemy-2.0.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
65.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 1.4 MB/s eta 0:00:00
65.66 Collecting sentence-transformers>=0.3.8
65.69 Downloading sentence_transformers-2.6.1-py3-none-any.whl (163 kB)
65.79 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.3/163.3 kB 1.6 MB/s eta 0:00:00
66.06 Collecting scikit-learn>=0.22.2
66.10 Downloading scikit_learn-1.4.1.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)
74.26 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 1.5 MB/s eta 0:00:00
74.92 Collecting numpy>=1.18.5
74.96 Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
85.11 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 1.9 MB/s eta 0:00:00
85.30 Collecting rich>=10.4.0
85.34 Downloading rich-13.7.1-py3-none-any.whl (240 kB)
85.45 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 2.2 MB/s eta 0:00:00
85.52 Collecting gitdb<5,>=4.0.1
85.55 Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)
85.59 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 2.5 MB/s eta 0:00:00
85.70 Collecting pypdf>=3.1.0
85.74 Downloading pypdf-4.1.0-py3-none-any.whl (286 kB)
85.95 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 286.1/286.1 kB 1.5 MB/s eta 0:00:00
86.66 Collecting Pillow>=8.1.1
86.69 Downloading pillow-10.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)
89.47 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 1.6 MB/s eta 0:00:00
90.10 Collecting reportlab<4.1,>=4.0.4
90.13 Downloading reportlab-4.0.9-py3-none-any.whl (1.9 MB)
91.73 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 1.2 MB/s eta 0:00:00
91.77 Collecting python-bidi>=0.4.2
91.81 Downloading python_bidi-0.4.2-py2.py3-none-any.whl (30 kB)
92.05 Collecting arabic-reshaper>=3.0.0
92.09 Downloading arabic_reshaper-3.0.0-py3-none-any.whl (20 kB)
92.18 Collecting svglib>=1.2.1
92.21 Downloading svglib-1.5.1.tar.gz (913 kB)
92.91 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 913.9/913.9 kB 1.3 MB/s eta 0:00:00
92.97 Preparing metadata (setup.py): started
93.71 Preparing metadata (setup.py): finished with status 'done'
93.76 Collecting html5lib>=1.1
93.80 Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
93.86 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 1.8 MB/s eta 0:00:00
93.93 Collecting pyhanko-certvalidator>=0.19.5
93.96 Downloading pyhanko_certvalidator-0.26.3-py3-none-any.whl (109 kB)
94.04 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.4/109.4 kB 1.4 MB/s eta 0:00:00
94.10 Collecting pyHanko>=0.12.1
94.13 Downloading pyHanko-0.23.2-py3-none-any.whl (432 kB)
94.40 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 432.3/432.3 kB 1.6 MB/s eta 0:00:00
94.51 Collecting exceptiongroup>=1.0.2
94.55 Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
94.64 Collecting soupsieve>1.2
94.67 Downloading soupsieve-2.5-py3-none-any.whl (36 kB)
95.15 Collecting cffi>=1.12
95.18 Downloading cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)
95.41 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.9/443.9 kB 2.0 MB/s eta 0:00:00
95.47 Collecting smmap<6,>=3.0.1
95.50 Downloading smmap-5.0.1-py3-none-any.whl (24 kB)
95.58 Collecting webencodings
95.61 Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
95.71 Collecting httpcore==1.*
95.74 Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)
95.79 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 kB 2.4 MB/s eta 0:00:00
95.85 Collecting h11<0.15,>=0.13
95.88 Downloading h11-0.14.0-py3-none-any.whl (58 kB)
95.91 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 3.4 MB/s eta 0:00:00
96.03 Collecting annotated-types>=0.4.0
96.07 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
98.29 Collecting pydantic-core==2.16.3
98.32 Downloading pydantic_core-2.16.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB)
99.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 1.7 MB/s eta 0:00:00
99.73 Collecting asn1crypto>=1.5.1
99.76 Downloading asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
99.82 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.0/105.0 kB 1.9 MB/s eta 0:00:00
99.87 Collecting qrcode>=7.3.1
99.91 Downloading qrcode-7.4.2-py3-none-any.whl (46 kB)
99.95 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.2/46.2 kB 1.3 MB/s eta 0:00:00
100.1 Collecting pyyaml>=6.0
100.1 Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
100.5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 kB 1.9 MB/s eta 0:00:00
100.6 Collecting tzlocal>=4.3
100.6 Downloading tzlocal-5.2-py3-none-any.whl (17 kB)
100.7 Collecting oscrypto>=1.1.0
100.7 Downloading oscrypto-1.3.0-py2.py3-none-any.whl (194 kB)
100.8 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.6/194.6 kB 1.7 MB/s eta 0:00:00
100.9 Collecting uritools>=3.0.1
100.9 Downloading uritools-4.0.2-py3-none-any.whl (10 kB)
101.1 Collecting packaging
101.1 Downloading packaging-24.0-py3-none-any.whl (53 kB)
101.2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB 3.3 MB/s eta 0:00:00
101.2 Collecting tomli>=1
101.3 Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
101.3 Collecting pluggy<2.0,>=1.4
101.4 Downloading pluggy-1.4.0-py3-none-any.whl (20 kB)
101.4 Collecting iniconfig
101.4 Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
101.6 Collecting text-unidecode>=1.3
101.6 Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
101.6 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.2/78.2 kB 2.4 MB/s eta 0:00:00
101.7 Collecting chardet
101.7 Downloading chardet-5.2.0-py3-none-any.whl (199 kB)
101.8 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.4/199.4 kB 2.2 MB/s eta 0:00:00
101.9 Collecting markdown-it-py>=2.2.0
102.0 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
102.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 2.1 MB/s eta 0:00:00
102.1 Collecting pygments<3.0.0,>=2.13.0
102.1 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
102.7 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.1 MB/s eta 0:00:00
103.2 Collecting scipy>=1.6.0
103.2 Downloading scipy-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.4 MB)
125.2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.4/38.4 MB 1.8 MB/s eta 0:00:00
125.3 Collecting joblib>=1.2.0
125.3 Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
125.5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.2/302.2 kB 1.8 MB/s eta 0:00:00
125.6 Collecting threadpoolctl>=2.0.0
125.6 Downloading threadpoolctl-3.4.0-py3-none-any.whl (17 kB)
125.8 Collecting transformers<5.0.0,>=4.32.0
125.8 Downloading transformers-4.39.2-py3-none-any.whl (8.8 MB)
131.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 1.7 MB/s eta 0:00:00
131.3 Collecting torch>=1.11.0
131.3 Downloading torch-2.2.2-cp310-cp310-manylinux1_x86_64.whl (755.5 MB)
668.8 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 755.5/755.5 MB 1.0 MB/s eta 0:00:00
669.7 Collecting huggingface-hub>=0.15.1
669.7 Downloading huggingface_hub-0.22.2-py3-none-any.whl (388 kB)
670.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 388.9/388.9 kB 1.3 MB/s eta 0:00:00
670.8 Collecting lxml
670.9 Downloading lxml-5.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB)
674.6 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 1.4 MB/s eta 0:00:00
674.7 Collecting tinycss2>=0.6.0
674.7 Downloading tinycss2-1.2.1-py3-none-any.whl (21 kB)
674.8 Collecting cssselect2>=0.2.0
674.8 Downloading cssselect2-0.7.0-py3-none-any.whl (15 kB)
675.0 Collecting pycparser
675.0 Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
675.1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 1.5 MB/s eta 0:00:00
675.5 Collecting filelock
675.5 Downloading filelock-3.13.3-py3-none-any.whl (11 kB)
675.6 Collecting fsspec>=2023.5.0
675.7 Downloading fsspec-2024.3.1-py3-none-any.whl (171 kB)
675.7 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.0/172.0 kB 1.8 MB/s eta 0:00:00
675.9 Collecting mdurl~=0.1
675.9 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
676.0 Collecting pypng
676.1 Downloading pypng-0.20220715.0-py3-none-any.whl (58 kB)
676.1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 kB 1.9 MB/s eta 0:00:00
676.3 Collecting nvidia-cuda-nvrtc-cu12==12.1.105
676.4 Downloading nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)
694.3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 1.3 MB/s eta 0:00:00
694.4 Collecting nvidia-cudnn-cu12==8.9.2.26
694.4 Downloading nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)
1250.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 731.7/731.7 MB 1.4 MB/s eta 0:00:00
1250.8 Collecting nvidia-cusparse-cu12==12.1.0.106
1250.9 Downloading nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB)
1362.8 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 196.0/196.0 MB 1.6 MB/s eta 0:00:00
1363.0 Collecting sympy
1363.0 Downloading sympy-1.12-py3-none-any.whl (5.7 MB)
1366.4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 1.7 MB/s eta 0:00:00
1366.5 Collecting nvidia-cuda-runtime-cu12==12.1.105
1366.5 Downloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)
1367.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 823.6/823.6 kB 1.9 MB/s eta 0:00:00
1367.1 Collecting nvidia-nccl-cu12==2.19.3
1367.1 Downloading nvidia_nccl_cu12-2.19.3-py3-none-manylinux1_x86_64.whl (166.0 MB)
1462.4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 166.0/166.0 MB 1.7 MB/s eta 0:00:00
1462.6 Collecting nvidia-cufft-cu12==11.0.2.54
1462.6 Downloading nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB)
1568.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.6/121.6 MB 1.2 MB/s eta 0:00:00
1568.1 Collecting nvidia-curand-cu12==10.3.2.106
1568.2 Downloading nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB)
1607.2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.5/56.5 MB 1.5 MB/s eta 0:00:00
1607.3 Collecting nvidia-cublas-cu12==12.1.3.1
1607.3 Downloading nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB)
2029.4 ━━━━━━━━━━━━━━━━━━━━━━━━━━ 290.3/410.6 MB 523.7 kB/s eta 0:03:50
2029.4 ERROR: Exception:
2029.4 Traceback (most recent call last):
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 435, in _error_catcher
2029.4 yield
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 516, in read
2029.4 data = self._fp.read(amt) if not fp_closed else b""
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read
2029.4 data = self.__fp.read(amt)
2029.4 File "/usr/local/lib/python3.10/http/client.py", line 465, in read
2029.4 s = self.fp.read(amt)
2029.4 File "/usr/local/lib/python3.10/socket.py", line 705, in readinto
2029.4 return self._sock.recv_into(b)
2029.4 File "/usr/local/lib/python3.10/ssl.py", line 1274, in recv_into
2029.4 return self.read(nbytes, buffer)
2029.4 File "/usr/local/lib/python3.10/ssl.py", line 1130, in read
2029.4 return self._sslobj.read(len, buffer)
2029.4 TimeoutError: The read operation timed out
2029.4
2029.4 During handling of the above exception, another exception occurred:
2029.4
2029.4 Traceback (most recent call last):
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
2029.4 status = run_func(*args)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
2029.4 return func(self, options, args)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 369, in run
2029.4 requirement_set = resolver.resolve(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
2029.4 result = self._result = resolver.resolve(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
2029.4 state = resolution.resolve(requirements, max_rounds=max_rounds)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve
2029.4 failure_causes = self._attempt_to_pin_criterion(name)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion
2029.4 criteria = self._get_updated_criteria(candidate)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 204, in _get_updated_criteria
2029.4 self._add_to_criteria(criteria, requirement, parent=candidate)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
2029.4 if not criterion.candidates:
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__
2029.4 return bool(self._sequence)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
2029.4 return any(self)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
2029.4 return (c for c in iterator if id(c) not in self._incompatible_ids)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
2029.4 candidate = func()
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
2029.4 self._link_candidate_cache[link] = LinkCandidate(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__
2029.4 super().__init__(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
2029.4 self.dist = self._prepare()
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare
2029.4 dist = self._prepare_distribution()
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
2029.4 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 438, in prepare_linked_requirement
2029.4 return self._prepare_linked_requirement(req, parallel_builds)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 483, in _prepare_linked_requirement
2029.4 local_file = unpack_url(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 165, in unpack_url
2029.4 file = get_http_url(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 106, in get_http_url
2029.4 from_path, content_type = download(link, temp_dir.path)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in __call__
2029.4 for chunk in chunks:
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
2029.4 for chunk in iterable:
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
2029.4 for chunk in response.raw.stream(
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 573, in stream
2029.4 data = self.read(amt=amt, decode_content=decode_content)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 509, in read
2029.4 with self._error_catcher():
2029.4 File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
2029.4 self.gen.throw(typ, value, traceback)
2029.4 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 440, in _error_catcher
2029.4 raise ReadTimeoutError(self._pool, None, "Read timed out.")
2029.4 pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
2029.4 WARNING: There was an error checking the latest version of pip.
2029.4 WARNING: There was an error checking the latest version of pip.
------
Dockerfile:37
--------------------
36 | # into this layer.
37 | >>> RUN --mount=type=cache,target=/root/.cache/pip \
38 | >>> --mount=type=bind,source=requirements.txt,target=requirements.txt \
39 | >>> python -m pip install -r requirements.txt
40 |
--------------------
ERROR: failed to solve: process "/bin/sh -c python -m pip install -r requirements.txt" did not complete successfully: exit code: 2
Thank you for opening this issue, fixed here: https://github.com/stitionai/devika/commit/6b32459898c0515de1ba15b2d0ef760a588396da! 🙌