anki-addons-misc icon indicating copy to clipboard operation
anki-addons-misc copied to clipboard

Create Filtered Deck from the Browser: Doesn't work on latest Anki (to date), error occurs

Open camerooncameroon opened this issue 4 years ago • 0 comments

Which add-on is affected?

Create Filtered Deck from the Browser

Prerequisite checklist

[ Please enter an [ x ] character to confirm the points below: ]

  • [x] In case of a bug: Have you tried restarting Anki?
  • [x] Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • [x] Did you check the add-on description on AnkiWeb for known issues?
  • [x] Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

Error An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site. Debug info: Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2 Platform: Windows 10 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2021-11-21 12:00:59

Caught exception: Traceback (most recent call last): File "C:\Users\Asus\AppData\Roaming\Anki2\addons21\861263371\browser_create_filtered_deck.py", line 31, in a.triggered.connect(lambda _, b=self: createFilteredDeck(b)) File "C:\Users\Asus\AppData\Roaming\Anki2\addons21\861263371\browser_create_filtered_deck.py", line 24, in createFilteredDeck self.mw.onCram(search) TypeError: onCram() takes 1 positional argument but 2 were given

How can we reproduce the problem?

Perhaps try to use the addon on similar configuration as mine

[ What were you doing when the problem occurred? ]

I tried to use the addon on my configuration, selected items in card browser, clicked on Create filtered Deck based on this Search and got into the error screen.

Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ] Yes.

Version information

Anki

Version ⁨2.1.49 (dc80804a)⁩ Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

System

  • Operating system: Windows
  • Version: 10

camerooncameroon avatar Nov 21 '21 08:11 camerooncameroon