Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.4 kB
3
Indexable
Never


Traceback (most recent call last):
  File "/opt/python/current/app/modules/stripe.py", line 184, in createStripeSubscription
    'country': 'ES'
  File "/opt/python/run/venv/local/lib/python3.6/site-packages/stripe/api_resources/abstract/updateable_api_resource.py", line 11, in modify
    url = "%s/%s" % (cls.class_url(), quote_plus(util.utf8(sid)))
  File "/usr/lib64/python3.6/urllib/parse.py", line 841, in quote_plus
    string = quote(string, safe + space, encoding, errors)
  File "/usr/lib64/python3.6/urllib/parse.py", line 825, in quote
    return quote_from_bytes(string, safe)
  File "/usr/lib64/python3.6/urllib/parse.py", line 850, in quote_from_bytes
    raise TypeError("quote_from_bytes() expected bytes")
Traceback (most recent call last): File "/opt/python/current/app/modules/stripe.py", line 184, in createStripeSubscription 'country': 'ES' File "/opt/python/run/venv/local/lib/python3.6/site-packages/stripe/api_resources/abstract/updateable_api_resource.py", line 11, in modify url = "%s/%s" % (cls.class_url(), quote_plus(util.utf8(sid))) File "/usr/lib64/python3.6/urllib/parse.py", line 841, in quote_plus string = quote(string, safe + space, encoding, errors) File "/usr/lib64/python3.6/urllib/parse.py", line 825, in quote return quote_from_bytes(string, safe) File "/usr/lib64/python3.6/urllib/parse.py", line 850, in quote_from_bytes raise TypeError("quote_from_bytes() expected bytes")