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

[BROKEN] Prepare a snap of the 0.98 release #928

Closed
wants to merge 2 commits into from

Conversation

lornajane
Copy link
Contributor

We tagged a 0.98 release and normally I release a snap of each release (Fixes #907 or rather it would do if it worked). However this time I have run into problems. It builds fine with the changes in this branch. It also runs if no styles are used.

However with a stylesheet, I get an error about fc-match:

FileNotFoundError: [Errno 2] No such file or directory: 'fc-match': 'fc-match'

I think this is because of the issue here on the snapcraft forums ( warning that's quite a long discussion ) detailing a mismatch between font config versions. So far, it doesn't look like there's a fix, but I'm still asking around. So don't merge the PR but I wanted to share both my work-in-progress branch and the discussion around it.

@lornajane lornajane marked this pull request as draft September 28, 2020 20:09
@lornajane
Copy link
Contributor Author

I'm watching all the places I think will get news if this gets fixed, for now if you're looking to install 0.98, pip is the best route, or use the 0.97 snap in the meantime.

@mgedmin
Copy link

mgedmin commented Oct 10, 2020

FileNotFoundError: [Errno 2] No such file or directory: 'fc-match': 'fc-match'

This sounds like it's trying to subprocess.run(['fc-match', ...]), but you don't have a /usr/bin/fc-match in the environment where it's running.

You may need to install fontconfig inside the snap to get the fc-match binary.

@lornajane lornajane marked this pull request as ready for review October 12, 2020 19:17
@magicmonkey
Copy link

Still broken for me with the 0.98 snap; error messages attached are from running rst2pdf --stylesheets=simple.style document1.rst with the files from the "Document with Simple Styling" section of https://rst2pdf.org/examples.
error.txt

@mgedmin
Copy link

mgedmin commented Oct 13, 2020

And these errors look like fontconfig is too old to understand all the syntax in /etc/fonts/fonts.conf?

I think the good people in https://forum.snapcraft.io/ might be better qualified to help with this.

@lornajane
Copy link
Contributor Author

Indeed, please see the links to the snapcraft forum in the initial description of the pull request.

@lornajane lornajane marked this pull request as draft December 30, 2020 17:34
@lornajane
Copy link
Contributor Author

Closing, I can't see us working around this problem any time soon.

@lornajane lornajane closed this Aug 8, 2021
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

Successfully merging this pull request may close these issues.

Roll a Snap release for 0.98
3 participants