Skip to content

Unable to export Data containing symbolic links #11217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
frostime opened this issue May 1, 2024 · 0 comments
Closed
3 tasks done

Unable to export Data containing symbolic links #11217

frostime opened this issue May 1, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@frostime
Copy link
Contributor

frostime commented May 1, 2024

Bug |(疑似)存在软链接会导致无法导出工作空间

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

我在自己的测试空间里导出 Data 目录失败了,推测可能是软链接的问题

image

Expected result

直接忽略软链接的文件夹下的内容就好了。

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.12
- Operating System: win10
- Browser (if used): no

Log file

I 2024/05/01 16:50:04 runtime.go:74: kernel is booting:
    * ver [3.0.12]
    * arch [amd64]
    * os [Microsoft Windows 10 Pro]
    * pid [29700]
    * runtime mode [prod]
    * working directory [C:\Users\EEG\AppData\Local\Programs\SiYuan\resources]
    * read only [false]
    * container [std]
    * database [ver=20220501]
    * workspace directory [H:\临时文件夹\SiYuanDevSpace]
I 2024/05/01 16:50:04 conf.go:124: loaded conf [H:\临时文件夹\SiYuanDevSpace\conf\conf.json]
I 2024/05/01 16:50:04 runtime.go:123: use network proxy [system]
I 2024/05/01 16:50:04 serve.go:116: kernel [pid=29700] http server [127.0.0.1:12329] is booting
I 2024/05/01 16:50:04 blocktree.go:509: read block tree [71.47 kB] to [H:\临时文件夹\SiYuanDevSpace\temp\blocktree], elapsed [0.01s]
I 2024/05/01 16:50:04 conf.go:848: database size [933.89 kB], tree/block count [29/289]
I 2024/05/01 16:50:04 working.go:192: kernel booted
I 2024/05/01 16:50:05 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=H:\临时文件夹\SiYuanDevSpace\temp\pandoc\bin\pandoc.exe]
I 2024/05/01 16:50:05 conf.go:1093: pandoc initialized, set pandoc bin to [H:\临时文件夹\SiYuanDevSpace\temp\pandoc\bin\pandoc.exe]
I 2024/05/01 16:50:05 box.go:76: auto stat [trees=29, blocks=289, dataSize=13.72 MB, assetsSize=887.6 kB]
I 2024/05/01 16:50:05 disk.go:33: disk usage [total=845.88 GB, used=587.51 GB, free=258.37 GB]
E 2024/05/01 16:50:43 export.go:451: copy data dir from [H:\临时文件夹\SiYuanDevSpace\data] to [data-20240501165043] failed: read H:\临时文件夹\SiYuanDevSpace\data\plugins\plugin-sample-vite-svelte: Incorrect function.
E 2024/05/01 16:51:41 export.go:451: copy data dir from [H:\临时文件夹\SiYuanDevSpace\data] to [data-20240501165141] failed: read H:\临时文件夹\SiYuanDevSpace\data\plugins\plugin-sample-vite-svelte: Incorrect function.
E 2024/05/01 16:53:22 export.go:451: copy data dir from [H:\临时文件夹\SiYuanDevSpace\data] to [data-20240501165322] failed: read H:\临时文件夹\SiYuanDevSpace\data\plugins\plugin-sample-vite-svelte: Incorrect function.

More information

No response

@88250 88250 self-assigned this May 1, 2024
@88250 88250 added the Bug label May 1, 2024
@88250 88250 changed the title Bug |(疑似)存在软链接会导致无法导出工作空间 Unable to export Data containing symbolic links May 1, 2024
88250 added a commit that referenced this issue May 1, 2024

Unverified

This user has not yet uploaded their public signing key.
@88250 88250 added this to the 3.0.13 milestone May 1, 2024
@88250 88250 closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants