You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my production server, I get the above error in this context:
Got 'Counter-' between two lines. Expected nothing or a preserved line break
site-packages/uwsgidecorators.py in manage_spool_request at line 60
ret = f(vars)
file = HTML(string=string).write_pdf()
I can NOT reproduce this on the same setup locally, despite the OS, packages, and even database being identical. Any ideas where to start debugging this?
The text was updated successfully, but these errors were encountered:
Debugging this kind of bugs is really difficult. You're right, the first step is to find a way to reproduce the bug… There are many reasons why you can't reproduce, but it's probably related to either:
the versions of cairo, pango or harfbuzz that are different on your server and your local setups, or
the fonts installed.
As you said that you use the same setup, I think that it's caused by the fonts. That's a very common reason why documents are not the same on different computers, and that's an almost sure reason if you didn't explicitely specified a font family in the CSS.
You can try to render another document with the same CSS on production and see which font is embedded in the generated PDF, then install this font locally, force its use in the CSS and see if you can reproduce the bug.
If it doesn't work, we'll have to find another solution!
liZe
added
crash
Problems preventing documents from being rendered
bug
Existing features not working as expected
labels
May 16, 2016
On my production server, I get the above error in this context:
I can NOT reproduce this on the same setup locally, despite the OS, packages, and even database being identical. Any ideas where to start debugging this?
The text was updated successfully, but these errors were encountered: