Code Monkey home page Code Monkey logo

memanki-cli'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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

memanki-cli's Issues

Will not pull full file - ERROR

Hey, there's one specific memrise file that won't pull merged and is incomplete when pulled as sub-files. It pulls 22/37 of the files.
PASTED FROM CMD
C:\Users\Hero>memanki --id 1123054
Package has been generated: Fuel Your Vocab: Places.apkg
Package has been generated: Getting Fed.apkg
Package has been generated: Retail Therapy.apkg
Package has been generated: Found in Space.apkg
Package has been generated: Fuel Your Vocab: Places to Explore.apkg
Package has been generated: Fuel Your Vocab: Types of Humans.apkg
Package has been generated: In Disguise.apkg
Package has been generated: Fuel Your Vocab: Human Parts.apkg
Package has been generated: Contamination!.apkg
Package has been generated: Impress Them.apkg
Package has been generated: Back at Base.apkg
Package has been generated: Peace Offering.apkg
Package has been generated: Measuring Things.apkg
Package has been generated: Navigation Class.apkg
Package has been generated: Talking about the Crew.apkg
Package has been generated: Fuel Your Vocab: Human Interests.apkg
Package has been generated: Love and Hate.apkg
Package has been generated: Mayday!.apkg
Package has been generated: Phrases: Sound like a Native.apkg
Package has been generated: Exploration.apkg
Package has been generated: Fuel Your Vocab: Times.apkg
Package has been generated: We're Going To ....apkg
Package has been generated: Fuel Your Vocab: Numbers.apkg
Package has been generated: Months and Dates.apkg
Package has been generated: Bargaining.apkg
Package has been generated: Fuel Your Vocab: Furniture.apkg
Package has been generated: Fuel Your Vocab: Furniture.apkg
Package has been generated: Exploration.apkg
Package has been generated: Setting a Course.apkg
Package has been generated: Phrases: Impress Them!.apkg
Package has been generated: Numbers.apkg
Package has been generated: Keeping Busy.apkg
Package has been generated: Next Summer on Earth ....apkg
Package has been generated: Staying on Board.apkg
Package has been generated: Exploration.apkg
Package has been generated: Days and Birthdays.apkg
Error: ENOENT: no such file or directory, open 'C:\Users\Hero\How long?.apkg'
at Object.fs.openSync (fs.js:653:18)
at Object.fs.writeFileSync (fs.js:1300:33)
at ankiDeck.save.then.zip (C:\Users\Hero\AppData\Roaming\npm\node_modules\me
manki-cli\node_modules\memanki\index.js:8:8)

at

memanki exits after DeprecationWarning without generating a deck

Hi,

memanki throws a DeprecationWarning and exits without generating a deck. I haven't touched JS in a long while, but can have a look if you pinpoint the issue.

With merge:

memanki --merge --id 66669

Output:

(node:95520) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:95520) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.248.133.97:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)
(node:95520) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:95520) [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.                                                                                                                                                                                  /3m-8.5s

Without merge:

memanki --id 66669

Output:

(node:95932) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:95932) UnhandledPromiseRejectionWarning: Error: socket hang up
    at connResetException (internal/errors.js:613:14)
    at TLSSocket.socketOnEnd (_http_client.js:493:23)
    at TLSSocket.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1226:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:95932) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:95932) [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.

Cheers!

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.