pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.8k stars 276 forks source link

[APP SUBMITTED]: UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 26: invalid start byte #5463

Closed mcmikev closed 6 years ago

mcmikev commented 6 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)] Operating System: Linux-3.10.105-x86_64-with-glibc2.2.5 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@4614efc77151ded92ef458a09dec39f8bd5acfc6 Link to Log: https://gist.github.com/947b7d49694fec89492cbf1bfa870df8

ERROR

2018-10-20 09:12:08 ERROR    SHOWQUEUE-ADD :: [4614efc] Error searching dir for episodes: 'utf8' codec can't decode byte 0x92 in position 26: invalid start byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/show_queue.py", line 617, in run
    self.show.load_episodes_from_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 985, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 113, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 50, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 47, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, 'utf-8' if os.name != 'nt' else fs_encoding)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 26: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

mcmikev commented 6 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)] Operating System: Linux-3.10.105-x86_64-with-glibc2.2.5 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@4614efc77151ded92ef458a09dec39f8bd5acfc6 Link to Log: https://gist.github.com/a9ae77ca5109ebfe5842c4e8395383d2

ERROR

2018-10-20 09:49:37 ERROR    SHOWQUEUE-ADD :: [4614efc] Error searching dir for episodes: 'utf8' codec can't decode byte 0x92 in position 23: invalid start byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/show_queue.py", line 617, in run
    self.show.load_episodes_from_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 985, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 113, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 50, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 47, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, 'utf-8' if os.name != 'nt' else fs_encoding)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 23: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

mcmikev commented 6 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)] Operating System: Linux-3.10.105-x86_64-with-glibc2.2.5 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@4614efc77151ded92ef458a09dec39f8bd5acfc6 Link to Log: https://gist.github.com/152b6ae3c5cb6b12c518d5842401adb2

ERROR

2018-10-20 09:44:26 ERROR    SHOWQUEUE-ADD :: [4614efc] Error searching dir for episodes: 'utf8' codec can't decode byte 0xe6 in position 20: invalid continuation byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/show_queue.py", line 617, in run
    self.show.load_episodes_from_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 985, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 113, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 50, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 47, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, 'utf-8' if os.name != 'nt' else fs_encoding)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 20: invalid continuation byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

mcmikev commented 6 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)] Operating System: Linux-3.10.105-x86_64-with-glibc2.2.5 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@4614efc77151ded92ef458a09dec39f8bd5acfc6 Link to Log: https://gist.github.com/3158e0455ac1c3e5accd5bfef7b8cda3

ERROR

2018-10-21 09:07:25 ERROR    Thread_3 :: [4614efc] Exception generated: 'utf8' codec can't decode byte 0x92 in position 23: invalid start byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/home/post_process.py", line 49, in processEpisode
    ignore_subs=argToBool(ignore_subs)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/process_tv.py", line 126, in process
    if not self.should_process(path, failed):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/process_tv.py", line 213, in should_process
    for root, dirs, files in os.walk(path):
  File "/volume1/@appstore/sickbeard-custom/env/lib/python2.7/os.py", line 278, in walk
    names = listdir(top)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 113, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 50, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 47, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, 'utf-8' if os.name != 'nt' else fs_encoding)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 23: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

medariox commented 6 years ago

Should be fixed with the new release. Let us know if it isn't.

mcmikev commented 5 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)] Operating System: Linux-3.10.105-x86_64-with-glibc2.2.5 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@54da0c77d705a23f1ce67945ba4af3e1b978dcfc Link to Log: https://gist.github.com/ca40ec17434063e254f1b07a047c4806

ERROR

2018-11-26 09:45:19 ERROR    SHOWQUEUE-ADD :: [54da0c7] Error searching dir for episodes: 'utf8' codec can't decode byte 0x92 in position 26: invalid start byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/show_queue.py", line 619, in run
    self.show.load_episodes_from_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 994, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 112, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 49, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 46, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, fs_encoding if valid_encoding else 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 26: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

p0psicles commented 5 years ago

@medariox hmm?

InToSSH commented 5 years ago

Yes, I still have the same error even after the new release. Happens only for one of the shows.

medariox commented 5 years ago

This can only happen if you are using non-UTF-8 encodings (e.g. latin1) in your OS and don't have the locale set (or not the correct one). In that case Medusa defaults to UTF-8 for Unix. You might have noticed a warning message at the start of Medusa. The easiest solution is to just set the encoding you are using for your files and folders. This is a generic tutorial on how to do it: https://www.shellhacks.com/linux-define-locale-language-settings/ but a quick Google search should also yield OS specific tutorials.

mcmikev commented 5 years ago

This is my Locale: admin@NAS:~$ locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=en_US.utf8

I have this error with show Bull (2016).

File /volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py:32, in decode: return text_type(value, fs_encoding if valid_encoding else 'utf-8') UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 26: invalid start byte

Nothing weird in the title, Sonarr works, but medusa keeps adding them to the download queue because it does not see the directory right. When clicking on the show icon: Mako Error

A mako error has occured. If this happened during an update a simple page refresh may be the solution. Mako errors that happen during updates may be a one time error if there were significant ui changes.

InToSSH commented 5 years ago

@medariox My system is set to UTF-8.

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

It only happens for show Supernatural (2005), the rest is working. I have the Medusa installed on the OSMC Vero 4K, it is accessing the Synology NAS with the shows stored on it through NFS. I did the fresh installed of Medusa yesterday, using the latest Release. I got the warning about locales, so I did the dpkg-reconfigure locales and set it to UTF-8, rebooted, the message went away, but the problem is still there.

medariox commented 5 years ago

When does the error happen exactly? What do you do to trigger it? @mcmikev The problem is with one of the files contained in the show folder. Do you have any files with non-ASCII chars? Are you sure that these are UTF-8 encoded and not something else? Please post the name of the file that is causing the error.

mcmikev commented 5 years ago

Well the fun thing is that the files are already downloaded with sonar in the past. However Medusa does see the dir as a new show (when adding already show) but then cannot "see" in the directory Example of file that keeps giving this error: Bull (2016).S01E10.EJ WEBDL-1080p-Sonarr.mkv

medariox commented 5 years ago

There must be some non-ASCII char somewhere in the path... otherwise this error wouldn't happen. Probably hidden in the spaces or something.

InToSSH commented 5 years ago

@medariox for me it happened after I added existing show. And also I i rescan the show manually, unfortunatelly I cannot find on which file it fails, it just gives the error and trace. I went through the files and didn't see anything unusual. There are mostly just dots, dashes, brackets and square brackets in file names. Is there a way to find on which file it fails? I checked just the logs in the Web UI, is there some kind of debug mode?

medariox commented 5 years ago

@InToSSH Yes, you can enable debug logging in Gear > General > Advanced Settings

InToSSH commented 5 years ago

@medariox thank you, unfortunatelly debug didn't give me enough info aswell

