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

No flowcharts on ebooks #279

Closed
cedounet opened this issue Nov 10, 2023 · 9 comments
Closed

No flowcharts on ebooks #279

cedounet opened this issue Nov 10, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@cedounet
Copy link
Collaborator

cedounet commented Nov 10, 2023

No flowchart is showing up on the book built

  • Does not work on MacOS
  • Does not work on my debian (testing) machine anymore
  • Does not work on the CI. It used to...

All svg are empty (debian)
❯ ls -1 --size -h book*svg 0 book0x.svg 0 book10x.svg 0 book11x.svg 0 book12x.svg 0 book13x.svg 0 book14x.svg 0 book15x.svg 0 book16x.svg 0 book17x.svg 0 book18x.svg 0 book1x.svg 0 book20x.svg 0 book21x.svg 0 book22x.svg 0 book23x.svg 0 book2x.svg 0 book3x.svg 0 book4x.svg 0 book5x.svg 0 book6x.svg 0 book7x.svg 0 book8x.svg 0 book9x.svg

@cedounet cedounet added the bug Something isn't working label Nov 10, 2023
@hendricius
Copy link
Owner

@cedounet any chance you can install Docker on your local machine? Then we at least have the same environment. Docker for desktop.

@cedounet
Copy link
Collaborator Author

cedounet commented Nov 15, 2023

I can try that when I am back... i got ebooks to work (i.e. show flowcharts) on my debian machine though. So likely a tool problem.

debian looks like:

<?xml version='1.0' encoding='UTF-8'?>
<!-- This file was generated by dvisvgm 3.1.2 -->
<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='0pt' height='0pt' viewBox='0 0 0 0'>
<g id='page1' transform='matrix(1.4 0 0 1.4 0 0)'/>
</svg>

MacOS:

The old, written in PostScript, PDF interpreter has been removed entirely.
You should cease using -dNEWDPF as it has no effect n<?xml version='1.0' encoding='UTF-8'?>
<!-- This file was generated by dvisvgm 3.0.3 -->
<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='0pt' height='0pt' viewBox='0 0 0 0'>
<g id='page1' transform='matrix(1.4 0 0 1.4 0 0)'/>
</svg>

@cedounet
Copy link
Collaborator Author

CI is using

dvisvgm --version
dvisvgm 3.0.3

@cedounet
Copy link
Collaborator Author

After #281

we are on

dvisvgm --version
dvisvgm 3.1.2

for the CI

Does not seem to help a lot though, erros from calibre here and no image.

Failed to read from book file: OEBPS/book2x.svg with error: [Errno 2] No such file or directory: '/home/ced/.cache/calibre/ev2/f/c1-69kofpth/OEBPS/book2x.svg'
Failed to read from book file: OEBPS/book3x.svg with error: [Errno 2] No such file or directory: '/home/ced/.cache/calibre/ev2/f/c1-69kofpth/OEBPS/book3x.svg'
Failed to read from book file: OEBPS/book4x.svg with error: [Errno 2] No such file or directory: '/home/ced/.cache/calibre/ev2/f/c1-69kofpth/OEBPS/book4x.svg'
Failed to read from book file: OEBPS/book5x.svg with error: [Errno 2] No such file or directory: '/home/ced/.cache/calibre/ev2/f/c1-69kofpth/OEBPS/book5x.svg'
Failed to read from book file: OEBPS/book6x.svg with error: [Errno 2] No such file or directory: '/home/ced/.cache/calibre/ev2/f/c1-69kofpth/OEBPS/book6x.svg'

@hendricius
Copy link
Owner

Seems like it can't find the resources somehow, right?

@cedounet
Copy link
Collaborator Author

Looks like svg files are not being created for some reason?

cedounet pushed a commit that referenced this issue Nov 18, 2023
Solves #279
by removing dvisvgm_hashes
@hendricius
Copy link
Owner

@cedounet this can be closed right?

@cedounet
Copy link
Collaborator Author

I think so but I have not checked yet… if you have please do :)

@cedounet
Copy link
Collaborator Author

#287 Now verified (with Calibre..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants