AnkiRestartšŸ”‚[Support Thread]

Hi! First, thank you for the add-on. It’s one of my favorites :slight_smile: .

Using Anki Version ⁨24.10 (85f034b1)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1

If I have the ā€œAnki Restartā€ add-on active, I get this error message whenever I download or update an add-on. This issue only seems to occur with the current and previous 24.10 beta versions. I wasn’t able to reproduce it using Anki 24.06.3 qt6 for Windows.

Traceback (most recent call last):
  File "aqt.progress", line 121, in handler
  File "aqt.addons", line 1260, in <lambda>
  File "aqt.addons", line 996, in after_downloading
  File "decorator", line 232, in fun
  File "anki.hooks", line 92, in decorator_wrapper
  File "anki.hooks", line 84, in repl
TypeError: my_show_log_to_user() takes 2 positional arguments but 3 were given
2 Likes

Hi thank you for using this add-on and reporting the error in Anki beta, I fixed it and updated it.

1 Like

I added this code to the AnkiRestart wiki, it may be useful if users are looking for an alternative. If there are any problems please contact me so I can fix or remove it.
Ankirestart wiki : other tips

Very useful addon! Thank you!
Pity I found it just today.


After a short usage I’d request improving Browser support if it’s technically possible.
It’ll give better experience when a developer is testing something in the Browser (doesn’t need to switch to the Main Window to click the button and then click Browser button after restart):

  1. Make the hotkey working in Browser.
  2. Add restart button to Browser.
  3. If button or hotkey was activated from Browser, the Browser is opened automatically after restart.

Minor issue with fonts on Ubuntu 22.04.5 LTS:

1 Like

Thanks for the request! That’s good ideas, I’ll look into it.

1 Like