Arthur-Milchior / anki-tex-as-image

Uses tex as image in browser/editor
GNU General Public License v3.0
6 stars 1 forks source link

[BUG] web folder disapears with js.js stopping fields from updating with LaTex #2

Closed andrewcrook closed 4 years ago

andrewcrook commented 4 years ago

Anki Version 2.1.23 (de9543ff) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1 MacOS 10.15.3

Today I found that that the editor's fields would not update with the rendered LaTex output images. I don't get any errors.

Reinstalling the add-on didn't help.

At first I thought this was the issue mentioned in the readme.txt

I believe that it may theoretically be possible that Anki stops knowing that the image was generated by LaTeX and consider this as a normal image.

However, I noticed that when I looked at the source on GitHub that I didn’t have a web folder (with the file js.js in it) in the add-on's folder.

Pasted Graphic

After downloading the web folder from the source on GitHub into the add-on's folder it would work again.

image

When I delete the add-on and reinstalled using the add-on number 882784122 from the add-on directory it doesn’t work and the web folder is missing again.

The add-on's code still refers to this web folder which adds the functionality to the editor fields.

So I think the issue is that the distribution on the Anki add-on directory might be missing or failing to install this web directory correctly.

andrewcrook commented 4 years ago

sounds like it might be similar or related to #1

Arthur-Milchior commented 4 years ago

I'm working on it. I sent back the previous version on ankiweb, it should work

andrewcrook commented 4 years ago

I'm working on it. I sent back the previous version on ankiweb, it should work

Still doesn’t work

Arthur-Milchior commented 4 years ago

Corrected the zipping process. Thanks

andrewcrook commented 4 years ago

@Arthur-Milchior Yes its working now I will close the ticket. Thank you.