Vash63 / bsmodinstaller.py

Downloads and installs Beat Saber SongLoader, SyncSaber & Other Mods
GNU General Public License v3.0
3 stars 2 forks source link

Code halts at downloading mods #3

Open xSPARExSTEWx opened 5 years ago

xSPARExSTEWx commented 5 years ago

Tried to run your script and I am getting problems. Ubuntu 18.04. Winetricks has been installed with newest version. I installed dotnet not sure if it was successful. Terminal output is as below.

matt@Matt-Desktop:~/.steam/steam/steamapps/common/Beat Saber$ python3 bsmodinstaller.py Installing songloader from modsaber... Traceback (most recent call last): File "bsmodinstaller.py", line 123, in <module> ModInstaller.install_mod(item) File "bsmodinstaller.py", line 91, in install_mod modsaber_meta_data = requests.get(modsaber_url).json() File "/usr/lib/python3/dist-packages/requests/models.py", line 892, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Vash63 commented 5 years ago

The website I sourced from went offline so this was expected. I haven't had much time to work on this but https://github.com/Vash63/bsmodinstaller.py/pull/4 was helpfully provided to me and should fix this issue by switching to beatmods as the download source.