Alyetama / Gofile

Upload files to gofile.io
https://alyetama.github.io/Gofile
21 stars 4 forks source link

gofile upload failed #7

Open NEWBIENOOB-0 opened 1 month ago

NEWBIENOOB-0 commented 1 month ago

Traceback (most recent call last): File "/home/edith/.local/bin/gofile", line 8, in sys.exit(gofile.main()) File "/home/edith/.local/lib/python3.10/site-packages/gofilepy/gofile.py", line 177, in main gofile_upload( File "/home/edith/.local/lib/python3.10/site-packages/gofilepy/gofile.py", line 62, in gofile_upload best_server = get_server.json()['data']['server'] File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3.10/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/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)

Alyetama commented 1 month ago

Thank you for reporting the issue. The issue was fixed in the latest release. Please update the package and try again!​

pip install -U gofilepy