matthieu-rolland / memanki Goto Github PK
View Code? Open in Web Editor NEWConvert a memrise lesson to anki decks, given a memrise lesson ID
Convert a memrise lesson to anki decks, given a memrise lesson ID
command: memanki --merge --id 1319101
result:
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
Hi,
I do like your script. But very often I received the error when I want to merge the course. E.g. I fetched and merge the course https://www.memrise.com/course/1319098/angielski-4/ without any problems, but when I try to do the same with the course https://www.memrise.com/course/1319101/angielski-7/ (command: memanki --merge --id 1319101) I receive the error:
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
(node:2502) UnhandledPromiseRejectionWarning: abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") at Error
at Ra (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:32:124)
at Qa (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:32:22)
at p (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:488:103)
at Function.ba [as Gb] (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:12:164)
at Ia (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:397:297)
at _Q (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:465:135615)
at Iu (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:468:26931)
at sO (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:465:55965)
at _f (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:459:91456)
at Gu (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:468:26226)
at Fu (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:468:24948)
at Cu (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:468:23165)
at Bu (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:468:21949)
at qu (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:468:16949)
at cs (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:462:94725)
at sg (/usr/local/lib/node_modules/memanki-cli/node_modules/sql.js/js/sql.js:459:113005)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
(node:2502) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2502) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Is this problem on my side or this problem is global?
Hello Matthieu,
Thanks you for your amazing tool! It's greatly appreciated.
Could you add the possibility to also download the audio files in each memrise lesson? it would be very valuable. I don't know enough of javascript to do it myself.
If you have a tipeee, or a paypal, I'd gladly contribute :)
Sorry, the instructions weren't clear for me. How do I run the program?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.