jesus-figueroa / lol-account-checker

Retrieve information about a league of legends account.
20 stars 12 forks source link

Some Errors #28

Open phy-y opened 9 months ago

phy-y commented 9 months ago

Hi bro, i trying to use your tool, but got a lot of errors, any chance u take a look on it?

Traceback (most recent call last): File "C:\Users\phy\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 971, in json return complexjson.loads(self.text, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\phy\AppData\Local\Programs\Python\Python311\Lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\phy\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\phy\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\Users\phy\Desktop\lol-account-checker-main\lolchecker.py", line 490, in account_checker = AccountChecker(username, password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\phy\Desktop\lol-account-checker-main\lolchecker.py", line 227, in init self.purchase_history = self.get_purchase_history() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\phy\Desktop\lol-account-checker-main\lolchecker.py", line 345, in get_purchase_history ).json() ^^^^^^ File "C:\Users\phy\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 975, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)