Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

blank example #2

Open
ryanGT opened this issue Jan 2, 2025 · 0 comments
Open

blank example #2

ryanGT opened this issue Jan 2, 2025 · 0 comments

Comments

@ryanGT
Copy link

ryanGT commented Jan 2, 2025

First, thank you so much for making this available and wrestling with the google oauth stuff. I used md2google slides several years ago and it was quite helpful. I would really like to get it working on my new macbook and I think you have gotten me most of the way there. Your fork seems to install correctly, but when I try to build the example.md, I get only a black presentation.

Here is the terminal output:

$ md2gslides example.md
(node:49545) DeprecationWarning: ArgumentParser(): following options are renamed: 'addHelp' -> 'add_help'
(node:49545) DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use add_argument(..., { action: 'version', version: 'N', ... }) instead.
(node:49545) DeprecationWarning: _ActionsContainer.addArgument() is renamed to _ActionsContainer.add_argument()
(node:49545) DeprecationWarning: add_argument(): following options are renamed: 'defaultValue' -> 'default'
(node:49545) DeprecationWarning: use add_argument('-u', '--user', {...}) instead of add_argument([ '-u', '--user' ], { ... })
(node:49545) DeprecationWarning: {action: "storeTrue"} is renamed to {action: "store_true"}
(node:49545) DeprecationWarning: ArgumentParser.parseArgs() is renamed to ArgumentParser.parse_args()
Unable to generate slides: Local images require --use-fileio option
kraussryW1K36C:examples kraussry$ md2gslides example.md --use-fileio
(node:49572) DeprecationWarning: ArgumentParser(): following options are renamed: 'addHelp' -> 'add_help'
(node:49572) DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use add_argument(..., { action: 'version', version: 'N', ... }) instead.
(node:49572) DeprecationWarning: _ActionsContainer.addArgument() is renamed to _ActionsContainer.add_argument()
(node:49572) DeprecationWarning: add_argument(): following options are renamed: 'defaultValue' -> 'default'
(node:49572) DeprecationWarning: use add_argument('-u', '--user', {...}) instead of add_argument([ '-u', '--user' ], { ... })
(node:49572) DeprecationWarning: {action: "storeTrue"} is renamed to {action: "store_true"}
(node:49572) DeprecationWarning: ArgumentParser.parseArgs() is renamed to ArgumentParser.parse_args()
Unable to generate slides: RequestError: Error: read ENOTCONN
at new RequestError (/Users/kraussry/.nvm/versions/node/v12.22.12/lib/node_modules/@wescpy/md2gslides/node_modules/request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/Users/kraussry/.nvm/versions/node/v12.22.12/lib/node_modules/@wescpy/md2gslides/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/Users/kraussry/.nvm/versions/node/v12.22.12/lib/node_modules/@wescpy/md2gslides/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/Users/kraussry/.nvm/versions/node/v12.22.12/lib/node_modules/@wescpy/md2gslides/node_modules/request/request.js:185:22)
at Request.emit (events.js:326:22)
at Request.onRequestError (/Users/kraussry/.nvm/versions/node/v12.22.12/lib/node_modules/@wescpy/md2gslides/node_modules/request/request.js:877:8)
at ClientRequest.emit (events.js:314:20)
at TLSSocket.socketErrorListener (_http_client.js:427:9)
at TLSSocket.emit (events.js:314:20)
at emitErrorNT (internal/streams/destroy.js:92:8) {
cause: Error: read ENOTCONN
at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20) {
errno: 'ENOTCONN',
code: 'ENOTCONN',
syscall: 'read'
},
error: Error: read ENOTCONN
at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20) {
errno: 'ENOTCONN',
code: 'ENOTCONN',
syscall: 'read'
},
options: {
url: 'https://file.io?expires=1h',
formData: { file: [ReadStream] },
method: 'POST',
callback: [Function: RP$callback],
transform: undefined,
simple: true,
resolveWithFullResponse: false,
transform2xxOnly: false
},
response: undefined
}

Thanks for your help,
Ryan

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant