matthieu-rolland / memanki-cli Goto Github PK
View Code? Open in Web Editor NEWCLI implementation of memanki
CLI implementation of memanki
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
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!
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.