# Can't Configure Add-On

**URL:** <https://forums.ankiweb.net/t/cant-configure-add-on/2742>\
**Category:** Add-ons\
**Created:** [August 27, 2020, 10:29pm UTC](https://forums.ankiweb.net/t/cant-configure-add-on/2742 "2020-08-27T22:29:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lazer9696](https://avatars.discourse-cdn.com/v4/letter/l/8c91f0/32.png) [@lazer9696](https://forums.ankiweb.net/u/lazer9696)\
**Post date:** [August 27, 2020, 10:29pm UTC](https://forums.ankiweb.net/t/cant-configure-add-on/2742/1 "2020-08-27T22:29:08Z")

</div>

Hello all.

I have installed the add-on [Create Filtered Deck from Browser](https://ankiweb.net/shared/info/861263371) to my desktop Anki 2.1.26, but I am unable to use/configure the add-on. Under Tools\>Add-ons\>Create Filtered Deck from Browser, the “Config” button is grayed out and unusable. There is no config file within the add-on, and I assume this is the problem. Can anyone help me with this? I have uninstalled and reinstalled the add-on already.

Thank you!

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 27, 2020, 11:46pm UTC](https://forums.ankiweb.net/t/cant-configure-add-on/2742/2 "2020-08-27T23:46:21Z")

</div>

This means the add-on has no configuration file.  
I presume you want to change the hotkeys?  
If that is what you want, change line 34 and line 37 in the file named `browser_create_filtered_deck.py`.

> <https://github.com/glutanimate/anki-addons-misc/blob/f1e6693b0fd02184d60458a465d0902ca1cda147/src/browser_create_filtered_deck/browser_create_filtered_deck.py#L34>

---

<div class="post-metadata">

**Author:** ![lazer9696](https://avatars.discourse-cdn.com/v4/letter/l/8c91f0/32.png) [@lazer9696](https://forums.ankiweb.net/u/lazer9696)\
**Post date:** [August 28, 2020, 12:10am UTC](https://forums.ankiweb.net/t/cant-configure-add-on/2742/3 "2020-08-28T00:10:23Z")

</div>

Thanks for your response!

I don’t exactly want to change any hotkeys. I think the issue is that the add-on itself is not working in my Anki. For example, under “Browse” I should be able to select cards, right-click, and select “Create Filtered Deck” or something along those lines. However, that function is too unavailable. This is the entirety of the browser\_create\_filtered\_deck.py file:

# -_- coding: utf-8 -_-

“”"  
Anki Add-on: Create Filtered Deck from Browser

Creates filtered deck based on current search

Copyright: © Glutanimate 2016-2017 [https://glutanimate.com/](https://glutanimate.com/)  
License: GNU AGPLv3 or later [https://www.gnu.org/licenses/agpl.html](https://www.gnu.org/licenses/agpl.html)  
“”"

from **future** import unicode\_literals

from aqt.qt import \*  
from anki.hooks import addHook

def createFilteredDeck(self):  
col = self.mw.col  
search = self.form.searchEdit.lineEdit().text()  
if ‘deck:current’ in search:  
did = col.conf[‘curDeck’]  
curDeck = col.decks.get(did)[‘name’]  
search = search.replace(‘deck:current’, ‘"deck:’ + curDeck + ‘"’)  
self.mw.onCram(search)

def setupMenu(self):  
menu = self.form.menuEdit  
menu.addSeparator()  
a = menu.addAction(‘Create Filtered Deck based on this Search’)  
a.setShortcut(QKeySequence(“Ctrl+Shift+D”))  
a.triggered.connect(lambda \_, b=self: createFilteredDeck(b))

addHook(“browser.setupMenus”, setupMenu)

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 28, 2020, 12:45am UTC](https://forums.ankiweb.net/t/cant-configure-add-on/2742/4 "2020-08-28T00:45:37Z")

</div>

I just noticed that the AnkiWeb version differs from the version in Github that I linked.  
The author didn’t update the AnkiWeb version.

Just replace the content of your local `browser_create_filtered_deck.py` file with the content of [the new version](https://github.com/glutanimate/anki-addons-misc/blob/master/src/browser_create_filtered_deck/browser_create_filtered_deck.py) and it should work.