2018-11-26 14:37:39 DEBUG    Thread_4 :: [54da0c7] 78901: Queueing show refresh for Supernatural
2018-11-26 14:37:40 INFO     SHOWQUEUE-REFRESH :: [54da0c7] 78901: Performing refresh on Supernatural
2018-11-26 14:37:40 DEBUG    SHOWQUEUE-REFRESH :: [54da0c7] 78901: Loading all episodes from the show directory: /mnt/nfs/htpc/Serialy/Supernatural
2018-11-26 14:37:46 ERROR    SHOWQUEUE-REFRESH :: [54da0c7] 78901: Error while refreshing show Supernatural. Error: 'utf8' codec can't decode byte 0x92 in position 46: invalid start byte
Traceback (most recent call last):
  File "/opt/medusa/medusa/show_queue.py", line 688, in run
    self.show.refresh_dir()
  File "/opt/medusa/medusa/tv/series.py", line 1741, in refresh_dir
    self.load_episodes_from_dir()
  File "/opt/medusa/medusa/tv/series.py", line 994, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/opt/medusa/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/opt/medusa/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/opt/medusa/medusa/init/filesystem.py", line 112, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/opt/medusa/medusa/init/filesystem.py", line 49, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/opt/medusa/medusa/init/filesystem.py", line 46, in _handle_output_u
    return decode(result)
  File "/opt/medusa/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, fs_encoding if valid_encoding else 'utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 46: invalid start byte

Does it look only for media files or the input to this function is all the files, because I haven't checked like .txt files.

EDIT: the 0x92 should be "smart quote (')", so at least I know what to look for.

InToSSH commented 5 years ago

Alright.. I have fixed it. It was the weird instead of ' which is from windows-1252

So here is my solution, might help someone, I used this utility:

root@htpc-livingroom:/mnt/nfs/htpc/Serialy/Supernatural# convmv -r -f windows-1252 -t UTF-8 .

Which gave me list of files:

mv "./Season 12/Supernatural S12E05 (SDTV) [lol] - The One You▒ve Been Waiting For.mkv" "./Season 12/Supernatural S12E05 (SDTV) [lol] - The One You’ve Been Waiting For.mkv"
mv "./Season 04/Season_4/Supernatural S04E02 - Are You There, God. It▒s Me Dean Winches.avi"    "./Season 04/Season_4/Supernatural S04E02 - Are You There, God. It’s Me Dean Winches.avi"
mv "./Season 04/Season_4/Supernatural S04E02 - Are You There, God. It▒s Me Dean Winches.cs.srt" "./Season 04/Season_4/Supernatural S04E02 - Are You There, God. It’s Me Dean Winches.cs.srt"
mv "./Season 04/Season_4/Supernatural S04E02 - Are You There, God. It▒s Me Dean Winches.srt"    "./Season 04/Season_4/Supernatural S04E02 - Are You There, God. It’s Me Dean Winches.srt"
mv "./Season 11/Supernatural S11E12 (SDTV) [lol] - Don▒t You Forget about Me.mp4"       "./Season 11/Supernatural S11E12 (SDTV) [lol] - Don’t You Forget about Me.mp4"
mv "./Season 11/Supernatural S11E20 [lol] - Don▒t Call Me Shurley.mkv"  "./Season 11/Supernatural S11E20 [lol] - Don’t Call Me Shurley.mkv"
mv "./Season 11/Supernatural S11E12 [lol] - Don▒t You Forget about Me.mp4"      "./Season 11/Supernatural S11E12 [lol] - Don’t You Forget about Me.mp4"

Then after you make sure it would make the move to correct filename, you run the same command with --notest option, which makes the mv. After that I ran the Rescan again and all went file.

@medariox maybe it would be nice to add some str_replace() before this function which fails for this particular \x92 character, which seems to be making most problems.

mykado commented 5 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 15:26:34) [GCC 4.3.2] Operating System: Linux-2.6.32.12-ppc-with-glibc2.0 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@918cfe7ce01808499585ffe6c1356fd5ed369f76 Link to Log: https://gist.github.com/8c24a35127f1923e910f84f6d2ee8c34

ERROR

2019-01-03 04:18:11 ERROR    SHOWQUEUE-REFRESH :: [918cfe7] 274431: Error while refreshing show Gotham. Error: 'utf8' codec can't decode byte 0x85 in position 56: invalid start byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/show_queue.py", line 688, in run
    self.show.refresh_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 1741, in refresh_dir
    self.load_episodes_from_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 994, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 112, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 49, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 46, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, fs_encoding if valid_encoding else 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode byte 0x85 in position 56: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

mykado commented 5 years ago

INFO

Python Version: 2.7.14 (default, May 28 2018, 15:26:34) [GCC 4.3.2] Operating System: Linux-2.6.32.12-ppc-with-glibc2.0 Locale: None Branch: master Database: 44.12 Commit: pymedusa/Medusa@918cfe7ce01808499585ffe6c1356fd5ed369f76 Link to Log: https://gist.github.com/91e81eadde658847d275c636316a80eb

ERROR

2019-01-12 04:07:53 ERROR    SHOWQUEUE-REFRESH :: [918cfe7] 274431: Error while refreshing show Gotham. Error: 'utf8' codec can't decode byte 0x85 in position 56: invalid start byte
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/show_queue.py", line 688, in run
    self.show.refresh_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 1741, in refresh_dir
    self.load_episodes_from_dir()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/tv/series.py", line 994, in load_episodes_from_dir
    media_files = helpers.list_media_files(self.location)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 262, in list_media_files
    files += list_media_files(full_cur_file)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/helpers/__init__.py", line 257, in list_media_files
    for cur_file in os.listdir(path):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 112, in patched_output
    return handle_output(f(*args, **kwargs))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 49, in _handle_output_u
    return list(map(_handle_output_u, result))
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 46, in _handle_output_u
    return decode(result)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/init/filesystem.py", line 32, in decode
    return text_type(value, fs_encoding if valid_encoding else 'utf-8')
UnicodeDecodeError: 'utf8' codec can't decode byte 0x85 in position 56: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

XxUnkn0wnxX commented 5 years ago

INFO

Python Version: 2.7.15 (default, Feb 12 2019, 11:00:12) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)] Operating System: Darwin-18.2.0-x86_64-i386-64bit (macOS 10.14.3) Locale: None Branch: develop Database: 44.14 Commit: pymedusa/Medusa@94650a9f5367521a974759323b846d6cdeaa7eb4 Link to Log: All Logs.zip

timestamps may not match as there was no log for the error listed below as i only keep a max of 20 logs. & when this happened the old log was auto deleted by then. logs included have same errors though at different timestamps.

ERROR

