Skip to content

导入空内容 Markdown 文件时报错 #6832

Closed
@oijqws

Description

@oijqws

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

描述问题 Describe the problem

导入文件夹的时候会卡住,停住,试了很多次都这样。不知是不是因为中文文件名的原因?

期待的结果 Expected result

顺利导入

截屏或者录屏演示 Screenshot or screen recording presentation

image

版本环境 Version environment

- Version: 最新版
- Operating System:  win10
- Browser (if used):

日志文件 Log file

siyuan.log
日志里好像看不出什么问题

更多信息 More information

No response

Activity

oijqws

oijqws commented on Dec 9, 2022

@oijqws
Author

上面那个文件开起来已经顺利导入。不知道因为那个文件卡住
makrdown的文件夹是有道笔记导出的

88250

88250 commented on Dec 9, 2022

@88250
Member

一次性导入了多少 Markdown 文件?如果较多的话得多等一下。

oijqws

oijqws commented on Dec 9, 2022

@oijqws
Author

并不多。更多都成功了。导入过程中,文件名应该会不停的换的,但是卡住的时候30分钟都不换

oijqws

oijqws commented on Dec 9, 2022

@oijqws
Author

我从evernote导出4000多条没问题。youdao笔记大约1000条。而且我新建了用户专门测试这个问题,相当导入空的笔记本,也会卡住

88250

88250 commented on Dec 9, 2022

@88250
Member

是否方便把出问题的文件打包发我一下 845765@qq.com

88250

88250 commented on Dec 9, 2022

@88250
Member

或者帮忙用二分法定位一下出问题的文件,谢谢。

oijqws

oijqws commented on Dec 9, 2022

@oijqws
Author

明白了,如果有 0kb 的空文件就会卡住

88250

88250 commented on Dec 9, 2022

@88250
Member

0K 的 .md 文件吗?

oijqws

oijqws commented on Dec 9, 2022

@oijqws
Author

0kb的md 或者只有换行符的都会卡住

88250

88250 commented on Dec 9, 2022

@88250
Member

收到,等会我们测试一下,谢谢。

gmeer

gmeer commented on Dec 9, 2022

@gmeer

我也在v2.5.3版本导入Markdown文件时遇到了这个问题,参考 @oijqws 的方式删除0kb的只有文件名的md文件后,成功导入了。

changed the title [-]导入文件夹卡住[/-] [+]导入空内容 Markdown 文件时报错[/+] on Dec 9, 2022
self-assigned this
on Dec 9, 2022
added this to the 2.5.4 milestone on Dec 9, 2022
oijqws

oijqws commented on Dec 9, 2022

@oijqws
Author

谢谢。我还有些文件是1kb的非空。等2.5.4发布再导入。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@gmeer@oijqws

      Issue actions

        导入空内容 Markdown 文件时报错 · Issue #6832 · siyuan-note/siyuan