-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not found #19
Comments
No worries, do you know what the path to your Desktop is ? |
Oh, for some reason my desktop folder was moved to OneDrive. The path is : C:\Users\daxer\Bureau\ |
Yea so basically the logger wants to make a file on your desktop at 'C:\Users\daxer\Desktop\log.txt' but since that path doesn't exist it throws an error. You can either set ur Desktop folder back to normal or comment out line 14 in bot.py and it should work fine. If neither works let me know. |
Everything is working ! I commented out the line and I just did a game , everything seems to work fine :D Thank you so much ! Have a great night |
Np! |
I have some issues with the launching file : I have installed python 3.10 and used the installer file but after using the launcher, it gets me to this error.
C:\Users\daxer\OneDrive\Bureau\lol-bot-main\scripts>python bot.py
Traceback (most recent call last):
File "C:\Users\daxer\OneDrive\Bureau\lol-bot-main\scripts\bot.py", line 58, in
main()
File "C:\Users\daxer\OneDrive\Bureau\lol-bot-main\scripts\bot.py", line 13, in main
logging.basicConfig(
File "C:\Users\daxer\AppData\Local\Programs\Python\Python310\lib\logging_init_.py", line 2031, in basicConfig
h = FileHandler(filename, mode,
File "C:\Users\daxer\AppData\Local\Programs\Python\Python310\lib\logging_init_.py", line 1167, in init
StreamHandler.init(self, self.open())
File "C:\Users\daxer\AppData\Local\Programs\Python\Python310\lib\logging_init.py", line 1197, in _open
return open_func(self.baseFilename, self.mode,
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\daxer\Desktop\log.txt'
C:\Users\daxer\OneDrive\Bureau\lol-bot-main\scripts>pause
(Sorry if its an obvious error, i dont know anything about python)
The text was updated successfully, but these errors were encountered: