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

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) #891

Open
lerinoi opened this issue Sep 4, 2019 · 3 comments

Comments

@lerinoi
Copy link

lerinoi commented Sep 4, 2019

Hi, installed locally, run through docker
docker run -i -t --rm -p 9001:9001
-v /Users/yleemini/Documents/projects/q/new/portia:/app/data/projects:rw
-v ~/Documents/projects/portia/portiaui/dist:/app/portiaui/dist
-v ~/Documents/projects/portia/slyd:/app/slyd
-v ~/Documents/projects/portia/portia_server:/app/portia_server
portia
Trying to open
https://online-kassa.ru/kupit/cat/kassy/

I get an application error:
Traceback (most recent call last):
File "/app/slyd/slyd/splash/ferry.py", line 220, in wrapUrl
return wrap_url(text(url), self.protocol.user.tabid, text(baseuri))
File "/app/slyd/slyd/splash/css_utils.py", line 17, in wrap_url
url = urljoin_rfc(base, url)
File "/usr/local/lib/python3.5/dist-packages/w3lib/url.py", line 609, in urljoin_rfc
return urljoin(str_base, str_ref)
File "/usr/lib/python3.5/urllib/parse.py", line 415, in urljoin
base, url, _coerce_result = _coerce_args(base, url)
File "/usr/lib/python3.5/urllib/parse.py", line 114, in _coerce_args
return _decode_args(args) + (_encode_result,)
File "/usr/lib/python3.5/urllib/parse.py", line 98, in _decode_args
return tuple(x.decode(encoding, errors) if x else '' for x in args)
File "/usr/lib/python3.5/urllib/parse.py", line 98, in
return tuple(x.decode(encoding, errors) if x else '' for x in args)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

@Robinsir
Copy link

i have same promble.

@CarlosBalladares
Copy link

Is this related to support for SPA?
Mine seems to crash only for SPA web apps like something bootstraped with vue cli or cra

@Rainmaker33
Copy link

I have the same problem

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

4 participants