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时,文件路径中有空格则会失败 #2348

Closed
binsee opened this issue Jun 8, 2021 · 4 comments
Closed

同步助手调用pandoc时,文件路径中有空格则会失败 #2348

binsee opened this issue Jun 8, 2021 · 4 comments

Comments

@binsee
Copy link
Contributor

binsee commented Jun 8, 2021

在阅读模式导出到doc时,同步助手用调用pandoc转换,但如果文章标题有空格,则必会导致pandoc调用失败。

# pandoc  E:\Documents\坚果云\SimpRead\output\读书日 - 5 本让你颠覆三观的好书.html -o E:\Documents\坚果云\SimpRead\output/48-
读书日 - 5 本让你颠覆三观的好书.docx
[WARNING] Could not deduce format from file extension
  Defaulting to html
pandoc.exe: E:\Documents\\SimpRead\output\: openBinaryFile: does not exist (No such file or directory)

# pandoc  "E:\Documents\坚果云\SimpRead\output\读书日 - 5 本让你颠覆三观的好书.html" -o "E:\Documents\坚果云\SimpRead\output/
48-读书日 - 5 本让你颠覆三观的好书.docx"
@Kenshin
Copy link
Owner

Kenshin commented Jun 8, 2021

收到,先记下来。

@Hireek
Copy link

Hireek commented Nov 30, 2021

解决了吗

@Kenshin
Copy link
Owner

Kenshin commented Nov 30, 2021

解决了吗

暂时没有,所以请使用不含空格的路径。 😂

@Kenshin Kenshin added the done label May 19, 2022
@Kenshin
Copy link
Owner

Kenshin commented Jun 9, 2022

#2466 😄

@Kenshin Kenshin closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants