DiNitride / Discord-Music-Status

A Self-Bot program to display your music from Spotify, iTunes, Winamp, and other music players, as your "Playing" status on Discord
72 stars 19 forks source link

Can't genereate config file. #20

Closed Steexion closed 7 years ago

Steexion commented 7 years ago

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.

DiNitride commented 7 years ago

Try creating one manually and copying in the example config.

Steexion commented 7 years ago

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

DiNitride commented 7 years ago

On Sun, 24 Sep 2017 at 23:04, Steexion notifications@github.com wrote:

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

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/DiNitride/Discord-Music-Status/issues/20#issuecomment-331743426, or mute the thread https://github.com/notifications/unsubscribe-auth/AQznL280POsVw6Vpi0YqBrkukNhoxR5Xks5sltHzgaJpZM4PhbUB .

Please paste last-run.log for me to see

Steexion commented 7 years ago

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

DiNitride commented 7 years ago

On Sun, 24 Sep 2017 at 23:14, Steexion notifications@github.com wrote:

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

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/DiNitride/Discord-Music-Status/issues/20#issuecomment-331743905, or mute the thread https://github.com/notifications/unsubscribe-auth/AQznL-F28LNj21kh_y_oe5WwxpGwesFHks5sltRHgaJpZM4PhbUB .

The program is successfully reading a config file, did you set your token inside the config?

Steexion commented 7 years ago

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

DiNitride commented 7 years ago

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

Steexion commented 7 years ago

Allright. z8c8kgjqqrkundxcazdynw

DiNitride commented 7 years ago

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

Steexion commented 7 years ago

Hmm. This is kinda strange.. screenshot_1

DiNitride commented 7 years ago

On Mon, 25 Sep 2017 at 22:37, Steexion notifications@github.com wrote:

Hmm. This is kinda strange.. [image: screenshot_1] https://user-images.githubusercontent.com/32212796/30832184-7b7de82a-a24a-11e7-9d70-8031d2075779.png

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/DiNitride/Discord-Music-Status/issues/20#issuecomment-332021164, or mute the thread https://github.com/notifications/unsubscribe-auth/AQznL_3AAvBIyaZFzduh-sqwyFjsME1Qks5smB0hgaJpZM4PhbUB .

Uh yeah you’ll need to navigate to the directory it’s in

Steexion commented 7 years ago

Ah, allright. screenshot_1

DiNitride commented 7 years ago

On Mon, 25 Sep 2017 at 22:43, Steexion notifications@github.com wrote:

Ah, allright. [image: screenshot_1] https://user-images.githubusercontent.com/32212796/30832393-431d47e0-a24b-11e7-9e32-e54a47aebe4a.png

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/DiNitride/Discord-Music-Status/issues/20#issuecomment-332022493, or mute the thread https://github.com/notifications/unsubscribe-auth/AQznL-Pk7eZ_wbecpRmbotvDkm_34Tv-ks5smB5sgaJpZM4PhbUB .

????

This makes no sense

It’s reading the file, so it must have generated one, can you confirm it is there?

Steexion commented 7 years ago

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

DiNitride commented 7 years ago

On Mon, 25 Sep 2017 at 22:59, Steexion notifications@github.com wrote:

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. [image: screenshot_1] https://user-images.githubusercontent.com/32212796/30832746-98bc632e-a24c-11e7-8d69-4423b671bd1b.png

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/DiNitride/Discord-Music-Status/issues/20#issuecomment-332026261, or mute the thread https://github.com/notifications/unsubscribe-auth/AQznL_RnlKZufwRM1bLhyEdgdd5LD4Ghks5smCJXgaJpZM4PhbUB .

Try enabling showing hidden files

Steexion commented 7 years ago

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

DiNitride commented 7 years ago

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

Steexion commented 7 years ago

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