Siterizer / new-world-fishing-bot

user friendly python script who is able to catch fish in the game New World
GNU General Public License v3.0
294 stars 124 forks source link

Problem at start #233

Closed Aedito closed 2 years ago

Aedito commented 2 years ago

Hey guys! When i start fishing vie bot.exe i have following problem:

Exception in Tkinter callback Traceback (most recent call last): File "tkinter__init.py", line 1892, in call__ File "gui\gui_functions.py", line 57, in start_fishing File "functionality\fishing_loop.py", line 13, in fishing_loop File "functionality\fishing_loop.py", line 31, in call_appropriate_fishing_action File "functionality\image_recognition.py", line 18, in image_recognition_result cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-sn_xpupm\opencv\modules\imgproc\src\templmatch.cpp:1164: error: (-215:Assertion failed) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function 'cv::matchTemplate'

Any advice?

Thx

Aedito

cobra-7777 commented 2 years ago

I think the fix for this was moving the bot to the C:/ drive. Not sure

Aedito commented 2 years ago

Problem solved! Thanks! I moved the bot from desktop to C:\bot and now it works!