Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in docker (medusa) WARNING SHOWQUEUE-ADD :: [] An error occurred while parsing #19

Closed
DAVIZINH0 opened this issue Jun 7, 2019 · 9 comments

Comments

@DAVIZINH0
Copy link

DAVIZINH0 commented Jun 7, 2019

Describe the bug
Hello, i have medusa in docker with a synology and i have a problem when i add any tvshow.
Not special configuration.
not ocurrs with all chapters and all have the same format.
It happens with official docker repository and de linuxserver repository
Appears the warning that i put in the log

To Reproduce
Steps to reproduce the behavior:
Fress install in docker

Expected behavior
no warnings

Medusa (please complete the following information):
OS: synology DSM and DOCKER.
Linux-4.4.59+-x86_64-with
Branch: master
Commit: Unknown
Version: 0.3.2
Database: 44.14
Python Version: | 2.7.16 (default, May 6 2019, 19:35:26) [GCC 8.3.0]

Debug logs (at least 50 lines):
General > Advanced Settings > Enable debug

2019-06-07 17:37:57 WARNING  SHOWQUEUE-ADD :: [] An error occurred while parsing: /series/American Gods/Temporada 1/American Gods - 1x01 - La plantación de huesos.mkv
KnowIt reported:
+-------------------------------------------------------+
|                   KnowIt 0.3.0-dev                    |
+-------------------------------------------------------+
|                      pymediainfo                      |
|                          4.0                          |
|                   libmediainfo.so.0                   |
|                        v18.8.1                        |
|                                                       |
|                                                       |
|                        enzyme                         |
|                         0.4.2                         |
+-------------------------------------------------------+
|                   profile: default                    |
+-------------------------------------------------------+
Traceback (most recent call last):
  File "/app/medusa/ext/knowit/api.py", line 64, in know
    result = provider.describe(video_path, context)
  File "/app/medusa/ext/knowit/providers/mediainfo.py", line 285, in describe
    media_info = self.executor.extract_info(video_path)
  File "/app/medusa/ext/knowit/providers/mediainfo.py", line 100, in extract_info
    return self._execute(filename)
  File "/app/medusa/ext/knowit/providers/mediainfo.py", line 167, in _execute
    return MediaInfo.parse(filename, library_file=self.location)
  File "/app/medusa/lib/pymediainfo/__init__.py", line 296, in parse
    " with libmediainfo".format(filename))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 68: ordinal not in range(128)

+-------------------------------------------------------+
|      Please report any bug or feature request at      |
|       https://github.com/ratoaq2/knowit/issues.       |
+-------------------------------------------------------+
2019-06-07 17:37:56 WARNING  SHOWQUEUE-ADD :: [] An error occurred while parsing: /series/American Gods/Temporada 1/American Gods - 1x08 - Ven a Jesús.mkv
KnowIt reported:
+-------------------------------------------------------+
|                   KnowIt 0.3.0-dev                    |
+-------------------------------------------------------+
|                      pymediainfo                      |
|                          4.0                          |
|                   libmediainfo.so.0                   |
|                        v18.8.1                        |
|                                                       |
|                                                       |
|                        enzyme                         |
|                         0.4.2                         |
+-------------------------------------------------------+
|                   profile: default                    |
+-------------------------------------------------------+
Traceback (most recent call last):
  File "/app/medusa/ext/knowit/api.py", line 64, in know
    result = provider.describe(video_path, context)
  File "/app/medusa/ext/knowit/providers/mediainfo.py", line 285, in describe
    media_info = self.executor.extract_info(video_path)
  File "/app/medusa/ext/knowit/providers/mediainfo.py", line 100, in extract_info
    return self._execute(filename)
  File "/app/medusa/ext/knowit/providers/mediainfo.py", line 167, in _execute
    return MediaInfo.parse(filename, library_file=self.location)
  File "/app/medusa/lib/pymediainfo/__init__.py", line 296, in parse
    " with libmediainfo".format(filename))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfa' in position 66: ordinal not in range(128)

+-------------------------------------------------------+
|      Please report any bug or feature request at      |
|       https://github.com/ratoaq2/knowit/issues.       |
+-------------------------------------------------------+
@9Rune5
Copy link

9Rune5 commented Jun 26, 2019

I have the same problem. It flat out refuses to deal with any path containing international characters.

@Beanux
Copy link

Beanux commented Nov 27, 2019

Same here, when having non ascii characteres.

@m1dnight
Copy link

m1dnight commented Dec 3, 2019

Same here:

2019-12-03 11:22:57 WARNING SHOWQUEUE-ADD :: [] An error occurred while parsing: /series/90 Day Fiancé/Season 06/90 Day Fiancé - S06E06 - Flirting with Disaster.mkv

and

2019-12-03 11:10:36 WARNING SHOWQUEUE-ADD :: [] An error occurred while parsing: /series/Superstore/Season 04/Superstore - S04E17 - Quinceañera.mkv

@Tailslide
Copy link

Having the same issue under medusa on a synology system.

`+-------------------------------------------------------+
| KnowIt 0.3.0-dev |
+-------------------------------------------------------+
| pymediainfo |
| 3.2.1 |
| /usr/local/mediainfo/lib/libmediainfo.so.0 |
| v19.9 |
| |
| /usr/local/ffmpeg/bin/ffprobe |
| v4.2.2 |
| |
| enzyme |
| 0.4.2 |
+-------------------------------------------------------+
| profile: default |
+-------------------------------------------------------+
Traceback (most recent call last):
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/ext/knowit/api.py", line 64, in know
result = provider.describe(video_path, context)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/ext/knowit/providers/mediainfo.py", line 285, in describe
media_info = self.executor.extract_info(video_path)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/ext/knowit/providers/mediainfo.py", line 100, in extract_info
return self._execute(filename)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/ext/knowit/providers/mediainfo.py", line 167, in _execute
return MediaInfo.parse(filename, library_file=self.location)
File "/volume1/@appstore/sickbeard-custom/var/SickBeard/lib/pymediainfo/init.py", line 266, in parse
" with libmediainfo".format(filename))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 87: ordinal not in range(128)

+-------------------------------------------------------+
| Please report any bug or feature request at |
| https://github.com/ratoaq2/knowit/issues. |
+-------------------------------------------------------+`

@medariox
Copy link

Python version?

@Tailslide
Copy link

I have V3.5.1 and V2.7.12 installed but I believe the medusa package for synology forces python 2 to be used.

@9Rune5
Copy link

9Rune5 commented Jul 17, 2020

@Tailslide there is an unofficial package that will install medusa with python 3. IIRC I got mine from SynoCommunity/spksrc#3710 (comment)

Backup your config first... I do not remember having any difficulties getting up and running again. (and a newer python does solve this issue afaict)

@Tailslide
Copy link

@9Rune5 thanks I just grabbed that and might give it a shot if I start having more python2 related problems. Hopefully the official package winds up getting updated at some point.

@ratoaq2
Copy link
Owner

ratoaq2 commented Jan 1, 2023

python 2 is not anymore supported

@ratoaq2 ratoaq2 closed this as completed Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants