MCServerScout/Discord-Bot

The Logger.py is not working

Closed this issue · 8 comments

Logger not callable
image

Can you provide a directory tree, and try and follow the setup guide here.

lemme try to follow setup guide

also how tf u run the bot

image
i Tried follow the setup but it just gimme that mess
here the text if u want C:\Users\Temp\Downloads\Discord-Bot-master\Discord-Bot-master>python3 botHandler.pyw


Updating files
Traceback (most recent call last):
File "C:\Users\Temp\Downloads\Discord-Bot-master\Discord-Bot-master\botHandler.pyw", line 188, in
main()
File "C:\Users\Temp\Downloads\Discord-Bot-master\Discord-Bot-master\botHandler.pyw", line 162, in main
download_zip()
File "C:\Users\Temp\Downloads\Discord-Bot-master\Discord-Bot-master\botHandler.pyw", line 84, in download_zip
subprocess.call(["mkdir", git_dir])
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

C:\Users\Temp\Downloads\Discord-Bot-master\Discord-Bot-master>python3 botHandler.py

do i need to do sentry uri or anything

Can you open the directory and run tree and the handler assumes a Linux os, you can use wsl or a vm.

Changed the setup guide which can now be found here, try that and let me know how it goes.