Skip to content

PDF generation is broken #270

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

Open
bouweandela opened this issue May 12, 2022 · 15 comments · Fixed by #437
Open

PDF generation is broken #270

bouweandela opened this issue May 12, 2022 · 15 comments · Fixed by #437
Assignees
Milestone

Comments

@bouweandela
Copy link
Member

https://github.com/NLeSC/guide/runs/6401893102?check_suite_focus=true

@sverhoeven Would you have time to take a look at this?

@egpbos egpbos added the bug label Oct 20, 2023
@egpbos egpbos added this to the v1.0 milestone Dec 3, 2024
@vedran-kasalica vedran-kasalica self-assigned this Dec 3, 2024
@vedran-kasalica
Copy link
Member

vedran-kasalica commented Dec 3, 2024

I looked into the issue and the PDF can be generated locally without issues not as a GitHUb action with docsify-pdf-converter (we looked into alternatives and docker-docsify-pdf looked promising). It is difficult to test whether it can be pushed to Zenodo at the moment (the last step in the workflow). We can wait for the new release and fix it if it fails to publish the PDF to Zenodo.

@egpbos
Copy link
Member

egpbos commented Dec 4, 2024

The PDF generation itself has been fixed in #393. The only thing remaining for this issue is to check whether the upload to Zenodo is working when we publish the v1.0 release.

@egpbos egpbos added the release label Dec 4, 2024
@egpbos egpbos moved this to In progress in Guide sprint Dec 7, 2024
@egpbos egpbos moved this from In progress to Ready in Guide sprint Dec 7, 2024
@c-martinez
Copy link
Member

Hey @vedran-kasalica, @egpbos just did a release, but it looks like the PDF build is failing. Any idea what may be going wrong?

@vedran-kasalica
Copy link
Member

@c-martinez I am not sure, but I can look into it this week

@c-martinez
Copy link
Member

Awesome, thanks @vedran-kasalica !

@egpbos
Copy link
Member

egpbos commented Apr 4, 2025

Any luck with this so far? :)

@vedran-kasalica
Copy link
Member

I'm sorry, it slipped my mind completely. I can have a look later next week, but if you have time before feel free to

@vedran-kasalica
Copy link
Member

vedran-kasalica commented Apr 28, 2025

Sorry for the delay, I think that #437 solves the issue. Unfortunately, I cannot test if the PDF will be automatically published to Zenodo on Release. I cannot see the Zenodo configuration, as I am not an owner.

@github-project-automation github-project-automation bot moved this from Ready to Done in Guide sprint Apr 29, 2025
@egpbos
Copy link
Member

egpbos commented Apr 29, 2025

Reopening until we confirmed that the fix works (can only be tested on main).

@egpbos egpbos reopened this Apr 29, 2025
@egpbos
Copy link
Member

egpbos commented Apr 29, 2025

I manually started the workflow on main. This will upload an unreleased version.

@egpbos
Copy link
Member

egpbos commented Apr 29, 2025

...or at least it should, but the upload to Zenodo step is skipped 😢

Image

@egpbos
Copy link
Member

egpbos commented Apr 29, 2025

Ah, that step also only triggers on release. I guess we'll do a release then :) This is warranted anyway, because we have the new Rust chapter. I will fix a few broken links before releasing...

@egpbos
Copy link
Member

egpbos commented Apr 29, 2025

ARrrgh, released 1.1, but it still doesn't upload: https://github.com/NLeSC/guide/actions/runs/14731240906/job/41345795858

Also, the new Zenodo entry is still used (ref #427): https://zenodo.org/records/15303399

@egpbos
Copy link
Member

egpbos commented Apr 29, 2025

It seems likely that the action we are using for uploading to Zenodo is just broken, since it has not been updated in 4 years: https://github.com/iomega/zenodo-upload

Perhaps we should instead switch to https://github.com/zenodraft/action. We can use that with the filenames config option to only upload the PDF. What's also very nice about this action is that it can use Zenodo Sandbox for testing, so that we don't have to do this annoying testing in main thing anymore.

If someone has time to try switching to this, a PR would be most welcome!

@c-martinez
Copy link
Member

c-martinez commented May 5, 2025

I've created a draft PR #440, but I think it might need a bit of testing before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants