GithubHelp home page GithubHelp logo

Comments (10)

akosbalasko avatar akosbalasko commented on July 17, 2024

Hi @upnix ,

Thank you for reporting this, it looks like a bug. I'll take a look at it, and keep you updated.

from yarle.

akosbalasko avatar akosbalasko commented on July 17, 2024

@upnix I released a new version (2.4.1). As a hotfix, I skip internal images, screenshots as references to the generated Markdown file. Now as I see, your enex file can be transformed, please confirm.
Nevertheless, I keep investigating this use-case to be able to support internal resources as well.
Thank you for raising this up!

from yarle.

John-Rule-Bose avatar John-Rule-Bose commented on July 17, 2024

First off, thanks for creating this enex exporter, which I saw on the Obsidian forum. I've just run it on a large enex file, and it failed on the 2nd note with the following error:

C:\code\yarle\dist\process-resources.js:45
const timeStamp = resource['resource-attributes']['timestamp'];
^

TypeError: Cannot read property 'timestamp' of undefined
at processResource (C:\code\yarle\dist\process-resources.js:45:54)
at Object.exports.processResources (C:\code\yarle\dist\process-resources.js:15:79)
at Object.exports.processNode (C:\code\yarle\dist\process-node.js:19:39)
at Object.exports.dropTheRope (C:\code\yarle\dist\yarle.js:29:36)
at Object.exports.run (C:\code\yarle\dist\dropTheRope.js:21:15)
at Object. (C:\code\yarle\dist\dropTheRope.js:37:9)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./dist/dropTheRope.js "--enexSource=Evernote_export_20200531.enex" "--outputDir=./md_notes" "--include-metadata"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

from yarle.

akosbalasko avatar akosbalasko commented on July 17, 2024

Hi @John-Rule-Bose ,

Thanks for giving it a try!
Yeah it looks like that my test files not really cover all cases :) let me have a look at it, I'll keep you updated on the results.

from yarle.

akosbalasko avatar akosbalasko commented on July 17, 2024

Hi @John-Rule-Bose ,

I released a version(2.6.3) which at least does not break in such cases, but I'm afraid it will ignore to store some attachment of your notes. Missing of 'resource-attributes' indicates that there is no filename and timestamp stored for an attachment, which is tricky to be stored.
However I tried to test it, I was not able to reproduce this issue. Could you please have a hint about the type of your 2nd note? Is this a web-clip?

from yarle.

John-Rule-Bose avatar John-Rule-Bose commented on July 17, 2024

from yarle.

akosbalasko avatar akosbalasko commented on July 17, 2024

I'm sorry John, I don't see anything here.

from yarle.

John-Rule-Bose avatar John-Rule-Bose commented on July 17, 2024

from yarle.

akosbalasko avatar akosbalasko commented on July 17, 2024

from yarle.

akosbalasko avatar akosbalasko commented on July 17, 2024

A new version is released (2.6.5) that resolves the issue.

from yarle.

Related Issues (20)

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.