Skip to content
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

Pandoc is not initialized in some cases #8533

Closed
3 tasks done
DreamsCat opened this issue Jun 14, 2023 · 22 comments
Closed
3 tasks done

Pandoc is not initialized in some cases #8533

DreamsCat opened this issue Jun 14, 2023 · 22 comments
Assignees
Labels
Milestone

Comments

@DreamsCat
Copy link

DreamsCat commented Jun 14, 2023

在某些情况下未初始化 Pandoc

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

Word 导出未生效,没有生成文件
iShot_2023-06-14_10 16 52

Expected result

成功导出 word

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.9.1
- Operating System: macos13.4
- Browser (if used):

Log file

More information

No response

@DreamsCat
Copy link
Author

点击导出后,没有生成相关 word

@88250
Copy link
Member

88250 commented Jun 14, 2023

请导出系统内核日志上传。

@DreamsCat
Copy link
Author

@

请导出系统内核日志上传。

system-log.zip

@DreamsCat
Copy link
Author

@88250 D大看看

@88250
Copy link
Member

88250 commented Jun 14, 2023

日志中没有报错,导出 Word 有点慢,上面你的录屏看不到提示,你等正在导出提示完看看会不会弹出导出完成的提示。

@88250 88250 changed the title Word 导出未生效,无法导出 macOS 无法导出 Word Jun 14, 2023
@88250 88250 changed the title macOS 无法导出 Word macOS 端无法导出 Word Jun 14, 2023
@DreamsCat
Copy link
Author

日志中没有报错,导出 Word 有点慢,上面你的录屏看不到提示,你等正在导出提示完看看会不会弹出导出完成的提示。

不行,就上文的测试文档,等了几分钟都没弹出窗口,不应该呀

@DreamsCat
Copy link
Author

日志中没有报错,导出 Word 有点慢,上面你的录屏看不到提示,你等正在导出提示完看看会不会弹出导出完成的提示。

你那边试试能不能复现

@88250
Copy link
Member

88250 commented Jun 15, 2023

呃,我之前就试过了才给你说的,如果能重现的话就直接标记为 Bug 了……

再试下打开开发者工具,切换到 Console 看看导出按下后有没有报错。

@DreamsCat
Copy link
Author

呃,我之前就试过了才给你说的,如果能重现的话就直接标记为 Bug 了……

再试下打开开发者工具,切换到 Console 看看导出按下后有没有报错。

我重新试了下,帮忙看看
iShot_2023-06-15_09 13 56

内核日志:
system-log.zip

@88250
Copy link
Member

88250 commented Jun 15, 2023

内核日志里还是没有报错,试试切换到 Network 看看请求。

@88250
Copy link
Member

88250 commented Jun 15, 2023

还有,试下新建一个工作空间,在新的工作空间上测试看看。

@DreamsCat
Copy link
Author

内核日志里还是没有报错,试试切换到 Network 看看请求。

image 发现问题了,没有导出配置,至少也得给出个提示吧,不然都不知道哪里有问题

@88250
Copy link
Member

88250 commented Jun 15, 2023

好的,稍后我们看下可能是前端显示的 bug,感谢反馈。

@DreamsCat
Copy link
Author

内核日志里还是没有报错,试试切换到 Network 看看请求。

image 而且这个是思源自带了吗?为啥还不行的,难道需要自己下载?

@DreamsCat
Copy link
Author

好的,稍后我们看下可能是前端显示的 bug,感谢反馈。

我知道原因了,之前安装思源的时候,工作空间默认就是这个,随后把工作空间手动迁移到其他文件夹下了,这个可执行路径没有更新过来,一直都是旧的

@88250 D大 麻烦看看这个是否可以处理下?跟着工作空间的路径走,不要按照第一次初始化的路径固定住,不然容易引发此问题

@88250
Copy link
Member

88250 commented Jun 15, 2023

之前你手动调整过 设置 - 导出 - Pandoc 路径 吗?

@DreamsCat
Copy link
Author

之前你手动调整过 设置 - 导出 - Pandoc 路径 吗?

从来没有,我是昨天才发现有导出 Word 功能的,所以试了下,之前都不知道有 Pandoc 路径这一配置

@88250
Copy link
Member

88250 commented Jun 15, 2023

I 2023/06/15 09:12:58 pandoc.go:115: built-in pandoc [ver=3.1.1, bin=/Users/dream/SiYuan/temp/pandoc/bin/pandoc]

现在你手动设置这个选项了吗?没有的话先不要动,看下工作空间/conf/conf.json 中 pandocBin 的值。

@88250 88250 self-assigned this Jun 15, 2023
@88250 88250 changed the title macOS 端无法导出 Word 在某些情况下无法初始化 Pandoc Jun 15, 2023
@88250 88250 changed the title 在某些情况下无法初始化 Pandoc 在某些情况下未初始化 Pandoc Jun 15, 2023
@88250 88250 changed the title 在某些情况下未初始化 Pandoc Pandoc is not initialized in some cases Jun 15, 2023
@88250 88250 added the Bug label Jun 15, 2023
@88250 88250 added this to the 2.9.2 milestone Jun 15, 2023
@DreamsCat
Copy link
Author

I 2023/06/15 09:12:58 pandoc.go:115: built-in pandoc [ver=3.1.1, bin=/Users/dream/SiYuan/temp/pandoc/bin/pandoc]

现在你手动设置这个选项了吗?没有的话先不要动,看下工作空间/conf/conf.json 中 pandocBin 的值。

。。。额,我刚已经手动设置过了,现在这个值就是我手动设置过的值。。

@88250
Copy link
Member

88250 commented Jun 15, 2023

好的,没关系,通过上面你的截图基本也确认问题了,感谢感谢,后续会改进 Pandoc 的初始化代码实现来避免这个问题。

@mozhux
Copy link

mozhux commented Jun 19, 2023

dev2 导出opml直接卡死, pandoc占用爆内存,dev3 导出opml 无内容。
{1PBETZJQGIX@59O D5NA

@88250
Copy link
Member

88250 commented Jun 19, 2023

@mozhux 感谢反馈,稍后修复。

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

3 participants