Bug 2212263
| Summary: | [abrt] python3-nbconvert: run_command(): pdf.py:150:run_command:nbconvert.exporters.pdf.LatexFailed: PDF creating failed, captured latex output: | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Ueding <mu> |
| Component: | python-nbconvert | Assignee: | Lumír Balhar <lbalhar> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 38 | CC: | epel-packagers-sig, jonathan, mhroncok, python-packagers-sig, torsava |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/6b0172a719cf162bfaa25a2f3eb48961cd9c9fee | ||
| Whiteboard: | abrt_hash:b63ee73ccedd2facdf4c2edf5fd40c182110b9a5;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-22 11:17:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Ueding
2023-06-05 06:47:35 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. I'm able to reproduce the bug. The problem n.1 is that xelatex is not a default dependency of nbconvert but the message informing about that is quite descriptive: OSError: xelatex not found on PATH, if you have not installed xelatex you may need to do so. Find further instructions at https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex. But even when you install xelatex, you'll get another set of errors about missing modules for latex. I got these one by one: ! LaTeX Error: File `tcolorbox.sty' not found. ! LaTeX Error: File `parskip.sty' not found. ! LaTeX Error: File `upquote.sty' not found. ! LaTeX Error: File `eurosym.sty' not found. ! LaTeX Error: File `adjustbox.sty' not found. I installed RPM packages providing those packages one by one and then I gave up. Questions to be solved: 1. Do we want xelatex as a default dependency of nbconvert? 2. Is there any way how to install complete working set of latex modules for nbconvert? @mhroncok what do you think? > Do we want xelatex as a default dependency of nbconvert? I wouldn't do it, it's quite a big pile of packages. But we can make it a weak dependency. > Is there any way how to install complete working set of latex modules for nbconvert? We can create the list and make a metapackage. However, I am not sure how to properly obtain it. There is https://pagure.io/fedtex which might help (Script for installing Fedora TeXLive packages required by a document.) (If we do this, we might as well do it with pandoc.) fedtex helped to identify the following dependencies: Following packages detected: tex(tcolorbox.sty) tex(parskip.sty) tex(graphicx.sty) tex(caption.sty) tex(float.sty) tex(xcolor.sty) tex(enumerate.sty) tex(geometry.sty) tex(amsmath.sty) tex(amssymb.sty) tex(textcomp.sty) tex(upquote.sty) tex(eurosym.sty) tex(iftex.sty) tex(fontenc.sty) tex(alphabeta.sty) tex(ucs.sty) tex(inputenc.sty) tex(fontspec.sty) tex(unicode-math.sty) tex(fancyvrb.sty) tex(grffile.sty) tex(adjustbox.sty) tex(hyperref.sty) tex(titling.sty) tex(longtable.sty) tex(booktabs.sty) tex(array.sty) tex(calc.sty) tex(enumitem.sty) tex(ulem.sty) tex(mathrsfs.sty) After that, I got another error: OSError: bibtex not found on PATH, if you have not installed bibtex you may need to do so. Find further instructions at https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex. So I installed bibtext and then, finally, nbconvert was able to generate pdf from a simple notebook. I'm not sure I want to add and maintain this list of dependencies in nbconvert package. Adding it is easy, but maintaining it is hard. Could we use fedtex in %check? Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21. Fedora Linux 38 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. |