Bug on opening main.py
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: i just open main.py and get errors
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System (please complete the following information):
- Python Version: [e.g. Python 3.10]
- OS: macos 12.2.1 (21D62)]
- App version / Branch [e.g. latest, V2.0, master, develop ]
Additional context
Add any other context about the problem here.
Last login: Mon Jul 25 21:23:11 on ttys001
lachlancrawford@Lachlans-MacBook-Air ~ % python main.py
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'main.py': [Errno 2] No such file or directory
lachlancrawford@Lachlans-MacBook-Air ~ % /Users/lachlancrawford/RedditVideoMakerBot/RedditVideoMakerBot/main.py
File "/Users/lachlancrawford/RedditVideoMakerBot/RedditVideoMakerBot/main.py", line 24
SyntaxError: Non-ASCII character '\xe2' in file /Users/lachlancrawford/RedditVideoMakerBot/RedditVideoMakerBot/main.py on line 25, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
lachlancrawford@Lachlans-MacBook-Air ~ %
lachlancrawford@Lachlans-MacBook-Air ~ % python3 /Users/lachlancrawford/RedditVideoMakerBot/RedditVideoMakerBot/main.py
Traceback (most recent call last):
File "/Users/lachlancrawford/RedditVideoMakerBot/RedditVideoMakerBot/main.py", line 10, in
@lmc87lmc It's not a bug
Try to install ffmpeg
brew install ffmpeg
If you don't have brew installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
thanks, just installed it jut now it fails lachlancrawford@Lachlans-MacBook-Air ~ % python3 /Users/lachlancrawford/Downloads/RedditVideoMakerBot-master/main.py Using Australia server backend.
██████╗ ███████╗██████╗ ██████╗ ██╗████████╗ ██╗ ██╗██╗██████╗ ███████╗ ██████╗ ███╗ ███╗ █████╗ ██╗ ██╗███████╗██████╗ ██╔══██╗██╔════╝██╔══██╗██╔══██╗██║╚══██╔══╝ ██║ ██║██║██╔══██╗██╔════╝██╔═══██╗ ████╗ ████║██╔══██╗██║ ██╔╝██╔════╝██╔══██╗ ██████╔╝█████╗ ██║ ██║██║ ██║██║ ██║ ██║ ██║██║██║ ██║█████╗ ██║ ██║ ██╔████╔██║███████║█████╔╝ █████╗ ██████╔╝ ██╔══██╗██╔══╝ ██║ ██║██║ ██║██║ ██║ ╚██╗ ██╔╝██║██║ ██║██╔══╝ ██║ ██║ ██║╚██╔╝██║██╔══██║██╔═██╗ ██╔══╝ ██╔══██╗ ██║ ██║███████╗██████╔╝██████╔╝██║ ██║ ╚████╔╝ ██║██████╔╝███████╗╚██████╔╝ ██║ ╚═╝ ██║██║ ██║██║ ██╗███████╗██║ ██║ ╚═╝ ╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
Thanks for using this tool! Feel free to contribute to this project on GitHub! If you have any questions, feel free
to reach out to me on Twitter or submit a GitHub issue. You can find solutions to many common problems in the
Documentation
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ You are using v2.3 of the bot │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Encountered error when trying to to load .config.template.toml: [Errno 2] No such file or directory: '.config.template.toml' lachlancrawford@Lachlans-MacBook-Air ~ %
@lmc87lmc Don't run it like that
python3 /Users/lachlancrawford/Downloads/RedditVideoMakerBot-master/main.py
Run the bot like this
cd ~/Downloads/RedditVideoMakerBot-master
python3 main.py
It's trying to find utils/.config.template.toml in the root of your filesystem. So it's not a surprise it's not there🐸
https://github.com/elebumm/RedditVideoMakerBot/issues/1069