Bug 1174051
| Summary: | error building PDF: ASSERT failure in QList<T>::operator[]: "index out of range" | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Greg Sheremeta <gshereme> |
| Component: | publican | Assignee: | Lee Newson <lnewson> |
| Status: | CLOSED WONTFIX | QA Contact: | Ruediger Landmann <rlandman> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2 | CC: | cbredesen, lnewson, rlandman, ykatabam |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-29 17:08:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1172043 | ||
There are a couple workarounds to this: The first is to change the font via the publican.cfg "pdf_body_font" and "pdf_mono_font" properties. Normally it requires doing a bit of mixing and matching to find something that works. This approach has worked for all but 2 cases I've seen. The second is to revert to FOP as the pdf renderer, via the "--pdftool=fop" argument. However this has varying results and also tends to output a differently styled PDF. As such this isn't really an alternative internally. The last, which is really only an option for writers and is very much so a last ditch effort, is to add some some additional revision history entries or to rework some of the content. This then adjusts the number of pages ever so slightly, which then offsets the issue. Closing, we've worked around. |
Description of problem: [===========================================================>] Page 190 of 191 ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/lib64/wkhtmltopdf/include/QtCore/qlist.h, line 477 wkhtmltopdf died, PDF generation failed. Check log for details. at /usr/bin/publican line 1223 error: Bad exit status from /var/tmp/rpm-tmp.4vi0zD (%build) Bad exit status from /var/tmp/rpm-tmp.4vi0zD (%build) RPM build errors: Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/rhevm-doc.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/rhevm-doc.spec'] LEAVE do --> EXCEPTION RAISED Version-Release number of selected component (if applicable): 4.2 (or whatever is in brew) How reproducible: Steps to Reproduce: 1. brew RHEV documentation Actual results: dies Expected results: a beautiful PDF Additional info: