Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

OpenCV Assertion and bin\adb.exe is not recognized as an internal or external command #73

Open
LawCashh opened this issue Jan 3, 2019 · 0 comments

Comments

@LawCashh
Copy link

LawCashh commented Jan 3, 2019

$ pythonw main.py gui -s C:\Users\LawCash\AppData\Local\Programs\Python\Python36\lib\site-packages\h5py_ init_.py:36: FutureWarning: Conversion of the second argument of issubdtype fr om float to np.floating is deprecated. In future, it will be treated as np. float64 == np.dtype(float).type. from .conv import register_converters as register_converters 2019-01-03 21:15:03 - INFO - bot - APScheduler failed to schedule run, forcing r un now 2019-01-03 21:15:03 - DEBUG - bot - Value stop modified 2019-01-03 21:15:03 - INFO - apscheduler.scheduler - Scheduler started 2019-01-03 21:15:03 - DEBUG - bot - Value run_now modified 2019-01-03 21:15:03 - INFO - bot - Forcing run now 2019-01-03 21:15:03 - DEBUG - bot - Value next_run_at modified to 2019-01-03 21: 15:04.374644 2019-01-03 21:15:03 - INFO - apscheduler.scheduler - Added job "DuelLinkRunTime. in_main" to job store "default" 2019-01-03 21:15:03 - INFO - bot - Next run at 2019-01-03T21:15:04.374644 2019-01-03 21:15:03 - INFO - apscheduler.scheduler - Added job "DuelLinkRunTime. in_main" to job store "default" 2019-01-03 21:15:03 - DEBUG - bot - Value run_now modified 2019-01-03 21:15:03 - INFO - apscheduler.executors.default - Running job "DuelLi nkRunTime.in_main (trigger: date[2019-01-03 21:15:03 CET], next run at: 2019-01- 03 21:15:03 CET)" (scheduled at 2019-01-03 21:15:03.690000+01:00) 2019-01-03 21:15:03 - INFO - apscheduler.scheduler - Removed job cron_main_force 2019-01-03 21:15:03 - DEBUG - bot - Value last_run_at modified to 2019-01-03 21: 15:03.692929 2019-01-03 21:15:03 - INFO - bot.provider.Nox - Checking for Start Screen 2019-01-03 21:15:03 - INFO - bot.provider.Nox - Waiting for DuelLinks Landing Pa ge 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 2019-01-03 21:15:04 - INFO - apscheduler.executors.default - Running job "DuelLi nkRunTime.in_main (trigger: date[2019-01-03 21:15:04 CET], next run at: 2019-01- 03 21:15:04 CET)" (scheduled at 2019-01-03 21:15:04.374644+01:00) 2019-01-03 21:15:04 - INFO - apscheduler.scheduler - Removed job cron_main_at_20 19-01-03T21:15:04.374644 2019-01-03 21:15:04 - DEBUG - bot - Value last_run_at modified to 2019-01-03 21: 15:04.392536 2019-01-03 21:15:04 - INFO - bot.provider.Nox - Checking for Start Screen 2019-01-03 21:15:04 - INFO - bot.provider.Nox - Waiting for DuelLinks Landing Pa ge 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 2019-01-03 21:15:07 - DEBUG - bot.provider.Nox - LOOKING FOR BACK BUTTON, HIGH C ORRERLATION 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 2019-01-03 21:15:07 - DEBUG - bot - duel_links_runtime.py 43 7 2019-01-03 21:15:07 - DEBUG - bot - Traceback (most recent call last): File "C:\Users\LawCash\Yugioh-bot\bot\duel_links_runtime.py", line 437, in in_ main provider.compare_with_back_button() File "C:\Users\LawCash\Yugioh-bot\bot\providers\nox\nox.py", line 193, in comp are_with_back_button img = self.get_img_from_screen_shot() File "C:\Users\LawCash\Yugioh-bot\bot\providers\actions.py", line 41, in get_i mg_from_screen_shot img = cv2.imdecode(nparr, cv2.IMREAD_COLOR) cv2.error: C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp:6 37: error: (-215) !buf.empty() && buf.isContinuous() in function cv::imdecode_ 2019-01-03 21:15:07 - INFO - apscheduler.executors.default - Job "DuelLinkRunTim e.in_main (trigger: date[2019-01-03 21:15:03 CET], next run at: 2019-01-03 21:15 :03 CET)" executed successfully 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 2019-01-03 21:15:08 - DEBUG - bot.provider.Nox - LOOKING FOR BACK BUTTON, HIGH C ORRERLATION 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 2019-01-03 21:15:08 - DEBUG - bot - duel_links_runtime.py 43 7 2019-01-03 21:15:08 - DEBUG - bot - Traceback (most recent call last): File "C:\Users\LawCash\Yugioh-bot\bot\duel_links_runtime.py", line 437, in in_ main provider.compare_with_back_button() File "C:\Users\LawCash\Yugioh-bot\bot\providers\nox\nox.py", line 193, in comp are_with_back_button img = self.get_img_from_screen_shot() File "C:\Users\LawCash\Yugioh-bot\bot\providers\actions.py", line 41, in get_i mg_from_screen_shot img = cv2.imdecode(nparr, cv2.IMREAD_COLOR) cv2.error: C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp:6 37: error: (-215) !buf.empty() && buf.isContinuous() in function cv::imdecode_ 2019-01-03 21:15:08 - INFO - apscheduler.executors.default - Job "DuelLinkRunTim e.in_main (trigger: date[2019-01-03 21:15:04 CET], next run at: 2019-01-03 21:15 :04 CET)" executed successfully 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 'bin\adb.exe' is not recognized as an internal or external command, operable program or batch file. OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in cv::imdec ode_, file C:\projects\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp, line 637 2019-01-03 21:15:20 - DEBUG - bot - Value stop modified 2019-01-03 21:15:20 - INFO - bot - Shutdown started 2019-01-03 21:15:20 - INFO - apscheduler.scheduler - Scheduler has been shut dow n 2019-01-03 21:15:20 - INFO - bot - Shutdown complete 2019-01-03 21:15:21 - INFO - bot - Exiting Yugioh-DuelLinks Bots

@LawCashh LawCashh closed this as completed Jan 3, 2019
@LawCashh LawCashh reopened this Jan 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant