akosbalasko / akosbalasko/yarle
Summary log does not report failed conversions properly
- 主要語言
- TypeScript
- 星號
- 1.8k
- 分支
- 111
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I'm converting a bunch of notebooks, one at a time.
The summary log gives the impression that everything went well..
Conversion finished: 47 succeeded, 0 skipped, 0 failed. Total notes: 47
But I notice around 4 notes are missing. Checking the conversion log in more detail, I see there were indeed some failures - it's not clear what causes this yet (EDIT: Fixed this. It seems yarle expects you to pre-create the "_resources" sub directory, even though it creates the parent notebook directory for you).
The log does report the error, but then counts the note as successfully converted anyway...
Conversion started at Wed Apr 06 2022 21:23:12 GMT+0100 (British Summer Time)
Converting note "_deploy.domain setup"...
relative resource work dir: ./_resources
absolute resource work dir: /Users/carpii/Desktop/MD/notes/Server Setup/_resources
Failed to convert note: _deploy.domain setup, {"errno":-2,"syscall":"scandir","code":"ENOENT","path":"/Users/carpii/Desktop/MD/notes/Server Setup/_resources"}
Conversion finished at Wed Apr 06 2022 21:23:12 GMT+0100 (British Summer Time)
Note "_deploy.domain setup" converted successfully in 0.003 seconds.
Notes processed: 6
Config:
Current config is: {
"enexSources": [
"/Users/carpii/Desktop/Evernote/Server Setup.enex"
],
"outputDir": "/Users/carpii/Desktop/MD",
"keepOriginalHtml": false,
"isMetadataNeeded": true,
"isNotebookNameNeeded": false,
"isZettelkastenNeeded": false,
"plainTextNotesOnly": false,
"skipWebClips": false,
"useHashTags": true,
"nestedTags": {
"separatorInEN": "_",
"replaceSeparatorWith": "/",
"replaceSpaceWith": "-"
},
"outputFormat": "ObsidianMD",
"urlEncodeFileNamesAndLinks": true,
"sanitizeResourceNameSpaces": true,
"replacementChar": "_",
"pathSeparator": "/",
"resourcesDir": "_resources",
"turndownOptions": {
"headingStyle": "atx"
},
"skipLocation": true,
"skipCreationTime": false,
"skipUpdateTime": false,
"skipSourceUrl": false,
"skipTags": false,
"skipEnexFileNameFromOutputPath": false,
"keepMDCharactersOfENNotes": true,
"monospaceIsCodeBlock": true,
"currentTemplate": "---\n\n{created-at-block}_Created at {created-at}._{end-created-at-block}\n{updated-at-block}_Last updated at {updated-at}._{end-updated-at-block}\n{source-url-block}_Source URL: []({source-url})._{end-source-url-block}\n\n\n{tags-block}\nTagged: \n```\n{tags}\n```\n{end-tags-block}\n\n---\n\n{title-block}# {title}{end-title-block}\n\n\n{content-block}{content}{end-content-block}\n\n",
"logseqSettings": {
"journalNotes": false
},
"obsidianSettings": {
"omitLinkDisplayName": false
},
"dateFormat": "YYYY-MM-DD",
"keepOriginalAmountOfNewlines": true,
"addExtensionToInternalLinks": false,
"generateNakedUrls": true,
"haveEnexLevelResources": true,
"haveGlobalResources": false
}
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Reproduce a notebook conversion that logs a failure, then compare the detailed conversion log with the summary log, focusing on how failed notes are counted. Done means a failed conversion is reported as failed rather than successful, while the summary totals remain consistent with the detailed log.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100