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

mini-format pack does not include latest commits after building (possible aab issue?) #29

Open
6 tasks
martyn0ff opened this issue Feb 2, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@martyn0ff
Copy link

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

Some mini-format-pack features are not being built correctly with aab build (nor are they present in a release). For example, commit 725bb85 that adds a button for inserting inline code doesn't get added into the package. Somehow after running aab build, build/dist/src/mini_format_pack folder ends up with old config.json and main.py files that don't contain necessary changes that come from that commit (even though they are present in src/mini_format_pack/ folder).

It is possible to fix this by adding main.py and config.json manually to the package file (which seems to be a .zip) by issuing the following commands on Linux:

$ zip mini-format-pack-v0.1.1-anki21.ankiaddon config.json
$ zip mini-format-pack-v0.1.1-anki21.ankiaddon main.py

After that, those features become available:
Screenshot

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

@martyn0ff martyn0ff added the bug Something isn't working label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant