PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Thursday the 16th of October, 2014

(Back to #pil overview) (Back to channel listing) (Animate logs)
[16:30:38] <anibal> Hello, any suggestions to fix this django-captcha: http://ladiaria.com.uy/comunidad/playas/
[17:11:19] <wiredfool> What's the problem, other than the server returning a 500 error
[17:18:15] <anibal> wiredfool, thank you, I got this now: PIL/_imaging.so: undefined symbol: PyUnicodeUCS2_AsLatin1String
[17:24:45] <Arfrever> anibal: You are using Python built with wide unicode, but your PIL/_imaging.so was built against a version of Python built with narrow unicode.
[17:25:18] <anibal> Arfrever, thank you very much, I will try to rebuild correctly
[17:25:32] <Arfrever> Python with narrow unicode has PyUnicodeUCS2_AsLatin1String, while Python with wide unicode has PyUnicodeUCS4_AsLatin1String.
[17:26:08] <Arfrever> (Obviously only in <3.3)
[17:34:55] <anibal> Arfrever, now the link should work and the broken captcha is shown
[17:35:28] <anibal> (wiredfool)
[17:36:30] <wiredfool> what kind of font are you using?
[17:37:10] <wiredfool> I'm going to bet that you're passing 2 byte unicode characters in, and the font rendering is in bytes
[17:37:18] <wiredfool> or, the encoding is messed.
[17:37:28] <wiredfool> what versions are you using?
[17:40:13] <anibal> wiredfool, PIL 1.1.7
[17:41:48] <wiredfool> ah. Many things have been fixed in Pillow since the fork, including at least a few that are related to font handling with unicode.