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

[APP SUBMITTED]: ValueError: invalid query, does not contain any alphanumeric characters #11840

Open
taochern opened this issue Sep 25, 2024 · 1 comment

Comments

@taochern
Copy link

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027]
Operating System: Linux-4.4.302+-x86_64-with
Locale: UTF-8
Branch: master
Database: 44.19
Commit: d9c31da
Link to Log: https://gist.github.com/taochern/da6293aaf4bf72150571e92c732098ed

ERROR

2024-09-25 19:37:37 ERROR    APIv2-Thread_2 :: [d9c31da] Internal Error searching for show. term(s): ['브래지어 끈이 내려갔다'] indexer: imdb error: invalid query, does not contain any alphanumeric characters
Traceback (most recent call last):
  File "/app/medusa/medusa/server/api/v2/internal.py", line 248, in resource_search_indexers_for_show_name
    indexer_results = indexer_api[search_term]
  File "/app/medusa/medusa/indexers/base.py", line 440, in __getitem__
    selected_series = self._get_series(key)
  File "/app/medusa/medusa/indexers/base.py", line 192, in _get_series
    all_series = self.search(series)
  File "/app/medusa/medusa/indexers/imdb/api.py", line 217, in search
    results = self._show_search(series)
  File "/app/medusa/medusa/indexers/imdb/api.py", line 187, in _show_search
    results = self.imdb_api.search_for_title(series)
  File "/app/medusa/ext/imdbpie/imdbpie.py", line 186, in search_for_title
    search_results = self._suggest_search(title)
  File "/app/medusa/ext/imdbpie/imdbpie.py", line 159, in _suggest_search
    first_alphanum_char = self._query_first_alpha_num(cleaned_query)
  File "/app/medusa/ext/imdbpie/imdbpie.py", line 348, in _query_first_alpha_num
    raise ValueError(
ValueError: invalid query, does not contain any alphanumeric characters

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@taochern
Copy link
Author

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027]
Operating System: Linux-4.4.302+-x86_64-with
Locale: UTF-8
Branch: master
Database: 44.19
Commit: d9c31da
Link to Log: No Log available

ERROR

2024-11-11 19:04:13 ERROR    APIv2-Thread_4 :: [d9c31da] Internal Error searching for show. term(s): ['사관은 논한다'] indexer: imdb error: invalid query, does not contain any alphanumeric characters
Traceback (most recent call last):
  File "/app/medusa/medusa/server/api/v2/internal.py", line 248, in resource_search_indexers_for_show_name
    indexer_results = indexer_api[search_term]
  File "/app/medusa/medusa/indexers/base.py", line 440, in __getitem__
    selected_series = self._get_series(key)
  File "/app/medusa/medusa/indexers/base.py", line 192, in _get_series
    all_series = self.search(series)
  File "/app/medusa/medusa/indexers/imdb/api.py", line 217, in search
    results = self._show_search(series)
  File "/app/medusa/medusa/indexers/imdb/api.py", line 187, in _show_search
    results = self.imdb_api.search_for_title(series)
  File "/app/medusa/ext/imdbpie/imdbpie.py", line 186, in search_for_title
    search_results = self._suggest_search(title)
  File "/app/medusa/ext/imdbpie/imdbpie.py", line 159, in _suggest_search
    first_alphanum_char = self._query_first_alpha_num(cleaned_query)
  File "/app/medusa/ext/imdbpie/imdbpie.py", line 348, in _query_first_alpha_num
    raise ValueError(
ValueError: invalid query, does not contain any alphanumeric characters

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

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

1 participant