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

Turtle code implementation when generating html multi page does not work #68

Closed
bejar opened this issue May 17, 2018 · 2 comments
Closed
Labels

Comments

@bejar
Copy link

bejar commented May 17, 2018

When generating html multi page, the generation of the turtle code implementation fails with the
error "Error: Pygmentize Failed".

I have had a look at the code and in the file core/viz_factory.py in line 235, the method "serialize"
is called for an object of type OntoProperty. Its superclass RDF_entity has a method "rdf_source" that
by default returns the turtle representation of the object. I have patched the code so this method
is called instead and this fixes the problem.

@VladimirAlexiev
Copy link

About #12: turns out I already have it

>pip install pygments
Requirement already satisfied: pygments in c:\users\vladimir.alexiev\appdata\local\programs\python\python35\lib\site-pac
kages (2.2.0)

@lambdamusic could you make a release with @bejar's fix?

Cheers!

@lambdamusic
Copy link
Owner

lambdamusic commented May 23, 2018

Thanks for the feedback. I've updated the library Ontodocs relies on, which is what caused the error (@bejar well spotted!)

Now fixed: lambdamusic/Ontodocs#18

The new version is available on Pypi

@lambdamusic lambdamusic transferred this issue from lambdamusic/Ontodocs Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants