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

Error when creating a pdf compute_toc_pages: true #1813

Closed
marionb opened this issue Sep 6, 2023 · 0 comments · Fixed by #1814
Closed

Error when creating a pdf compute_toc_pages: true #1813

marionb opened this issue Sep 6, 2023 · 0 comments · Fixed by #1814
Assignees

Comments

@marionb
Copy link
Contributor

marionb commented Sep 6, 2023

With the newest MFP images and the configuration:

compute_toc_pages: true

An error is generated instead of a PDF.
For details see:

The error is:

File "/usr/local/lib/python3.9/site-packages/pyramid_oereb/contrib/print_proxy/mapfish_print/mapfish_print.py", line 118,
in __call__ x.append(pdf_reader.outline[i]['/Page']['/StructParents']) 
TypeError: list indices must be integers or slices, not str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant