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

Getting a "writeStringToMemory is deprecated" message when building anki files #12

Open
LarryBattle opened this issue Apr 25, 2020 · 2 comments

Comments

@LarryBattle
Copy link
Contributor

Getting an warning message when building anki files on mdanki 1.0.2.
The built anki files work by the way.

Steps to reproduce

example.md

## Test

test

Command:

npx mdanki example.md example.apkg

Actual Output:

writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!
The deck "mdanki" has been generated in /home/u/markdown_to_anki/example.apkg

Expected Output:

The deck "mdanki" has been generated in /home/u/markdown_to_anki/example.apkg

Cause?

Wild guess but maybe the message comes from an old copy of sql.js that anki-apkg-export 4.0.3 is using.
Related links:

@ashlinchak
Copy link
Owner

@LarryBattle You are right with guessing about anki-apkg-export. There is a relavant PR which is still in progress.

@mozai
Copy link

mozai commented Sep 15, 2022

Still here two years later, version 1.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants