Closed Uzay-G closed 4 years ago
No idea. I tried to recreate it, based on what you put here, and got no error: https://gist.github.com/eyeseast/67e11cdbe029f87577dc023b12e60980
Did I miss anything there?
Oh apparently the variable i was using to store the title
must have not been in string format or something because directly using str(title)
fixed the problem.
Thanks
I was really happy to find this package because it will be super helpful for a project of mine.
I was using it like this when i got the error
yaml.representer.RepresenterError: ('cannot represent an object', 'Home | UZPG')
:Output:
I tried it with other
title
attributes and it always fails. Do you know what the problem could be? Thanks a bunch!