You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E2021-05-15 02:49:20,971 [bstby_1] caught exception during request: 'NoneType' object has no attribute 'text'
E2021-05-15 02:49:20,972 [bstby_1] scrape failed
--- Logging error ---
Traceback (most recent call last):
File "/src/worker/server.py", line 29, in handle
await self.handle_request(request, writer)
File "/src/worker/lean_and_mean.py", line 35, in handle_request
async with session.get(request.url, timeout=timeout) as r:
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
message, payload = await self._protocol.read() # type: ignore
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 927, in format
return fmt.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 666, in format
s = self.formatMessage(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 635, in formatMessage
return self._style.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 434, in format
return self._format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 448, in _format
return self._fmt.format(**record.__dict__)
AttributeError: 'tuple' object has no attribute 'worker'
Call stack:
File "/src/run_worker.py", line 28, in <module>
main()
File "/src/run_worker.py", line 24, in main
pkg.run()
File "/src/worker/lean_and_mean.py", line 48, in run
server.run()
File "/src/worker/server.py", line 46, in run
asyncio.run(self.run_impl())
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
self._run_once()
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once
handle._run()
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/src/worker/server.py", line 31, in handle
logging.error(f'something went wrong during request: {e}')
Message: 'something went wrong during request: Server disconnected'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/src/worker/server.py", line 29, in handle
await self.handle_request(request, writer)
File "/src/worker/lean_and_mean.py", line 35, in handle_request
async with session.get(request.url, timeout=timeout) as r:
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1117, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
message, payload = await self._protocol.read() # type: ignore
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 927, in format
return fmt.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 666, in format
s = self.formatMessage(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 635, in formatMessage
return self._style.format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 434, in format
return self._format(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 448, in _format
return self._fmt.format(**record.__dict__)
AttributeError: 'tuple' object has no attribute 'worker'
Call stack:
File "/src/run_worker.py", line 28, in <module>
main()
File "/src/run_worker.py", line 24, in main
pkg.run()
File "/src/worker/lean_and_mean.py", line 48, in run
server.run()
File "/src/worker/server.py", line 46, in run
asyncio.run(self.run_impl())
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
self._run_once()
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once
handle._run()
File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/src/worker/server.py", line 31, in handle
logging.error(f'something went wrong during request: {e}')
Message: 'something went wrong during request: Server disconnected'
Arguments: ()
The text was updated successfully, but these errors were encountered:
I'm getting these errors for my BestBuy links:
The text was updated successfully, but these errors were encountered: