Mini Format Pack [Official Support Thread]

This is the official support thread for the Mini Format Pack add-on.

If you have a general support-related question, please feel free to post it here.

If you run into a bug and are familiar with GitHub, please consider filing a bug report, instead. The entry form on GitHub takes care of a lot of the troubleshooting groundwork, so it really makes it a lot easier for me to reproduce bugs and fix them.

3 Likes

New release:

Version 1.0.0 – 2023-11-02

Added

  • Added support for Anki 23.10+
  • Added button for inline code formatting (thanks to Rai and lukkea for their contributions and to Juddd for the feature request!)

Changes

  • Rewrote large parts of the codebase for better compatibility with future Anki releases
  • Removed support for changing text background color. This has been built into Anki for a while now and nowadays works better than the add-on variant of the feature.

You can view all past releases here.

2 Likes

Hello, the Mini Format Pack has issues with new Anki Version.
I’m not a developer, I’m just a regular user, so I’m just trying to help by sending here the error code:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

When loading Mini Format Pack:
Traceback (most recent call last):
File “aqt.addons”, line 245, in loadAddons
File “C:\Users\ttiag\AppData\Roaming\Anki2\addons21\295889520_init_.py”, line 15, in
from . import main
File “C:\Users\ttiag\AppData\Roaming\Anki2\addons21\295889520\main.py”, line 20, in
from .consts import addon_path
File “C:\Users\ttiag\AppData\Roaming\Anki2\addons21\295889520\consts.py”, line 22, in
addon_path = os.path.dirname(file).decode(sys_encoding)
AttributeError: ‘str’ object has no attribute ‘decode’

Hi Tiago, thanks for the report! It looks like you’re using an old version of the add-on. If you check for add-on updates under ToolsAdd-ons, update Mini Format Pack, and then restart, the error message should no longer appear.

@glutanimate Thanks for the help, I’ve tried that, but it shows to me a message that “there is no updadtes available” for this Add-on.

The ankiweb page still links to the old forums:

Please do not use reviews for bug reports or support requests. I don’t get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible. Instead, please either use the issue tracker (preferred), add-on support forums, or just message me at ankiglutanimate@gmail.com. Constructive feedback and suggestions are always welcome!

@jambamboleo Thanks, updated!

@ttiagoo seeing this a bit late, but are you still having issues updating the add-on? Another solution would be to uninstall it and reinstall it from AnkiWeb.

1 Like

@glutanimate it’s working again here. Thank you

1 Like

@glutanimate

Hi, I’m using Qt5 version because of the other add on (Closet for anki) does not work on Qt6. I didn’t want to bother you but it’s such a good add–on. So if you could fix it - would be greatly appreciated. Thank you in advance! Here’s the error. (edit: just to add that ‘there is no updates available for this Add-on’)

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22631

When loading Mini Format Pack:
Traceback (most recent call last):
File “aqt.addons”, line 245, in loadAddons
File “C:\Users\jump\AppData\Roaming\Anki2\addons21\295889520_init_.py”, line 15, in
from . import main
File “C:\Users\jump\AppData\Roaming\Anki2\addons21\295889520\main.py”, line 20, in
from .consts import addon_path
File “C:\Users\jump\AppData\Roaming\Anki2\addons21\295889520\consts.py”, line 22, in
addon_path = os.path.dirname(file).decode(sys_encoding)
AttributeError: ‘str’ object has no attribute ‘decode’

Hello!
I can’t seem to get the code formatting to work. I have tried highlighting my code and clicking the buttons for both inline code and code blocks. I have also tried removing all code from the card, then clicking the button for inline code, and then entering the code back in. I also tried the same with code blocks. Am I doing something wrong?