lovac42 / Blitzkrieg

AnkiAddon: Advanced Browser Sidebar
GNU Affero General Public License v3.0
21 stars 3 forks source link

Addon not processing some cards #2

Closed ghost closed 5 years ago

ghost commented 5 years ago

Dragging the tags in the following cards has no effect. Browser's selection.zip

Trying to convert them to decks throws the following error Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Windows 10 Flags: frz=True ao=True sv=2

Caught exception: File "C:\Users\John Smith\AppData\Roaming\Anki2\addons21\564851917\sidebar21.py", line 237, in self._onTreeItemAction(item,"Convert",self._onTreeTag2Deck)) File "C:\Users\John Smith\AppData\Roaming\Anki2\addons21\564851917\sidebar21.py", line 271, in _onTreeItemAction callback(item) File "C:\Users\John Smith\AppData\Roaming\Anki2\addons21\564851917\sidebar21.py", line 406, in _onTreeTag2Deck tag2Deck(tag) File "C:\Users\John Smith\AppData\Roaming\Anki2\addons21\564851917\sidebar21.py", line 386, in tag2Deck cids = f.findCards("tag:"+tag) File "anki\find.py", line 43, in findCards <class 'Exception'>: invalidSearch

lovac42 commented 5 years ago

It appears that you have some special characters '(' and ')' in your tags that are throwing off the anki findCard method. I will push out a fix for this soon. Thanks for reporting.

ghost commented 5 years ago

I can't say the problem is fixed on my end 2019-09-14_11-06-45

lovac42 commented 5 years ago

It turns out the version you updated to is beta2. I have retried uploading beta3 just now and tested it. If you update again, it will be the correct version.

image

ghost commented 5 years ago

Working now. Thank you.