Closed PearsonFlyer closed 5 years ago
Thanks for the report. I have no idea what caused this error or how to fix it, but ill look into it. Did this only happen one time or has it happened several times?
I'm getting a couple of others, but that one happened just one time. I'm getting this one as well. Just to be sure I didn't screw anything up, I blew out my install directory, and re-did pip install bw_plex[all].
2019-01-14 12:16:46,713 :: bw_plex :: ERROR :: plex.py:54 :: There was an exception in task
Traceback (most recent call last):
File "c:\python27\lib\site-packages\bw_plex\plex.py", line 50, in inner
return func(*args)
File "c:\python27\lib\site-packages\bw_plex\plex.py", line 788, in task
process_to_db(media, vid=vid)
File "c:\python27\lib\site-packages\bw_plex\plex.py", line 48, in inner
return func(*args, **kwargs)
File "c:\python27\lib\site-packages\bw_plex\plex.py", line 143, in process_to_db
check=-1)
File "c:\python27\lib\site-packages\bw_plex\credits.py", line 320, in find_credits
recs = locate_text(frame, debug=False)
File "c:\python27\lib\site-packages\bw_plex\credits.py", line 240, in locate_text
rect = cv2.boundingRect(contour)
error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\imgproc\src\shapedescr.cpp:741: error: (-215:Assertion failed) npoints >= 0 && (depth == CV_32F || depth == CV_32S) in function 'cv::pointSetBoundingRect'
And my config file looks like this;
[general] thread_pool_number = 10 debug = False level = debug mode = skip_only_theme ignore_intro_ratingkeys = , ignore_outro_ratingkeys = ,
no_wait_tick = 0
clients = , users = [my user, so I'm not skipping for my other users]
[server] url = http://192.168.1.54:32400 token = [token removed] verify_ssl = False name = DellHTPC username =[my user] password = [my pass] [tv] check_credits = True check_credits_action = skip check_credits_start_next_ep = True check_credits_sec = 120 check_for_theme_sec = 600 check_intro_ffmpeg_sec = 600 process_recently_added = False process_deleted = False theme_source = all words = previously on, last season, last episode create_edl = False edl_action_type = 3
[movie] check_credits = True check_credits_action = skip check_credits_sec = 600 check_intro_ffmpeg_sec = 600 process_recently_added = False process_deleted = False create_edl = False edl_action_type = 3
Awesome, thanks. In the future exceptions this this should not mess up the entire ep processing but just the credits part.
Fixed.
New install on Windows 10, and things have been running well. Just got this error, though, and wanted to report it and make sure it wasn't anything to be concerned about.