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

unexpected keyword argument 'real_url' #25

Open
nicoayci opened this issue May 10, 2019 · 2 comments
Open

unexpected keyword argument 'real_url' #25

nicoayci opened this issue May 10, 2019 · 2 comments

Comments

@nicoayci
Copy link

Hi,
I am getting the error below with Aquarium (tried with Splash 3.0 and 3.3.1).
In this case with the most basic script to scrape google info.
The same code works when using splash without Aquarium.
Same problem occurs whether Aquarium is on localhost or somewhere else.
Happy to try to provide more info upon request.

`
ERROR: Error downloading <GET http://google.com via http://localhost:8050/execute>
Traceback (most recent call last):
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
result = g.send(result)
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/scrapy/core/downloader/middleware.py", line 43, in process_request
defer.returnValue((yield download_func(request=request,spider=spider)))
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/twisted/internet/defer.py", line 1362, in returnValue
raise _DefGen_Return(val)
twisted.internet.defer._DefGen_Return: <200 http://localhost:8050/execute>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
result = g.send(result)
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/scrapy/core/downloader/middleware.py", line 53, in process_response
spider=spider)
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/scrapy/downloadermiddlewares/httpcompression.py", line 47, in process_response
response = response.replace(**kwargs)
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/scrapy_splash/response.py", line 43, in replace
return cls(*args, **kwargs)
File "/home/nico/Virtualenvs/lbtrain_env3.6/lib/python3.6/site-packages/scrapy/http/response/text.py", line 31, in init
super(TextResponse, self).init(*args, **kwargs)
TypeError: init() got an unexpected keyword argument 'real_url'
`

@died14
Copy link

died14 commented Jul 6, 2020

@nicoayci Have you managed to solve your issue? I'm having the same error, which only occurs when using aquarium.

@MlataIbrahim
Copy link

i have the same issue

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

3 participants