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

Integrate playwright in parse_phone function #2

Open
jmgogo opened this issue Jan 4, 2024 · 0 comments
Open

Integrate playwright in parse_phone function #2

jmgogo opened this issue Jan 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jmgogo
Copy link
Owner

jmgogo commented Jan 4, 2024

parse_phone function is currently experiencing issues with async playwright integration with the following errors

ERROR: Error processing <twisted.python.failure.Failure playwright._impl._errors.TimeoutError: Timeout 30000ms exceeded.>
2024-01-04 02:17:56 [scrapy-playwright] DEBUG: Browser context closed: 'default' (persistent=False, remote=False)
2024-01-04 02:17:56 [scrapy-playwright] INFO: Closing browser
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43600' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43603' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43606' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43601' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43604' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43607' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43609' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43610' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43615' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43618' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43616' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43619' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43626' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43627' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43840' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43841' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43844' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43847' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43845' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43848' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43850' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43853' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43856' coro=<Page._on_route() running at /usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:245> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[AsyncIOEventEmitter._emit_run.<locals>.callback() at /usr/local/lib/python3.10/dist-packages/pyee/asyncio.py:69]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43851' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43854' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
2024-01-04 02:17:57 [asyncio] ERROR: Task was destroyed but it is pending!
task: <Task pending name='Task-43857' coro=<ScrapyPlaywrightDownloadHandler._make_request_handler.<locals>._request_handler() running at /usr/local/lib/python3.10/dist-packages/scrapy_playwright/handler.py:581> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
@jmgogo jmgogo self-assigned this Jan 4, 2024
@jmgogo jmgogo added the bug Something isn't working label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant