DiNitride/Discord-Music-Status

Can't genereate config file.

Closed this issue · 18 comments

Hello.

I seem to have an issue with the config file not getting generated after i launch "run.py".
Discord.py and logbook is installed, and up to date. Snip is running as well.

When i launch "run.py", i get the following message:
[2017-09-23 03:24:19.357770] DEBUG: Discord Music: Loading config files
[2017-09-23 03:24:19.358773] CRITICAL: Discord Music: No token set! Exiting.

Try creating one manually and copying in the example config.

I tried creating one manually, with the example config, but it seems like I still have the same problem.

Allright, this is the only thing displayed in the last-run.log:

[2017-09-24 22:11:33.928563] DEBUG: Discord Music: Loading config files
[2017-09-24 22:11:33.930067] CRITICAL: Discord Music: No token set! Exiting

Yes, i did set my token inside the config, and I also set the right path to the snip.txt file.

Could you show me how your config is setup, remove your token but keep any formatting it has

Allright.
z8c8kgjqqrkundxcazdynw

Hmm, very strange. Could you try deleting the config file, and running the script via cmd

python run.py

and show me the output of the window

Hmm. This is kinda strange..
screenshot_1

Ah, allright.
screenshot_1

Well, is the file is supposed to be genereated in the Discord-music-status folder? If it is supposed to be in that folder, then it's probably not there. This is everything i have inside that folder after i deleted the config file that I manually created. I also searched on my C:\ drive, but i could not find any config file that might be the right one.
screenshot_1

I enabled showing hidden files, but i'm still not able to find any config file.

This is a very odd problem, I'm not entirely sure what is incorrect here.

Yeah, I'll just uninstall everything and start from scratch. Maybe I'll figure something out 👍