Can't get the bot to work.
See original GitHub issuePlease tick all applicable boxes.
- I am using Python 3.5.3 or higher (run
python --version
on the command line) - I have followed the official guides to install the bot for my system
- I have updated my dependencies to the latest version using the appropriate
update
script
Which version are you using?
- The latest
master
version (release-260419) - The latest
review
version
What type of issue are you creating?
- Bug
- Feature request
- Question
Description of issue
The bot just won’t start on my VPS (Ubuntu 20.04).
Steps to reproduce
- When executing the first guide command:
sudo add-apt-repository ppa:deadsnakes/ppa
I get the following error:
E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
- Decided to go ahead anyway and everything worked, except the bot won’t start. this happens:
root@mail:~/MusicBot# sudo ./run.sh
./run.sh: line 7: python: command not found
./run.sh: line 7: python: command not found
./run.sh: line 7: python: command not found
./run.sh: line 9: python3.5: command not found
./run.sh: line 10: python3.6: command not found
./run.sh: line 14: [: no py: integer expression expected
[INFO] launcher: Starting sanity checks
[INFO] launcher: Checking for Python 3.5+
[INFO] launcher: Checking console encoding
[INFO] launcher: Ensuring we're in the right environment
[INFO] launcher: Required checks passed.
[INFO] launcher: Optional checks passed.
Traceback (most recent call last):
File "run.py", line 438, in <module>
main()
File "run.py", line 347, in main
finalize_logging()
File "run.py", line 179, in finalize_logging
dlh.setFormatter(logging.Formatter('.'))
File "/usr/lib/python3.8/logging/__init__.py", line 580, in __init__
self._style.validate()
File "/usr/lib/python3.8/logging/__init__.py", line 433, in validate
raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0]))
ValueError: Invalid format '.' for '%' style
Log file
Please attach your MusicBot log file (located at logs/musicbot.log
) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Discord Bot Troubleshooting - Scryfall
Make sure the bot is visible on the user list. If it's not visible, the bot does not have access to your current...
Read more >I can't get this bot to work? : r/discordapp - Reddit
Seems to work just fine for me. Maybe double-check that the bot has the right permissions to read messages, send messages, and embed...
Read more >Troubleshoot bot configuration issues - Bot Service
There can be many reasons why a bot doesn't work. Most likely, the bot application is down and can't receive messages, or the...
Read more >My Discord bot is not responding to commands - Stack Overflow
And im stuck on this one part of the tutorial that i can't get to work. I can't Get the bot to respond...
Read more >Unable to get my discord bot online - Code Help - Glitch Support
If you're encountering problems with your bot's connection to the Discord API it may be because Discord has banned one or more of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please view the reply directly above yours.
The
master
branch now has a fix for this.