jagrosh / jagrosh/MusicBot

[Bug Report] Macos does not see config.txt

Open
#1,136 15 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

On the latest macos I put .jar and config.txt in the same folder. It searches it somewhere it does not exist (path for me: /private/var/folders/57/6j1h_z_j7x18015xs05w4wwh0000gn/T/hsperfdata_rewriter/config.txt)

### Steps to Reproduce

Put the jar and config.txt in the same folder
Upon launch bot will not find config and ask for token

### Expected Result

I expected bot to launch from config

### Debug Output

Macos 12.3

### Additional Info

_No response_

### Checklist

- [X] I have looked for information about this [within the documentation](https://jmusicbot.com/)
- [X] I have searched for similar issues [on the issues page](https://github.com/jagrosh/MusicBot/issues?q=is%3Aissue)
- [X] I am running the latest version of the bot: ![Release](https://img.shields.io/github/release/jagrosh/MusicBot.svg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the launch with the .jar and config.txt in the same folder on macOS, then trace where the bot looks for config.txt. Done means the bot loads the token from the co-located config.txt instead of asking for it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, macos
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.