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

[bulkImportPerformers] Encoding error in Chinese and some unexpected errors #37

Open
Kami958 opened this issue Feb 15, 2025 · 0 comments

Comments

@Kami958
Copy link

Kami958 commented Feb 15, 2025

It will be an error ‘gbk‘ codec can‘t decode if the performers.txt includes chinese(UTF-8).

The solution is to modify the reading function in performers.py with encoding="utf-8".

Image

Some unexpected errors:

  1. It doesn't work when launched from the Tasks page. In the logs, it reports that it cant find Python. I've indeed installed Python (also configured the system variables) and stashapp-tools. However, it works fine when I manually execute it using Python.
    It is my first time to use Stash. Did I miss some configurations?

Image

  1. GRAPHQL_VALIDATION_FAILED I didn't know that I had to generate an API key, and I fixed that already.
@Kami958 Kami958 changed the title [bulkImportPerformers]encoding error in chinese and some unexpected errors [bulkImportPerformers] Encoding error in Chinese and some unexpected errors Feb 15, 2025
Kami958 added a commit to Kami958/Serechops-Stash that referenced this issue Feb 15, 2025
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