Open prbreezy opened 8 months ago
Hi my bot is stuck at this stage:
2024-03-08 11:11:05,293:DEBUG:utils.logger - Autoroller handler initialized 2024-03-08 11:11:05,319:DEBUG:utils.logger - [CACHE] Loaded cache from image_cache.pkl. 2024-03-08 11:11:05,320:DEBUG:utils.logger - Cache initialized. 2024-03-08 11:11:05,321:INFO:utils.logger - Starting... 2024-03-08 11:11:05,324:DEBUG:utils.logger - [CACHE] Caching C:\git\monopolygobot-main\images\in-home-icon.png... Exception in thread playerinfo.in_home_status: Traceback (most recent call last): File "C:\Python311\Lib\threading.py", line 1045, in _bootstrap_inner self.run() File "C:\Python311\Lib\threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "C:\git\monopolygobot-main\utils\player_info.py", line 186, in in_home_status_thread in_home_location = ocr_utils.find(in_home_image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\git\monopolygobot-main\utils\ocr_utils.py", line 52, in find screenshot = ImageGrab.grab( ^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\PIL\ImageGrab.py", line 63, in grab im = im.crop((left - x0, top - y0, right - x0, bottom - y0)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\PIL\Image.py", line 1201, in crop raise ValueError(msg) ValueError: Coordinate 'right' is less than 'left'
Any idea?
Hi my bot is stuck at this stage:
2024-03-08 11:11:05,293:DEBUG:utils.logger - Autoroller handler initialized 2024-03-08 11:11:05,319:DEBUG:utils.logger - [CACHE] Loaded cache from image_cache.pkl. 2024-03-08 11:11:05,320:DEBUG:utils.logger - Cache initialized. 2024-03-08 11:11:05,321:INFO:utils.logger - Starting... 2024-03-08 11:11:05,324:DEBUG:utils.logger - [CACHE] Caching C:\git\monopolygobot-main\images\in-home-icon.png... Exception in thread playerinfo.in_home_status: Traceback (most recent call last): File "C:\Python311\Lib\threading.py", line 1045, in _bootstrap_inner self.run() File "C:\Python311\Lib\threading.py", line 982, in run self._target(*self._args, **self._kwargs) File "C:\git\monopolygobot-main\utils\player_info.py", line 186, in in_home_status_thread in_home_location = ocr_utils.find(in_home_image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\git\monopolygobot-main\utils\ocr_utils.py", line 52, in find screenshot = ImageGrab.grab( ^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\PIL\ImageGrab.py", line 63, in grab im = im.crop((left - x0, top - y0, right - x0, bottom - y0)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\PIL\Image.py", line 1201, in crop raise ValueError(msg) ValueError: Coordinate 'right' is less than 'left'
Any idea?