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

Docker on Synology: WARNING SHOWQUEUE-ADD : An error occurred while parsing: #6793

Closed
DAVIZINH0 opened this issue Jun 7, 2019 · 4 comments
Closed
Labels
triage Untriaged issue

Comments

@DAVIZINH0
Copy link

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.       |
+-------------------------------------------------------+

Additional context
Add any other context about the problem here.

@triage-new-issues triage-new-issues bot added the triage Untriaged issue label Jun 7, 2019
@medariox
Copy link
Contributor

medariox commented Jun 7, 2019

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

@DAVIZINH0
Copy link
Author

ok sorry.
i think if this occurs as stock docker image, maybe the problem will be the docker image.
I will ask in knowit repository

thanks

@medariox
Copy link
Contributor

medariox commented Jun 7, 2019

Fixed with #6796
New release tomorrow.

@medariox medariox closed this as completed Jun 7, 2019
@DAVIZINH0
Copy link
Author

great!, thanks a lot

medariox added a commit that referenced this issue Jun 7, 2019
* Downgrade pymediainfo to v3.2.1

* update readme

* Update CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

2 participants