2019-03-02 05:01:31 ERROR    SNATCHQUEUE-SNATCH-354170 :: [94650a9] qbittorrent: Unknown exception raised when sending torrent to qbittorrent: 'utf8' codec can't decode byte 0xfe in position 1022: invalid start byte
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/medusa/clients/torrent/generic.py", line 82, in _request
    cookies=cookies, timeout=120, verify=False)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/core.py", line 103, in request
    timeout=timeout, verify=ssl_cert, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 653, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/hooks.py", line 29, in log_url
    text_body = ensure_text(request.body)
  File "/Users/ovidijus/Apps/Medusa/ext/six.py", line 904, in ensure_text
    return s.decode(encoding, errors)
  File "/usr/local/Cellar/python@2/2.7.15_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfe in position 1022: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

XxUnkn0wnxX commented 5 years ago

@medariox

this is starting to get frustrating most of my torrent downloads are ending up Uncategorised because of these errors last one as under issue #6237 but now its a new one.. i have manually included logs. i believe this is a rare case error & only happening to some or torrents with extremely long names.

happens in both python2 & 3

also seems to be happening more on issue #5234

edit i can reproduce this with any show.

EG: Magical Girl Spec-Ops Asuka Scene Exception: Mahou Shoujo Tokushusen Asuka Wanted Groups: HorribleSubs,Golumpa,Arukoru

did a manually search on EP 8. chose provider nyaa.si (via Jackett) Horrible subs release. Torrent download & error occurs & doesnt send to Medusa Category on qbittorrent.

Running qBittorent 4.1.5 (64 bit)

refer to #5234 as error posts seem to be happing more there.

Screenshot: screen shot 2019-03-02 at 3 09 02 pm

i feel like this is only happening via Jackett torrents not going into categories.

Seems to be only happening with any torrent snatched from Jackett.

Jackett is running on Mono: Mono JIT compiler version 5.18.0.240 (2018-08/5266e6a8f10 Tue Jan 15 21:54:10 EST 2019)

Parameters: --debug JackettConsole.exe --NoRestart

Release ver: Jackett Version 0.10.861.0

indexers setup:

1337x
anidex
animetosho
aniRena
btbit
btdb
btstornet
demonoid
digbt
ettv
extratorrent-ag
extratorrentclone
eztv
horriblesubs
idopeclone
ilcorsaronero
isohunt2
kickasstorrent
limetorrents
magnetdl
monova
nexttorrent
nyaa-pantsu
nyaasi
prostylex
rarbg
rutor
showrss
skytorrentsclone
solidtorrents
thepiratebay
tokyotosho
torlock
torrent9
torrentcouch
torrentdownloads
torrentfunk
torrentgalaxyorg
torrentproject2
torrentscsv
torrentz2
worldwidetorrents
yify
yts
zooqle

never had issues back on SC even on developer branch with Jackett surprised this is happening here...

also is this a Medusa only problem or should jackett dev look into this as well? - nothing found in jackett logs referencing these issues. seems medusa having phrasing issues from torrent data grabbed from jackett.

hope this is an easy fix as all my torrents from jackett aren't working atm due to wrong category being applied.

i'm using: nzbToMedia/TorrentToMedia.py "%D|%N|%L|%I" to process all my torrents & due to wrong category tag they won't process now.

XxUnkn0wnxX commented 5 years ago

INFO

Python Version: 2.7.15 (default, Feb 12 2019, 11:00:12) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)] Operating System: Darwin-18.2.0-x86_64-i386-64bit Locale: None Branch: develop Database: 44.14 Commit: pymedusa/Medusa@94650a9f5367521a974759323b846d6cdeaa7eb4 Link to Log: https://gist.github.com/3e421d986c0671c8ce2b330c59c44023

ERROR

2019-03-02 15:26:50 ERROR    SNATCHQUEUE-SNATCH-349309 :: [94650a9] qbittorrent: Unknown exception raised when sending torrent to qbittorrent: 'utf8' codec can't decode byte 0x99 in position 1488: invalid start byte
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/medusa/clients/torrent/generic.py", line 82, in _request
    cookies=cookies, timeout=120, verify=False)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/core.py", line 103, in request
    timeout=timeout, verify=ssl_cert, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 653, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/hooks.py", line 29, in log_url
    text_body = ensure_text(request.body)
  File "/Users/ovidijus/Apps/Medusa/ext/six.py", line 904, in ensure_text
    return s.decode(encoding, errors)
  File "/usr/local/Cellar/python@2/2.7.15_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x99 in position 1488: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

XxUnkn0wnxX commented 5 years ago

INFO

Python Version: 3.7.2 (default, Feb 12 2019, 08:15:36) [Clang 10.0.0 (clang-1000.11.45.5)] Operating System: Darwin-18.2.0-x86_64-i386-64bit Locale: unknown Branch: develop Database: 44.14 Commit: pymedusa/Medusa@94650a9f5367521a974759323b846d6cdeaa7eb4 Link to Log: https://gist.github.com/8920e00906045523997a4ad2623d0b77

ERROR

2019-03-02 15:33:25 ERROR    SNATCHQUEUE-SNATCH-349309 :: [94650a9] qbittorrent: Unknown exception raised when sending torrent to qbittorrent: 'utf-8' codec can't decode byte 0x99 in position 1488: invalid start byte
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/medusa/clients/torrent/generic.py", line 82, in _request
    cookies=cookies, timeout=120, verify=False)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/core.py", line 103, in request
    timeout=timeout, verify=ssl_cert, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 653, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/hooks.py", line 29, in log_url
    text_body = ensure_text(request.body)
  File "/Users/ovidijus/Apps/Medusa/ext/six.py", line 904, in ensure_text
    return s.decode(encoding, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x99 in position 1488: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

XxUnkn0wnxX commented 5 years ago

INFO

Python Version: 3.7.2 (default, Feb 12 2019, 08:15:36) [Clang 10.0.0 (clang-1000.11.45.5)] Operating System: Darwin-18.2.0-x86_64-i386-64bit Locale: unknown Branch: develop Database: 44.14 Commit: pymedusa/Medusa@94650a9f5367521a974759323b846d6cdeaa7eb4 Link to Log: https://gist.github.com/77faf033156ec8c00fe8d9fb3202c47e

ERROR

2019-03-02 16:18:14 ERROR    SNATCHQUEUE-SNATCH-354171 :: [94650a9] qbittorrent: Unknown exception raised when sending torrent to qbittorrent: 'utf-8' codec can't decode byte 0x81 in position 858: invalid start byte
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/medusa/clients/torrent/generic.py", line 82, in _request
    cookies=cookies, timeout=120, verify=False)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/core.py", line 103, in request
    timeout=timeout, verify=ssl_cert, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/sessions.py", line 653, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/ext/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/Users/ovidijus/Apps/Medusa/medusa/session/hooks.py", line 29, in log_url
    text_body = ensure_text(request.body)
  File "/Users/ovidijus/Apps/Medusa/ext/six.py", line 904, in ensure_text
    return s.decode(encoding, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 858: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

zaans2 commented 5 years ago

INFO

Python Version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] Operating System: Linux-4.18.0-16-generic-x86_64-with-Ubuntu-18.04-bionic Locale: UTF-8 Branch: master Database: 44.14 Commit: pymedusa/Medusa@b34f1df336e52cf0a690acbc393440ac9f8b3581 Link to Log: https://gist.github.com/ddda5a1f6a0b6d545f42b132df57a7f9

