bigbrainafk / tinfoil_gdrive_generator Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Running:
node index.js -source [FOLDER_ID] -auth -upload y -uploadDrive y
returns with error:
UnhandledPromiseRejectionWarning
(node:3152) [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.
error.txt
For some reason I keep getting errors regarding hitting API limits. I have provided a credentials.json file and it does "authenticate" fine via that. At first I noted that it was barely hitting over the 100 requests per 100 seconds limit so I bumped it to 1000 requests in that timeframe but I'm still getting an error. This error doesn't seem to be handled at all so the whole script seems to die.
[removed]
EDIT: The issue appears to be random as I just ran it again (same command -- same target folder -- same credentials) and it went through without issue. o.O
Just a nice feature, currently when generating an index it creates a success message like the following:
"Line1
Line2
Line3
Line4"
Or hardcode at least a signature for yourself ;)
i tried to make index file, but i got back next error msg. i couln't have index.
(node:35248) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'list' of undefined
at C:\rclone\nodgen\index.js:588:38
at new Promise ()
at retrieveAllDrives (C:\rclone\nodgen\index.js:587:9)
at choice (C:\rclone\nodgen\index.js:222:23)
at C:\rclone\nodgen\index.js:158:4
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
(Use node --trace-warnings ...
to show where the warning was created)
(node:35248) 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:35248) [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.
Not sure if it is possible to create titledbs for all them, but if it was, that would make this insanely cool.
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.