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

adding uml object to reStructurizedText file causes error when generating pdf doc #309

Closed
andybyc13 opened this issue Nov 16, 2021 · 1 comment
Labels
bug crash rinohtype aborts due to an uncaught exception third party

Comments

@andybyc13
Copy link

andybyc13 commented Nov 16, 2021

I need to generate pdf documentation with usage of plantuml plugin.

I created separated small project, which shows error from my real project.

When I add uml object in my reStructurizedText file, i get error output message:
Exception occurred:
File "/my-path/.local/lib/python3.7/site-packages/rinoh/frontend/init.py", line 29, in map_node
filename, line, node_name = cls.node_location(node)
AttributeError: type object 'Document' has no attribute 'node_location'

I compile this project with: sphinx-build -b rinoh . build

When building html documentation, there is no error. I use cmd: sphinx-build . build

I run this on debian buster.

attached zip contains input files to generate documentation, as well as detailed output error log, in which, there is specified configuration of tools (versions)

it is also reproducible with master version of rinoh

rinoh_test.zip

@andybyc13 andybyc13 added bug crash rinohtype aborts due to an uncaught exception labels Nov 16, 2021
@andybyc13 andybyc13 changed the title adding uml to rst causes improper pdf generation adding uml object to reStructurizedText file causes error when generating pdf doc Nov 17, 2021
@brechtm
Copy link
Owner

brechtm commented Nov 25, 2021

The PlantUML Sphinx plugin is currently lacking support for the rinoh builder. @alexfargus has built a proof of concept, but this is yet to be finished and included in sphinxcontib-plantuml. Please see sphinx-contrib/plantuml#43 for more information.

@brechtm brechtm closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash rinohtype aborts due to an uncaught exception third party
Projects
None yet
Development

No branches or pull requests

2 participants