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

The architecture of pandoc bundled in macOS arm64 version is still x86_64 (which is not fixed in #12750) #13110

Closed
3 tasks done
ZeroAurora opened this issue Nov 10, 2024 · 5 comments
Assignees
Labels

Comments

@ZeroAurora
Copy link

ZeroAurora commented Nov 10, 2024

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

#12750 does the upgrade to pandoc 3.5, and states that it supports macOS on Apple Silicon. However when using the latest version of SiYuan, the bundled binary is still incompatible.
I also looked into the content inside of the .app folder, found pandoc.zip and tried to run the binary inside of it, and the result is still the same. It might be a build problem.

Expected result

The bundled pandoc executable should be in correct architecture.

Screenshot or screen recording presentation

图片

Version environment

- Version: v3.1.11
- Operating System: macOS 15.1
- Browser (if used): N/A

Log file

siyuan.log

More information

No response

@88250
Copy link
Member

88250 commented Nov 11, 2024

Please try deleting the workspace/temp/pandoc/ folder and then starting SiYuan.

@ZeroAurora
Copy link
Author

Please try deleting the workspace/temp/pandoc/ folder and then starting SiYuan.

Tried and not working. I also specified in the issue that:

I also looked into the content inside of the .app folder, found pandoc.zip and tried to run the binary inside of it, and the result is still the same. It might be a build problem.

@ZeroAurora
Copy link
Author

ZeroAurora commented Nov 11, 2024

- from: "pandoc/pandoc-darwin-amd64.zip"

found the error in build

@88250
Copy link
Member

88250 commented Nov 11, 2024

Thanks for the feedback, it will be fixed in the next version.

@88250 88250 self-assigned this Nov 11, 2024
@88250 88250 added the Bug label Nov 11, 2024
@88250
Copy link
Member

88250 commented Nov 11, 2024

这个改进就不归入特定版本了,谢谢。
This improvement will not be included in a specific version, thank you.

@88250 88250 closed this as completed Nov 11, 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