AnKing-VIP / advanced-browser

Anki add-on with card browser enhancements.
GNU General Public License v3.0
58 stars 13 forks source link

Anki 2.1.35-40 Anki 2.1.24-27 and AB version from ankiweb from 2020-11-08: DBError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"near \\\"select\\\": syntax error\"))", kind: Other } #149

Closed ijgnd closed 2 years ago

ijgnd commented 2 years ago

I just tested with Anki 2.1.35 and 2.1.40 and just the AB add-on that I downloaded from ankiweb today which is the version uploaded to ankiweb on 2020-11-08.

 

This seems to be #112.

 

I get a warning popup with the text

DBError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"near \\\"select\\\": syntax error\"))", kind: Other }

in the console no error message is printed.

 

That's the same behavior as in 2.1.28-2.1.34, see https://github.com/ankipalace/advanced-browser/issues/148#issue-1387630225

 

fix: same as in #148: I would just backport abdo's patch: I would download the zip/ankiaddon file from ankiweb for the versions .35-.40, unzip it, manually change the three lines that abdo changed, rezip it and upload it to ankiweb. To manually download it go to https://ankiweb.net/shared/download/874215009?v=2.1&p=35 in your browser.

ijgnd commented 2 years ago

@abdnh:

same as #148 : if you have some time could you verify that this works? Since AB is so popular I think four eyes are better before it's released into the wild. Thanks.

abdnh commented 2 years ago

Works in 2.1.35

ijgnd commented 2 years ago

here is the patched file for 2.1.35-40:

Advanced_Browser_874215009_version_for_35-40_from_ankiweb_from_2020-11-08_with_abdnhpatch#144.zip