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

Incorrect Plist syntax: UnexpectedXmlCharactersExpectedElement (offset 56) #2427

Closed
TeaDrinkingProgrammer opened this issue Jan 27, 2024 · 2 comments

Comments

@TeaDrinkingProgrammer
Copy link

Bug Report

I am migrating from Linux to Windows. Before migrating, my Zola website was working. After migrating to Windows 11, pulling from GitHub and running zola serve, I got the following error:

Error: Failed to serve the site
Error: Invalid syntax theme settings
Error: Reason: Incorrect Plist syntax: UnexpectedXmlCharactersExpectedElement (offset 56)

I am sorry that I can't provide more details: the error is so vague I have no idea where to even start looking.

Environment

Zola version: 0.18.0

Expected Behavior

Tell us what should have happened.

Step to reproduce

For now, the most specific report I can give is:

  1. Pull my blog: https://github.com/TeaDrinkingProgrammer/TeaDrinkingProgrammer.github.io
  2. run zola serve in the root folder.
  3. The error should appear.
@Keats
Copy link
Collaborator

Keats commented Jan 27, 2024

Looks like it would be the custom highlight themes not working? Can you comment https://github.com/TeaDrinkingProgrammer/TeaDrinkingProgrammer.github.io/blob/main/config.toml#L77-L81 and see if it works?

@TeaDrinkingProgrammer
Copy link
Author

I have found the problem: I pushed my Linux symlinks on git and used them on Windows. That doesn't work, of course. I fixed the issue by making Windows symlinks. Thank you for sending me to the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants