evernote-to-obsidian icon indicating copy to clipboard operation
evernote-to-obsidian copied to clipboard

markdown-exports

Open Joshfairhead opened this issue 3 years ago • 2 comments

Heya Doug,

This script doesn't seem to work for me, the footer before failure looks like this:

# Moving directories from markdown-exports/notes/ into just markdown-exports...
./convert-evernote-to-markdown.sh: line 52: pushd: markdown-exports: No such file or directory

I created the mark-down exports folder as well just to see if that would fix things but no dice. Do you think you can help?

Thanks, J

Joshfairhead avatar Sep 07 '21 19:09 Joshfairhead

Hmm, that's one of those things that I'd really have to debug from the keyboard. But I can think of a few things for you to try:

  • Edit the script and add "pwd" on the line before that pushd line and see what directory you're in
  • Run the script the "bash -x" preceeding it, and bash will print out debugging info. That may yield a clue.

I haven't touched the script in awhile, so weird that it would be an issue. I will keep this ticket open for troubleshooting purposes.

-- Doug

dmuth avatar Sep 08 '21 02:09 dmuth

Unfortunately it doesn't work for me too.


$ ./convert-evernote-to-markdown.sh evernote-notebooks/
# Yarle already installed...
logfilepath: C:\Users\...\AppData\Roaming\yarle-evernote-to-md\conversion.g
clearing log: C:\Users\...\AppData\Roaming\yarle-evernote-to-md\conversionog
Loading config from D:\evernote-to-obsidian-main/./config.json
(node:4540) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or dectory, scandir '/d/evernote-to-obsidian-main/evernote-notebooks/'
    at Object.readdirSync (fs.js:1047:3)
    at Object.run (C:\Users\...\AppData\Roaming\npm\node_modules\yarle-eveote-to-md\dist\dropTheRopeRunner.js:47:14)
    at Object.<anonymous> (C:\Users\...\AppData\Roaming\npm\node_modules\yle-evernote-to-md\dist\dropTheRope.js:26:19)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.:76:12)
    at internal/main/run_main_module.js:17:47
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4540) UnhandledPromiseRejectionWarning: Unhandled promise rejection. Thierror originated either by throwing inside of an async function without a catcblock, or by rejecting a promise which was not handled with .catch(). To termite the node process on unhandled promise rejection, use the CLI flag `--unhandd-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejectns_mode). (rejection id: 1)
(node:4540) [DEP0018] DeprecationWarning: Unhandled promise rejections are depcated. In the future, promise rejections that are not handled will terminate t Node.js process with a non-zero exit code.

# Moving directories from markdown-exports/notes/ into just markdown-exports..
/d/evernote-to-obsidian-main
./convert-evernote-to-markdown.sh: line 53: pushd: markdown-exports: No such fe or directory

Ruzilis avatar Oct 26 '21 16:10 Ruzilis