Comments (10)
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.
@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.
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.
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.
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.
from yarle.
I'm sorry John, I don't see anything here.
from yarle.
from yarle.
from yarle.
A new version is released (2.6.5) that resolves the issue.
from yarle.
Related Issues (20)
- Feature: Fontstyle to MD conversion HOT 1
- Feature: Keep evernote link if resolving links failed HOT 1
- Post conversion features
- Feature: supporting Notion HOT 1
- Feature: supporting Mem HOT 1
- Issue with attachments being saved in different folders according to different notes HOT 7
- Feat: Support Typora HOT 6
- showing loaded config settings HOT 3
- Image sizes show up even when "keepImageSize":"StandardMD" HOT 5
- Can't start conversion and no output on Ubuntu 23.04 HOT 5
- yarle won't uninstall in Windows 10 HOT 12
- Directory separator should be configurable
- Evernote links and GUIDs are not populated for untitled notes HOT 12
- Option NOT to add a size of a picture? HOT 2
- GUID/Evernote link: if there are multiple notes with the same name, put all references
- Specify enex files and output directory on the command line HOT 1
- Timestamps of MD files are being set to conversion time HOT 11
- Can I use the Evernote uploaded to obsidian on iPad? HOT 2
- Decryption of client-side encrypted Texts in Evernote notes (OLD encryption RC2 64 Bit)
- block non recognizeable link filenames for obsidian HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yarle.