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

read_string() throws UnicodeDecodeError exception #15

Closed
pznmc opened this issue Nov 16, 2018 · 3 comments
Closed

read_string() throws UnicodeDecodeError exception #15

pznmc opened this issue Nov 16, 2018 · 3 comments

Comments

@pznmc
Copy link

pznmc commented Nov 16, 2018

Used by ValvePython/steam.
Affected package id: 82985

https://sentry.io/share/issue/27c635a7e4c34a8f867df27c644212e7/

@rossengeorgiev
Copy link
Contributor

Cannot replicate.

In [10]: client.get_product_info([], [82985])
Out[10]:
{'apps': {},
 'packages': {82985: {'appids': {'0': 261450},
   'appitems': {},
   'billingtype': 10,
   'depotids': {'0': 261451,
    '1': 261452,
    '2': 261453,
    '3': 261454,
    '4': 261455,
    '5': 261456,
    '6': 261457},
   'extended': {'\xe2\x80\x9ccanbegrantedfromexternal\xe2\x80\x9d': 1},
   'licensetype': 1,
   'packageid': 82985,
   'status': 0}}}

@pznmc
Copy link
Author

pznmc commented Nov 17, 2018

Which python version are you using?

I can make it to work only on python 2.7, but any 3.4+ throws an exception.

@rossengeorgiev
Copy link
Contributor

Pushed a new version of the package with a fix

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

2 participants