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

Create Website paragraph&file character input broken #56

Open
XiangRongLin opened this issue Jun 25, 2024 · 2 comments
Open

Create Website paragraph&file character input broken #56

XiangRongLin opened this issue Jun 25, 2024 · 2 comments

Comments

@XiangRongLin
Copy link

Describe the bug
I can't add characters using the paragraph or file options in order to create a deck

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://krmanik.github.io/Anki-xiehanzi/create#url
  2. select something and go to second page (I selected pinying & english definitions)
  3. Select Paragraph in the dropdown
  4. Put 爱 into the textbox
  5. click on generate

Expected behavior

  • table below has the character 爱 added

Actual behaviour
Nothing happens. Console shows following error

Uncaught (in promise) TypeError: i is undefined
    x https://krmanik.github.io/Anki-xiehanzi/assets/js/7270.6f15f471.js:2
    onClick https://krmanik.github.io/Anki-xiehanzi/assets/js/0fcd1e54.3d2767a5.js:1
    ze https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    $e https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Ir https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Ir https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Mr https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Hr https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    uu https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Ne https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Hr https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Wt https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
    Gt https://krmanik.github.io/Anki-xiehanzi/assets/js/main.b2f53f90.js:2
2 7270.6f15f471.js:2:1664777

Desktop (please complete the following information):

  • Browser firefox
  • Version 127

Additional context
With file input it seems to be stuck on "pending"
only single word works, but since I want to generate a deck with the lists from here thats useless

@krmanik
Copy link
Owner

krmanik commented Jun 25, 2024

The issue was related to changes to jieba library fengkx/jieba-wasm. It is fixed now, try again please.

@XiangRongLin
Copy link
Author

thanks for the quick fix ❤️
With paragraphs it works now. But using a file seems to still be stuck on pending

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

2 participants