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

AssertionError, Got u'Y' between two lines. Expected nothing or a preserved line break #418

Closed
lrodorigo opened this issue Feb 2, 2017 · 3 comments
Milestone

Comments

@lrodorigo
Copy link

lrodorigo commented Feb 2, 2017

[similar to https://github.com//issues/313]
Assertion Error

Exception Value:	
Got u'Y' between two lines. Expected nothing or a preserved line break
Exception Location:
/usr/local/lib/python2.7/site-packages/weasyprint/layout/inlines.py in split_text_box, line 718

Hi all,
I get the above error when I try to output in pdf this file http://pcb.dev.nextechs.it/test_weasy.html on my production server.
`WeasyPrint==0.34

It's running on Debian Jessie (inside a Docker container). I also tried to update libpango-1.0.0 from 1.36.8-3 (on default Debian Jessie branch) to 1.40.3-3 (using Debian Stretch branch)

I don't have problems on my ArchLinux (with same WeasyPrint and libpango versions).

I temporally "brutally workarounded" the issue by replacing with assert True or the above line. But I would like a clean solution.

Which others libraries should I check and compare versions?

Best Regards
Luigi Rodorigo

@liZe
Copy link
Member

liZe commented Feb 2, 2017

Thanks for reporting, this issue is just like #417 too 😄.

I think that it's been fixed by #410, could you please try the current master branch?

@lrodorigo
Copy link
Author

Fixed on master branch (git pull and setup.py install).
Can you forecast when updated pip package will be released?
Regards

@liZe liZe added this to the 0.34 milestone Feb 6, 2017
@liZe
Copy link
Member

liZe commented Feb 6, 2017

No problem!

@liZe liZe closed this as completed Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants