rdeepak2002 / reddit-place-script-2022

Script to draw an image onto r/place (https://www.reddit.com/r/place/)
911 stars 347 forks source link

HELP ME: When I execute start.bat doesn't work #321

Open Olmo-Gutierrez opened 2 years ago

Olmo-Gutierrez commented 2 years ago

When I execute start.bat doesn't work

Any help pls?

ixi2101 commented 2 years ago

What does it say?

rdeepak2002 commented 2 years ago

Hello, please ensure you have Python installed and added to your Windows path (https://www.python.org/downloads/).

Also please execute the following code and paste the logs here (make sure to remove any confidential information):

pip install -r requirements.txt
python main.py --debug
Olmo-Gutierrez commented 2 years ago

Hello, please ensure you have Python installed and added to your Windows path (https://www.python.org/downloads/).

Also please execute the following code and paste the logs here (make sure to remove any confidential information):

pip install -r requirements.txt
python main.py --debug

Ik this is a newbie question but I dont know how to do pip install :/ I dont know how to open python's command line shell

bjb28 commented 2 years ago

This might help with installing pip. You will likley need to do some googling to find the exact match for your OS.

rdeepak2002 commented 2 years ago

If Python is installed to your path you can use any command line application (like the terminal or powershell) to navigate to the project folder, then run the 2 Python commands listed above.

I haven't used Windows in a long time, but the "cd" command in the terminal will allow you to go into a specific folder and the "dir" command will show you the list of folders in the current directory you are in.

Olmo-Gutierrez commented 2 years ago

Hello, please ensure you have Python installed and added to your Windows path (https://www.python.org/downloads/).

Also please execute the following code and paste the logs here (make sure to remove any confidential information):

pip install -r requirements.txt
python main.py --debug

image Is this ok?

Olmo-Gutierrez commented 2 years ago

Okay, done, now this happends when executing the start:

Exception in thread Thread-1 (task): Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64qbz5n2kfra8p0\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64qbz5n2kfra8p0\lib\threading.py", line 946, in run self._target(*self._args, self._kwargs) File "C:\Users\olmor\Downloads\reddit-place-script-2022-main\reddit-place-script-2022-main\main.py", line 710, in task next_pixel_placement_time = self.set_pixel_and_check_ratelimit( File "C:\Users\olmor\Downloads\reddit-place-script-2022-main\reddit-place-script-2022-main\main.py", line 269, in set_pixel_and_check_ratelimit response.json()["errors"][0]["extensions"]["nextAvailablePixelTs"] KeyError: 'extensions' Exception in thread Thread-3 (task): Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64qbz5n2kfra8p0\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64qbz5n2kfra8p0\lib\threading.py", line 946, in run self._target(*self._args, *self._kwargs) File "C:\Users\olmor\Downloads\reddit-place-script-2022-main\reddit-place-script-2022-main\main.py", line 710, in task next_pixel_placement_time = self.set_pixel_and_check_ratelimit( File "C:\Users\olmor\Downloads\reddit-place-script-2022-main\reddit-place-script-2022-main\main.py", line 269, in set_pixel_and_check_ratelimit response.json()["errors"][0]["extensions"]["nextAvailablePixelTs"] KeyError: 'extensions' Exception in thread Thread-6 (task): Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64qbz5n2kfra8p0\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64qbz5n2kfra8p0\lib\threading.py", line 946, in run self._target(self._args, self._kwargs) File "C:\Users\olmor\Downloads\reddit-place-script-2022-main\reddit-place-script-2022-main\main.py", line 710, in task next_pixel_placement_time = self.set_pixel_and_check_ratelimit( File "C:\Users\olmor\Downloads\reddit-place-script-2022-main\reddit-place-script-2022-main\main.py", line 269, in set_pixel_and_check_ratelimit response.json()["errors"][0]["extensions"]["nextAvailablePixelTs"] KeyError: 'extensions'