Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config-related deprecation messages are thrown by Anki #135

Open
3 tasks done
jthulhu opened this issue Nov 14, 2021 · 1 comment
Open
3 tasks done

Config-related deprecation messages are thrown by Anki #135

jthulhu opened this issue Nov 14, 2021 · 1 comment
Assignees
Labels
bug Something isn't working low priority Low priority

Comments

@jthulhu
Copy link

jthulhu commented Nov 14, 2021

Problem description

Apparently, Anki has changed its API and is deprecating one that is still used in this add-on.
The messages are

  • conf key heatmap should be fetched with col.get_config(), and saved with col.set_config()
  • named arguments in queries will go away in the future:, followed by the SQL query that triggers the warning.

There are other (very minor) deprecation warnings, but I have opened #134 to fix them.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

I have removed sections that were not pertinent from the default template.

@jthulhu jthulhu added the bug Something isn't working label Nov 14, 2021
@glutanimate
Copy link
Owner

Thanks for the report! The config warnings are still present. Will look into that, but have to be a bit careful as that's fairly ancient libaddon code and somewhat fickle. (Hoping to refactor this sooner rather than later)

@glutanimate glutanimate added the low priority Low priority label May 19, 2022
@glutanimate glutanimate self-assigned this May 19, 2022
@glutanimate glutanimate changed the title Deprecation messages are thrown by Anki Config-related deprecation messages are thrown by Anki May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Low priority
Projects
None yet
Development

No branches or pull requests

2 participants