Tyrrrz / YoutubeDownloader

Downloads videos and playlists from YouTube
MIT License
8.71k stars 1.19k forks source link

Launching fails with a big JSON error message #344

Closed WangleLine closed 1 year ago

WangleLine commented 1 year ago

Version

1.9.12

Details

I was just trying to launch the program as usual, then this error greeted me. Trying again did not work, restarting my computer did not work. I'll try re-installing soon.

Discord_TDeX0ytHAC

Steps to reproduce

Tyrrrz commented 1 year ago

Hmm. That's weird. Can you copy-paste the contents of your Settings.dat file? Should be in the same directory as YoutubeDownloader.exe.

WangleLine commented 1 year ago

Oh, it was completely empty. That's wild.

Deleting the file fixed the issue

Tyrrrz commented 1 year ago

Did the application crash at some point? I wonder why would it end up writing an empty file

WangleLine commented 1 year ago

I can't remember the program crashing at any point, no

Tyrrrz commented 1 year ago

@WangleLine did you install YTD using scoop by any chance?

Related: https://github.com/Tyrrrz/DiscordChatExporter/issues/1050

WangleLine commented 1 year ago

Oh hey, sorry - I don't use scoop or YTD at all. The issue appeared again today, seemingly out of nowhere. Had to delete settings again.

chrome_v5g44PkATq

WangleLine commented 1 year ago

oh right, I'll also update to the latest release now.

Tyrrrz commented 1 year ago

Yes, please update. If it doesn't help, delete Settings.dat file and try again.