tiddly-gittly / TidGi-Desktop

TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)
https://tidgi.fun
Mozilla Public License 2.0
1.71k stars 106 forks source link

bug: E-1 新笔记仓库所用的模板复制失败或者笔记仓库的git初始化失败,这应该是个bug。 initWikiGitTransaction failed, E-3 failed to config git #209

Closed appdev closed 2 years ago

appdev commented 2 years ago

Environment

TidGi 0.7.5 Electron 17.0.1 darwin 21.3.0 Locale: zh-CN

Description:

Steps to Reproduce:

Additional Context

Error: E-1 新笔记仓库所用的模板复制失败或者笔记仓库的git初始化失败,这应该是个bug。 initWikiGitTransaction failed, E-3 failed to config git to successfully pull from or push to remote with configuration {"dir":"/Users/lengyue/Documents/wiki/wiki/wiki","remoteUrl":"https://github.com/appdev/notes","syncImmediately":true,"userInfo":{"gitUserName":"appdev","email":"lengyue@apkdv.com","accessToken":"gho_n8dp363EkcG4hlk9F...","branch":"main"},"defaultGitInfo":{"email":"tiddlygit@gmail.com","gitUserName":"tidgi","branch":"main","remote":"origin"},"logger":{}}.
errorMessages: Rebasing (1/2)
Rebasing (2/2)
error: could not apply 94d5664... Commit with Git-Sync-JS
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 94d5664... Commit with Git-Sync-JS
 GitPullPushError: E-3 failed to config git to successfully pull from or push to remote with configuration {"dir":"/Users/lengyue/Documents/wiki/wiki/wiki","remoteUrl":"https://github.com/appdev/notes","syncImmediately":true,"userInfo":{"gitUserName":"appdev","email":"lengyue@apkdv.com","accessToken":"gho_n8dp363EkcG4hlk9F...","branch":"main"},"defaultGitInfo":{"email":"tiddlygit@gmail.com","gitUserName":"tidgi","branch":"main","remote":"origin"},"logger":{}}.
errorMessages: Rebasing (1/2)
Rebasing (2/2)
error: could not apply 94d5664... Commit with Git-Sync-JS
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 94d5664... Commit with Git-Sync-JS

    at Ct (/private/var/folders/50/d4kvl0zx7q739hq6b9pt42180000gn/T/AppTranslocation/80345833-20A6-4C08-8B04-34951C876F38/d/TidGi.app/Contents/Resources/app.asar.unpacked/.webpack/main/file:/Users/runner/work/TidGi-Desktop/TidGi-Desktop/node_modules/git-sync-js/dist/src/commitAndSync.js:138:23)
    at process.StartConfiguringGithubRemoteRepository (node:internal/process/task_queues:96:5)
    at Mt (/private/var/folders/50/d4kvl0zx7q739hq6b9pt42180000gn/T/AppTranslocation/80345833-20A6-4C08-8B04-34951C876F38/d/TidGi.app/Contents/Resources/app.asar.unpacked/.webpack/main/file:/Users/runner/work/TidGi-Desktop/TidGi-Desktop/node_modules/git-sync-js/dist/src/initGit.js:37:25)

linonetwo commented 2 years ago

Steps to Reproduce: