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.74k stars 111 forks source link

bug: gitlab保存模块无法正常运行 #276

Closed Juijote closed 2 years ago

Juijote commented 2 years ago

Environment 环境信息

TidGi (win32)
Version v0.7.9.

Electron Version: 20.2.0
Node Version: 16.15.0
Chromium Version: 104.0.5112.124

Description 描述

本地的git可以正常同步,但是gitlab保存模块无法正常上传;

试过用TiddlyDesktop,发现可以运行,官方的html文件也没这个问题;

日志:

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) TidGi/0.7.9 Chrome/104.0.5112.124 Electron/20.2.0 Safari/537.36
Online Status: true

Log:
2022 10 3 10:18:42.079: Getting status
2022 10 3 10:18:42.672: Checking dirty status
2022 10 3 10:18:42.732: Status: {"username":"不存在的诃德","anonymous":true,"read_only":false,"space":{"recipe":"default"},"tiddlywiki_version":"5.2.4-prerelease-2022-09-05"}
2022 10 3 10:18:42.732: Retrieving skinny tiddler list
2022 10 3 10:18:42.864: Dispatching 'save' task: $:/StoryList
2022 10 3 10:18:42.867: Checking dirty status
2022 10 3 10:18:42.867: Checking dirty status
2022 10 3 10:19:02.052: Dispatching 'save' task: $:/StoryList
2022 10 3 10:19:02.106: Checking dirty status
2022 10 3 10:19:02.106: Checking dirty status
2022 10 3 10:19:10.371: Dispatching 'save' task: $:/config/Plugins/Disabled/$:/plugins/oflg/fishing-analysis
2022 10 3 10:19:10.414: Checking dirty status
2022 10 3 10:19:10.414: Checking dirty status
2022 10 3 10:19:11.334: Checking dirty status
2022 10 3 10:19:12.336: Dispatching 'save' task: $:/config/Plugins/Disabled/$:/plugins/oflg/fishing-analysis
2022 10 3 10:19:12.339: Checking dirty status
2022 10 3 10:19:12.340: Checking dirty status
2022 10 3 10:19:42.865: Retrieving skinny tiddler list
2022 10 3 10:19:42.869: Checking dirty status
2022 10 3 10:20:42.882: Retrieving skinny tiddler list
2022 10 3 10:20:42.886: Checking dirty status
2022 10 3 10:21:42.890: Retrieving skinny tiddler list
2022 10 3 10:21:42.894: Checking dirty status

Steps to Reproduce 复现方式

就是v0.7.9.版本正常操作

Additional Context 额外上下文

No response

linonetwo commented 2 years ago

是说太记里的gitlab登录吗,那个我没试过,登录完会有token填到表单里吗?

日志的话,主要看看git他提交的时候有没有把这个带上,看看有没有git相关的报错。

Juijote commented 2 years ago

是说太记里的gitlab登录吗,那个我没试过,登录完会有token填到表单里吗?

日志的话,主要看看git他提交的时候有没有把这个带上,看看有没有git相关的报错。

问题解决了,是tw5自身的功能使用上有些逻辑的误区,我原本以为是可以同时保存本地和git的,结果只能其中一项...