Code Monkey home page Code Monkey logo

memanki's People

Contributors

matthieu-rolland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wesson315

memanki's Issues

Memory limit issue

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

--merge and Cannot enlarge memory arrays

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?

Download audio

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 :)

How do I use this?

Sorry, the instructions weren't clear for me. How do I run the program?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.