Closed ajalvarez closed 6 years ago
UnicodeEncodeError: ascii codec can't encode character '\u201c' in position 2338: ordinal not in range(128)
Interestingly, it seems to be a problem with Jinja. Can you remove line 128 from jitced_template.c
and see whether this problem persists?
Can you also please tell me your Jinja version (import jinja2; print(jinja2.__version__
)? I guess that you might have fallen victim to this issue.
Hello,
First of all, your software is wonderful. Thank you !. Anything I could contribute would be delighted.
My Jinja2 is version 2.9.6
I will review the link that you recommend to me.
Thanks again,
import jinja2
jinja2.version
'2.9.6'
A. J. Alvarez-Socorro PhD Student at University of Chile Faculty of Physical and Mathematical Sciences - Department of Physics
2018-03-10 16:16 GMT+01:00 Gerrit Ansmann notifications@github.com:
Can you also please tell me your Jinja version (import jinja2; print(jinja2.version)? I guess that you might have fallen victim to this issue https://github.com/pallets/jinja/issues/309?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/neurophysik/jitcdde/issues/10#issuecomment-372037334, or mute the thread https://github.com/notifications/unsubscribe-auth/AGTbK0JEJhQusOEaPAzWGCi11FypHtzXks5tc-5LgaJpZM4SklWG .
Okay, so your Jinja2 version is probably not the issue. You could still try updating to 2.10 to see whether it happens to solve the problem.
Did you try removing the offending line (line 128 from jitced_template.c
)? It is just a comment; so it does not affect functionality, but it does contain Unicode characters.
In yesterday’s release, I removed the offending Unicode characters. Now whoever reads that comment has to live with puny ASCII quotation marks and apostrophes, but your problem should be solved.
Can you please update and check?
Yes, I will update the library in few seconds :-)
Thanks for all.
A. J. Alvarez-Socorro PhD Student at University of Chile Faculty of Physical and Mathematical Sciences - Department of Physics
2018-03-14 7:54 GMT+01:00 Gerrit Ansmann notifications@github.com:
In yesterday’s release, I removed the offending Unicode characters. Now whoever reads that comment has to live with puny ASCII quotation marks and apostrophes, but your problem should be solved.
Can you please update and check?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/neurophysik/jitcdde/issues/10#issuecomment-372922391, or mute the thread https://github.com/notifications/unsubscribe-auth/AGTbK7Lu025aQ05dVbTA-s5V-iIL6OHJks5teL6UgaJpZM4SklWG .
@ajalvarez Are your problems solved now?
Yes, thanks.
I copy and paste the error/warning:
I suppose that I need to install an specific version/distribution of C.