ERROR

2019-04-01 09:30:01 ERROR    Thread_0 :: [b34f1df] Exception generated: 'utf-8' codec can't decode byte 0x95 in position 0: invalid start byte
Traceback (most recent call last):
  File "/opt/**********/**********/server/web/core/base.py", line 262, in async_call
    result = function(**kwargs)
  File "/opt/**********/**********/server/web/core/error_logs.py", line 149, in viewlog
    return t.render(log_lines='\n'.join(data),
  File "/opt/**********/**********/server/web/core/error_logs.py", line 143, in 
    data = (html_escape(line) for line in read_loglines(modification_time=modification_time, formatter=text_type, max_lines=max_lines,
  File "/opt/**********/**********/logger/__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "/opt/**********/**********/logger/__init__.py", line 278, in reverse_readlines
    lines = block.decode(encoding).split(newline)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x95 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

duramato commented 5 years ago

INFO

Python Version: 3.7.3rc1 (default, Mar 13 2019, 11:01:15) [GCC 8.2.0] Operating System: Linux-4.9.35-v7+-armv7l-with-debian-buster-sid Locale: UTF-8 Branch: develop Database: 44.14 Commit: pymedusa/Medusa@9cdb57a32df1a8b1520b8a7dd732b6f01498483e Link to Log: https://gist.github.com/a7677bafd09bb008e5a020ee29b2b878

ERROR

2019-04-11 23:13:09 ERROR    Thread_11 :: [9cdb57a] Exception generated: 'utf-8' codec can't decode byte 0x9b in position 0: invalid start byte
Traceback (most recent call last):
  File "/home/pi/Medusa/medusa/server/web/core/base.py", line 262, in async_call
    result = function(**kwargs)
  File "/home/pi/Medusa/medusa/server/web/core/error_logs.py", line 149, in viewlog
    return t.render(log_lines='\n'.join(data),
  File "/home/pi/Medusa/medusa/server/web/core/error_logs.py", line 143, in 
    data = (html_escape(line) for line in read_loglines(modification_time=modification_time, formatter=text_type, max_lines=max_lines,
  File "/home/pi/Medusa/medusa/logger/__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "/home/pi/Medusa/medusa/logger/__init__.py", line 278, in reverse_readlines
    lines = block.decode(encoding).split(newline)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9b in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

pct00 commented 5 years ago

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] Operating System: Windows-10-10.0.17763 Locale: cp1252 Branch: master Database: 44.14 Commit: pymedusa/Medusa@f46bfacf8763204fbde4f26a5916095371d494d1 Link to Log: https://gist.github.com/a957f2c3ba91a4eea04d8527854da7cd

ERROR

2019-04-18 18:31:21 ERROR    Thread_16 :: [f46bfac] Exception generated: 'utf8' codec can't decode byte 0xb5 in position 0: invalid start byte
Traceback (most recent call last):
  File "C:\Program Files\Medusa\Medusa\medusa\server\web\core\base.py", line 262, in async_call
    result = function(**kwargs)
  File "C:\Program Files\Medusa\Medusa\medusa\server\web\core\error_logs.py", line 149, in viewlog
    return t.render(log_lines='\n'.join(data),
  File "C:\Program Files\Medusa\Medusa\medusa\server\web\core\error_logs.py", line 143, in 
    data = (html_escape(line) for line in read_loglines(modification_time=modification_time, formatter=text_type, max_lines=max_lines,
  File "C:\Program Files\Medusa\Medusa\medusa\logger\__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "C:\Program Files\Medusa\Medusa\medusa\logger\__init__.py", line 278, in reverse_readlines
    lines = block.decode(encoding).split(newline)
  File "C:\Program Files\Medusa\Python\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb5 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

p0psicles commented 5 years ago

@medariox you have a clue? Else I ask user to zip his Logs folder.

Probably similar to what this user reported https://github.com/pymedusa/Medusa/issues/5463#issuecomment-441648118.

But then in ligs

medariox commented 5 years ago

There are a few strange things about this issue:

  1. It occurs extremely rarely
  2. It shouldn't happen as we log everything as UTF-8

I need a reliable way to reproduce this, otherwise it's going to be really hard to get to the root of it.

p0psicles commented 5 years ago

@pct00 pls zip your Logs?

pct00 commented 5 years ago

@p0psicles attached as requested

application.log.zip

pct00 commented 5 years ago

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] Operating System: Windows-10-10.0.17763 Locale: cp1252 Branch: master Database: 44.14 Commit: pymedusa/Medusa@f46bfacf8763204fbde4f26a5916095371d494d1 Link to Log: No Log available

ERROR

2019-04-27 17:07:58 ERROR    Thread_13 :: [f46bfac] Exception generated: 'utf8' codec can't decode byte 0x94 in position 0: invalid start byte
Traceback (most recent call last):
  File "C:\Program Files\Medusa\Medusa\medusa\server\web\core\base.py", line 262, in async_call
    result = function(**kwargs)
  File "C:\Program Files\Medusa\Medusa\medusa\server\web\core\error_logs.py", line 149, in viewlog
    return t.render(log_lines='\n'.join(data),
  File "C:\Program Files\Medusa\Medusa\medusa\server\web\core\error_logs.py", line 143, in 
    data = (html_escape(line) for line in read_loglines(modification_time=modification_time, formatter=text_type, max_lines=max_lines,
  File "C:\Program Files\Medusa\Medusa\medusa\logger\__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "C:\Program Files\Medusa\Medusa\medusa\logger\__init__.py", line 278, in reverse_readlines
    lines = block.decode(encoding).split(newline)
  File "C:\Program Files\Medusa\Python\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x94 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

p0psicles commented 5 years ago

@pct00 you have a folder/file for the gifted like this: Одарённые./.The.Gifted.[02x01-11.из.15].(2018).WEBRip.|.Profix.Media

p0psicles commented 5 years ago

@medariox we shouldn't have any issues with utf8 decoding the logs right?

medariox commented 5 years ago

@pct00 Please try this branch and report back: https://github.com/pymedusa/Medusa/pull/6643

veranscoto commented 5 years ago

INFO

Python Version: 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516] Operating System: Linux-4.19.0-0.bpo.4-amd64-x86_64-with-debian-9.9 Locale: UTF-8 Branch: master Database: 44.14 Commit: pymedusa/Medusa@f46bfacf8763204fbde4f26a5916095371d494d1 Link to Log: https://gist.github.com/e621422606bc42549e5da183ce6dd577

ERROR

2019-06-02 03:16:18 ERROR    Thread_55 :: [f46bfac] Exception generated: 'utf8' codec can't decode byte 0x82 in position 0: invalid start byte
Traceback (most recent call last):
  File "/home37/**********/.apps/medusa/medusa/medusa/server/web/core/base.py", line 262, in async_call
    result = function(**kwargs)
  File "/home37/**********/.apps/medusa/medusa/medusa/server/web/core/error_logs.py", line 149, in viewlog
    return t.render(log_lines='\n'.join(data),
  File "/home37/**********/.apps/medusa/medusa/medusa/server/web/core/error_logs.py", line 143, in 
    data = (html_escape(line) for line in read_loglines(modification_time=modification_time, formatter=text_type, max_lines=max_lines,
  File "/home37/**********/.apps/medusa/medusa/medusa/logger/__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "/home37/**********/.apps/medusa/medusa/medusa/logger/__init__.py", line 278, in reverse_readlines
    lines = block.decode(encoding).split(newline)
  File "/home37/**********/.apps/medusa/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

p0psicles commented 5 years ago

Already fixed in develop

XxUnkn0wnxX commented 5 years ago

INFO

Python Version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] Operating System: Darwin-18.6.0-x86_64-i386-64bit Locale: unknown Branch: master Database: 44.14 Commit: pymedusa/Medusa@6a21a6001b10827d14d450135bae61729b01edf1 Link to Log: https://gist.github.com/359dc0c927f2754fdc001ce07f11af6b

ERROR

2019-06-07 16:16:21 ERROR    Thread_39 :: [6a21a60] Exception generated: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/medusa/server/web/core/base.py", line 261, in async_call
    result = function(**kwargs)
  File "/Users/ovidijus/Apps/Medusa/medusa/server/web/core/error_logs.py", line 62, in submit_errors
    results = self.issue_submitter.submit_github_issue(CheckVersion())
  File "/Users/ovidijus/Apps/Medusa/medusa/issue_submitter.py", line 199, in submit_github_issue
    return self.submit_issues(github, github_repo, loglines, similar_issues)
  File "/Users/ovidijus/Apps/Medusa/medusa/issue_submitter.py", line 216, in submit_issues
    gist = cls.create_gist(github, line)
  File "/Users/ovidijus/Apps/Medusa/medusa/issue_submitter.py", line 75, in create_gist
    context_loglines = logline.get_context_loglines()
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 448, in get_context_loglines
    for logline in read_loglines(modification_time=start_timestamp):
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 281, in reverse_readlines
    for block in block_generator(filename, **block_generator_kws):
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 243, in blocks_r
    block = file_obj.read(min(remaining_size, size))
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

XxUnkn0wnxX commented 5 years ago

INFO

Python Version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] Operating System: Darwin-18.6.0-x86_64-i386-64bit Locale: unknown Branch: master Database: 44.14 Commit: pymedusa/Medusa@6a21a6001b10827d14d450135bae61729b01edf1 Link to Log: https://gist.github.com/65b1da77d62388bdf1db1a28f0905994

ERROR

2019-06-07 16:17:00 ERROR    Thread_0 :: [6a21a60] Exception generated: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/medusa/server/web/core/base.py", line 261, in async_call
    result = function(**kwargs)
  File "/Users/ovidijus/Apps/Medusa/medusa/server/web/core/error_logs.py", line 62, in submit_errors
    results = self.issue_submitter.submit_github_issue(CheckVersion())
  File "/Users/ovidijus/Apps/Medusa/medusa/issue_submitter.py", line 199, in submit_github_issue
    return self.submit_issues(github, github_repo, loglines, similar_issues)
  File "/Users/ovidijus/Apps/Medusa/medusa/issue_submitter.py", line 216, in submit_issues
    gist = cls.create_gist(github, line)
  File "/Users/ovidijus/Apps/Medusa/medusa/issue_submitter.py", line 75, in create_gist
    context_loglines = logline.get_context_loglines()
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 448, in get_context_loglines
    for logline in read_loglines(modification_time=start_timestamp):
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 166, in read_loglines
    for line in reverse_readlines(f):
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 281, in reverse_readlines
    for block in block_generator(filename, **block_generator_kws):
  File "/Users/ovidijus/Apps/Medusa/medusa/logger/__init__.py", line 243, in blocks_r
    block = file_obj.read(min(remaining_size, size))
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x94 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

VexingHex commented 5 years ago

INFO

Python Version: 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] Operating System: Linux-4.15.0-50-generic-x86_64-with-Ubuntu-18.04-bionic Locale: UTF-8 Branch: master Database: 44.14 Commit: pymedusa/Medusa@6a21a6001b10827d14d450135bae61729b01edf1 Link to Log: No Log available

ERROR

2019-06-10 15:19:44 ERROR    TORNADO :: [6a21a60] Uncaught exception in APIv2: UnicodeDecodeError('utf8', "\x9chello, world\xe2\x80\x9d).mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Analyzing name: TV/Valley of the Boom/Season 01/[METCON] Valley of the Boom - S01E01 - print (\xe2\x80\x9chello, world\xe2\x80\x9d).mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Using cached parse result for TV/Valley of the Boom/Season 01/[METCON] Valley of the Boom - S01E01 - print (\xe2\x80\x9chello, world\xe2\x80\x9d).mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Retrieving episode object for Valley of the Boom S01E01\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Quality of the episode we are processing: 1080p HDTV\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Snatch in history: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Manually snatched: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Info hash: None\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] NZB: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Current quality: 1080p HDTV\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] New quality: 1080p HDTV\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Proper: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] This episode is a priority download: False\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] Old file: /home/badmin/Media/Shows/TV/Valley of the Boom/Season 01/[METCON] Valley of the Boom - S01E01 - print (\xe2\x80\x9chello, world\xe2\x80\x9d).mkv\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] New file: /home/badmin/Media/Shows/TV/Valley of the Boom/Season 01/[METCON] Valley of the Boom - S01E01 - print (\xe2\x80\x9chello, world\xe2\x80\x9d).mkv\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] Old size: 1.71 GB\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] New size: 1.71 GB\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] New file is the same size.\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] File exists and the new file has the same size, aborting post-processing\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] Processing succeeded for /home/badmin/Media/Shows/TV/Valley of the Boom/Season 01/[METCON] Valley of the Boom - S01E01 - print (\xe2\x80\x9chello, world\xe2\x80\x9d).mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] You're trying to post-process an automatically searched file that has already been processed, skipping: [EDHD] Valley of the Boom - S01E05 - segfault.mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Skipping already processed file: [EDHD] Valley of the Boom - S01E05 - segfault.mkv\n2019-06-10 15:12:11 INFO     POSTPROCESSOR :: [6a21a60] Processing /home/badmin/Media/Shows/TV/Valley of the Boom/Season 01/[EDHD] Valley of the Boom - S01E06 - fatal error.mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Analyzing name: [EDHD] Valley of the Boom - S01E06 - fatal error.mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Using cached parse result for [EDHD] Valley of the Boom - S01E06 - fatal error.mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Analyzing name: TV/Valley of the Boom/Season 01/[EDHD] Valley of the Boom - S01E06 - fatal error.mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Using cached parse result for TV/Valley of the Boom/Season 01/[EDHD] Valley of the Boom - S01E06 - fatal error.mkv\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Retrieving episode object for Valley of the Boom S01E06\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Quality of the episode we are processing: 720p WEB-DL\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Snatch in history: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Manually snatched: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Info hash: None\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] NZB: False\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Current quality: 720p WEB-DL\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] New quality: 720p WEB-DL\n2019-06-10 15:12:11 DEBUG    POSTPROCESSOR :: [6a21a60] Proper: False\n2019-06-10 15:12:11 DEBUG ", 0, 1, 'invalid start byte')
Request: GET /api/v2/log?level=INFO&thread=&period=one_day&query=&limit=1000 (192.168.2.230)
Traceback (most recent call last):
  File "/opt/**********/ext/tornado/web.py", line 1592, in _execute
    result = yield result
  File "/opt/**********/ext/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/opt/**********/ext/tornado/concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "/opt/**********/ext/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/opt/**********/**********/server/api/v2/base.py", line 64, in async_call
    content = yield IOLoop.current().run_in_executor(executor, prepared)
  File "/opt/**********/ext/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/opt/**********/ext/tornado/concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "", line 3, in raise_exc_info
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

MotleyC commented 5 years ago

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] Operating System: Windows-10-10.0.17134 Locale: cp1252 Branch: master Database: 44.14 Commit: pymedusa/Medusa@4d4a63c850b583017e3cce56c819ac49d0ce5e35 Link to Log: No Log available

ERROR

2019-06-12 20:30:55 ERROR    TORNADO :: [4d4a63c] Uncaught exception in APIv2: UnicodeDecodeError('utf8', "\xa9: Happily Ever After?' S04E03 with unwanted quality '720p WEB-DL'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.720p.WEBRip.x264-KOMPOST[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.480p.x264-mSD[eztv]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.480p.x264-mSD[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.WEBRip.x264-KOMPOST[eztv]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.WEBRip.x264-KOMPOST[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.HDTV.WebRip.allone\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.HDTV.WebRip.allone because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.480p.x264-mSD[eztv]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.480p.x264-mSD[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.WEBRip.x264-KOMPOST[eztv]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.WEBRip.x264-KOMPOST[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.HDTV.WebRip.allone\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.HDTV.WebRip.allone because one or more episodes are unwanted\n2019-06-12 19:00:40 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.720p.WEBRip.x264-KOMPOST[eztv]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ 720p WEB-DL ]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality '720p WEB-DL'\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.720p.WEBRip.x264-KOMPOST[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.720p.WEBRip.x264-KOMPOST[eztv]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ 720p WEB-DL ]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality '720p WEB-DL'\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.720p.WEBRip.x264-KOMPOST[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.480p.x264-mSD[eztv]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.480p.x264-mSD[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.WEBRip.x264-KOMPOST[eztv]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Found = [ SDTV ]\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Ignoring found result for '90 Day Fianc\xc3\xa9: Happily Ever After?' S04E03 with unwanted quality 'SDTV'\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Ignoring 90.Day.Fiance.Happily.Ever.After.S04E03.WEBRip.x264-KOMPOST[eztv] because one or more episodes are unwanted\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] Using cached parse result for 90.Day.Fiance.Happily.Ever.After.S04E03.HDTV.WebRip.allone\n2019-06-12 19:00:41 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [4d4a63c] 316934: Allowed, Preferred = [ 1080p HDTV, 1080p WEB-DL, 1080p BluRay ] [ None ] Foun", 0, 1, 'invalid start byte')
Request: GET /api/v2/log?level=INFO&thread=&period=one_day&query=&limit=1000 (98.11.208.122)
Traceback (most recent call last):
  File "C:\Medusa\Medusa\ext\tornado\web.py", line 1592, in _execute
    result = yield result
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 1133, in run
    value = future.result()
  File "C:\Medusa\Medusa\ext\tornado\concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Medusa\Medusa\medusa\server\api\v2\base.py", line 64, in async_call
    content = yield IOLoop.current().run_in_executor(executor, prepared)
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 1133, in run
    value = future.result()
  File "C:\Medusa\Medusa\ext\tornado\concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "", line 3, in raise_exc_info
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

medariox commented 5 years ago

@VexingHex @MotleyC We need to know exactly when this happens (best if it is reproducible), otherwise we can't help.

medariox commented 5 years ago

@LaChocola Thanks. Are you post-processing the files from a remote location?

VexingHex commented 5 years ago

@medariox Sorry, logged into a different account on my laptop. My setup has the main OS on an SSD which is where Medusa is stored, and a Hard Drive I use for all the media and files. This is the first time I have seen a show that got snatched with quotations in it, so I believe that is the issue. Especially since I havent see that error pop up since renaming it.

medariox commented 5 years ago

@VexingHex I've been trying to reproduce your issue without luck. Are you sure it didn't happen while snatching the episode?

VexingHex commented 5 years ago

@medariox Yes, it was when it was post processing. The episode was already snatched. I know for a fact because it was when I was adding my TV show directory to the same folder my Anime goes to, since they were separate at first, and I wanted to have post processing run on the TV shows as well, which is when I moved the directory, updated Medusa to show the TV directory had moved, and then started post processing.

medariox commented 5 years ago

Strange. Please let us know if it happens again.

VexingHex commented 5 years ago

Will do

pct00 commented 5 years ago

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] Operating System: Windows-10-10.0.17763 Locale: cp1252 Branch: master Database: 44.14 Commit: pymedusa/Medusa@74c3f124fb599ad923e23f46fc320778b8b4217c Link to Log: https://gist.github.com/cfe3951285d395c230349a1b18c45e6f

ERROR

2019-06-15 01:21:31 ERROR    TORNADO :: [74c3f12] Uncaught exception in APIv2: UnicodeDecodeError('utf8', '\x82\xd0\xbd\xd0\xb0\xd1\x8f.\xd1\x82\xd0\xb2\xd0\xb0\xd1\x80\xd1\x8c./.Swamp.Thing.[01x01-03.\xd0\xb8\xd0\xb7.10].(2019).WEB-DLRip.|.Kerob to a series in your database. Parser result: title: Swamp Thing, season: 1, episode: [1, 2, 3], year: 2019, source: Web, other: Rip, release_group: Kerob, type: episode, parsing_time: 0.0540001392365, total_time: 0.055999994278, absolute_episode: [], quality: SDTV\n2019-06-14 23:15:12 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Zooqle] :: [74c3f12] Unable to match The.Gadget.Show.S31E11.480p.x264-mSD.[eztv] to a series in your database. Parser result: title: The Gadget Show, season: 31, episode: [11], screen_size: 480p, video_codec: H.264, video_encoder: x264, release_group: mSD, type: episode, parsing_time: 0.0339999198914, total_time: 0.0349998474121, absolute_episode: [], quality: SDTV\n2019-06-14 23:15:12 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Zooqle] :: [74c3f12] Hit old cached items, not parsing any more for: zooqle\n2019-06-14 23:15:12 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [ThePirateBay] :: [74c3f12] Updating providers cache\n2019-06-14 23:15:12 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [ThePirateBay] :: [74c3f12] Search mode: RSS\n2019-06-14 23:15:12 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] GET URL: https://www.shanaproject.com/search/1/?sort=date&dir=Descending&title=Tate+no+Yuusha+no+Nariagari [Status: 200]\n2019-06-14 23:15:12 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] User-Agent: Medusa/0.3.4 (Windows; 10; 47985c5e-8ed0-11e9-83c0-001a7dda7113)\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 23 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 23 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 23 [1080p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 23 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 23 [720p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 22 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 22 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 22 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 22 [1080p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 21 [720p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 21 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 21 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 21 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 20 [1080p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 20 [720p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 20 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 20 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 20 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 19 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 19 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 19 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 18 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 18 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 18 [720p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 18 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 17 [720p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 17 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 17 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 17 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate no Yuusha no Nariagari - 16 [1080p][Multiple Subtitle].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 16 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 16 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 16 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [BakedFish] Tate no Yuusha no Nariagari - 15 [720p][AAC].mp4 with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 15 [1080p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 15 [720p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [HorribleSubs] Tate no Yuusha no Nariagari - 15 [480p].mkv with 1 seeders and 0 leechers\n2019-06-14 23:15:13 DEBUG    FINDPROPERS :: [ShanaProject] :: [74c3f12] Found result: [Erai-raws] Tate', 0, 1, 'invalid start byte')
Request: GET /api/v2/log?level=INFO&thread=&period=one_day&query=&limit=1000 (127.0.0.1)
Traceback (most recent call last):
  File "C:\Program Files\Medusa\Medusa\ext\tornado\web.py", line 1592, in _execute
    result = yield result
  File "C:\Program Files\Medusa\Medusa\ext\tornado\gen.py", line 1133, in run
    value = future.result()
  File "C:\Program Files\Medusa\Medusa\ext\tornado\concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "C:\Program Files\Medusa\Medusa\ext\tornado\gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Medusa\Medusa\medusa\server\api\v2\base.py", line 64, in async_call
    content = yield IOLoop.current().run_in_executor(executor, prepared)
  File "C:\Program Files\Medusa\Medusa\ext\tornado\gen.py", line 1133, in run
    value = future.result()
  File "C:\Program Files\Medusa\Medusa\ext\tornado\concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "", line 3, in raise_exc_info
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

pct00 commented 5 years ago

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] Operating System: Windows-10-10.0.17763 Locale: cp1252 Branch: master Database: 44.14 Commit: pymedusa/Medusa@74c3f124fb599ad923e23f46fc320778b8b4217c Link to Log: https://gist.github.com/000633d0671087bed47e8f52437ec577

ERROR

2019-06-14 23:18:52 ERROR    TORNADO :: [74c3f12] Uncaught exception in APIv2: UnicodeDecodeError('utf8', "\x83\xe3\x82\xaf).[\xe4\xbc\x8a\xe9\xa7\x92\xe4\xb8\x80\xe5\xb9\xb3].\xe6\x9c\x9d\xe8\xb5\xb7\xe3\x81\x8d\xe3\x81\x9f\xe3\x82\x89\xe3\x83\x8f\xe3\x83\x80\xe3\x82\xab\xe3\x81\xae\xe4\xb8\x96\xe7\x95\x8c.zip to a series in your database. Parser result: title: \xe6\x9c\x9d\xe8\xb5\xb7\xe3\x81\x8d\xe3\x81\x9f\xe3\x82\x89\xe3\x83\x8f\xe3\x83\x80\xe3\x82\xab\xe3\x81\xae\xe4\xb8\x96\xe7\x95\x8c zip, mimetype: application/x-zip-compressed, type: episode, parsing_time: 0.0200002193451, total_time: 0.0210001468658, absolute_episode: [], quality: Unknown, episode: [], season: None\n2019-06-14 19:55:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [TokyoToshokan] :: [74c3f12] Unable to match (\xe6\x88\x90\xe5\xb9\xb4\xe3\x82\xb3\xe3\x83\x9f\xe3\x83\x83\xe3\x82\xaf).[SMAC].\xe9\x9c\xb2\xe5\x87\xba\xe3\x82\xaa\xe3\x83\x88\xe3\x83\xa1more.\xef\xbd\x9e\xe3\x81\x82\xe3\x81\x9f\xe3\x81\x97\xe3\x81\xae\xe5\x85\xa8\xe8\xa3\xb8\xe2\x80\xa6\xe3\x82\x82\xe3\x81\xa3\xe3\x81\xa8\xe8\xa6\x8b\xe3\x81\xa6\xe3\x81\xa3!\xef\xbd\x9e.[DL\xe7\x89\x88].zip to a series in your database. Parser result: title: \xe9\x9c\xb2\xe5\x87\xba\xe3\x82\xaa\xe3\x83\x88\xe3\x83\xa1more \xef\xbd\x9e\xe3\x81\x82\xe3\x81\x9f\xe3\x81\x97\xe3\x81\xae\xe5\x85\xa8\xe8\xa3\xb8\xe2\x80\xa6\xe3\x82\x82\xe3\x81\xa3\xe3\x81\xa8\xe8\xa6\x8b\xe3\x81\xa6\xe3\x81\xa3!\xef\xbd\x9e, episode_title: zip, mimetype: application/x-zip-compressed, type: episode, parsing_time: 0.0210001468658, total_time: 0.0220000743866, absolute_episode: [], quality: Unknown, episode: [], season: None\n2019-06-14 19:55:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [TokyoToshokan] :: [74c3f12] Unable to match (\xe5\x90\x8c\xe4\xba\xbaCG\xe9\x9b\x86).[\xe8\x8b\xba\xe3\x83\x89\xe3\x83\xac\xe3\x83\x83\xe3\x82\xb7\xe3\x83\xb3\xe3\x82\xb0.(\xe8\x82\x89\xe3\x81\x9d\xe3\x81\x86\xe3\x81\x8d\xe3\x82\x85\xe3\x83\xbc\xe3\x80\x82)].\xe5\xa4\x8f\xe4\xbc\x91\xe3\x81\xbf\xe7\x9b\xa3\xe7\xa6\x81\xe6\x80\xa7\xe6\xb4\xbb.\xef\xbd\x9e\xe5\x84\xaa\xe7\xad\x89\xe7\x94\x9f\xe3\x82\x92\xe9\x9b\x8c\xe5\xa5\xb4\xe9\x9a\xb7\xe3\x81\xab\xe3\x81\xaa\xe3\x82\x8b\xe3\x81\xbe\xe3\x81\xa7\xe5\xbe\xb9\xe5\xba\x95\xe7\x9a\x84\xe3\x81\xab\xe8\xaa\xbf\xe6\x95\x99\xe3\x81\x99\xe3\x82\x8b\xe4\xba\x8c\xe9\x80\xb1\xe9\x96\x93\xef\xbd\x9e.zip to a series in your database. Parser result: release_group: CG, title: \xe5\xa4\x8f\xe4\xbc\x91\xe3\x81\xbf\xe7\x9b\xa3\xe7\xa6\x81\xe6\x80\xa7\xe6\xb4\xbb \xef\xbd\x9e\xe5\x84\xaa\xe7\xad\x89\xe7\x94\x9f\xe3\x82\x92\xe9\x9b\x8c\xe5\xa5\xb4\xe9\x9a\xb7\xe3\x81\xab\xe3\x81\xaa\xe3\x82\x8b\xe3\x81\xbe\xe3\x81\xa7\xe5\xbe\xb9\xe5\xba\x95\xe7\x9a\x84\xe3\x81\xab\xe8\xaa\xbf\xe6\x95\x99\xe3\x81\x99\xe3\x82\x8b\xe4\xba\x8c\xe9\x80\xb1\xe9\x96\x93\xef\xbd\x9e zip, mimetype: application/x-zip-compressed, type: episode, parsing_time: 0.0220000743866, total_time: 0.0230000019073, absolute_episode: [], quality: Unknown, episode: [], season: None\n2019-06-14 19:55:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Updating providers cache\n2019-06-14 19:55:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Search mode: RSS\n2019-06-14 19:55:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Searching only confirmed torrents\n2019-06-14 19:55:32 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] GET URL: https://nyaa.si/?q=&c=1_0&page=rss&f=2 [Status: 200]\n2019-06-14 19:55:32 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] User-Agent: Medusa/0.3.4 (Windows; 10; 47985c5e-8ed0-11e9-83c0-001a7dda7113)\n2019-06-14 19:55:34 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Midara.na.Ao-chan.wa.Benkyou.ga.Dekinai.-.11.[1080p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Midara na Ao-chan wa Benkyou ga Dekinai, episode: [], absolute_episode: [11], screen_size: 1080p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0269999504089, total_time: 0.0280001163483, quality: 1080p HDTV, season: None\n2019-06-14 19:55:34 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Midara.na.Ao-chan.wa.Benkyou.ga.Dekinai.-.11.[720p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Midara na Ao-chan wa Benkyou ga Dekinai, episode: [], absolute_episode: [11], screen_size: 720p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0510001182556, total_time: 0.0529999732971, quality: 720p HDTV, season: None\n2019-06-14 19:55:34 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Midara.na.Ao-chan.wa.Benkyou.ga.Dekinai.-.11.[480p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Midara na Ao-chan wa Benkyou ga Dekinai, episode: [], absolute_episode: [11], screen_size: 480p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.119999885559, total_time: 0.12299990654, quality: SDTV, season: None\n2019-06-14 19:55:34 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Senryuu.Shoujo.-.11.[1080p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Senryuu Shoujo, episode: [], absolute_episode: [11], screen_size: 1080p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.115999937057, total_time: 0.118999958038, quality: 1080p HDTV, season: None\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Senryuu.Shoujo.-.11.[480p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Senryuu Shoujo, episode: [], absolute_episode: [11], screen_size: 480p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0600001811981, total_time: 0.0610001087189, quality: SDTV, season: None\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Senryuu.Shoujo.-.11.[720p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Senryuu Shoujo, episode: [], absolute_episode: [11], screen_size: 720p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0230000019073, total_time: 0.0249998569489, quality: 720p HDTV, season: None\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].JoJo's.Bizarre.Adventure.-.Golden.Wind.-.34.[720p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: JoJo's Bizarre Adventure, alias: JoJo's Bizarre Adventure - Golden Wind, alternative_title: Golden Wind, episode: [], absolute_episode: [34], screen_size: 720p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0250000953674, total_time: 0.0260000228882, quality: 720p HDTV, season: None\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Fruits.Basket.(2019).-.11.[1080p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Fruits Basket, year: 2019, season: 2019, episode: [], absolute_episode: [11], screen_size: 1080p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0329999923706, total_time: 0.0339999198914, quality: 1080p HDTV\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Fruits.Basket.(2019).-.11.[480p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Fruits Basket, year: 2019, season: 2019, episode: [], absolute_episode: [11], screen_size: 480p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0299999713898, total_time: 0.0310001373291, quality: SDTV\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].JoJo's.Bizarre.Adventure.-.Golden.Wind.-.34.[1080p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: JoJo's Bizarre Adventure, alias: JoJo's Bizarre Adventure - Golden Wind, alternative_title: Golden Wind, episode: [], absolute_episode: [34], screen_size: 1080p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0269999504089, total_time: 0.0280001163483, quality: 1080p HDTV, season: None\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].Fruits.Basket.(2019).-.11.[720p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: Fruits Basket, year: 2019, season: 2019, episode: [], absolute_episode: [11], screen_size: 720p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0309998989105, total_time: 0.0320000648499, quality: 720p HDTV\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [HorribleSubs].JoJo's.Bizarre.Adventure.-.Golden.Wind.-.34.[480p].mkv to a series in your database. Parser result: release_group: HorribleSubs, title: JoJo's Bizarre Adventure, alias: JoJo's Bizarre Adventure - Golden Wind, alternative_title: Golden Wind, episode: [], absolute_episode: [34], screen_size: 480p, container: mkv, mimetype: video/x-matroska, type: episode, parsing_time: 0.0260000228882, total_time: 0.0269999504089, quality: SDTV, season: None\n2019-06-14 19:55:35 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [Nyaa] :: [74c3f12] Unable to match [PuyaSubs!].Bungou.Stray.Dogs.3.-.35.[720p][65BD3FC4].mkv to a series in your database. Parser result: release_group: PuyaSubs, title: Bungou Stray Dogs 3, episod", 0, 1, 'invalid start byte')
Request: GET /api/v2/log?level=INFO&thread=&period=one_day&query=&limit=1000 (127.0.0.1)
Traceback (most recent call last):
  File "C:\Program Files\Medusa\Medusa\ext\tornado\web.py", line 1592, in _execute
    result = yield result
  File "C:\Program Files\Medusa\Medusa\ext\tornado\gen.py", line 1133, in run
    value = future.result()
  File "C:\Program Files\Medusa\Medusa\ext\tornado\concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "C:\Program Files\Medusa\Medusa\ext\tornado\gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Program Files\Medusa\Medusa\medusa\server\api\v2\base.py", line 64, in async_call
    content = yield IOLoop.current().run_in_executor(executor, prepared)
  File "C:\Program Files\Medusa\Medusa\ext\tornado\gen.py", line 1133, in run
    value = future.result()
  File "C:\Program Files\Medusa\Medusa\ext\tornado\concurrent.py", line 261, in result
    raise_exc_info(self._exc_info)
  File "", line 3, in raise_exc_info
UnicodeDecodeError: 'utf8' codec can't decode byte 0x83 in position 0: invalid start byte

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators