That could and probably should be fixed though. In this case just changing decode('ascii') to decode('latin1') will go a long way (will result in mojibake for some code pages, but at least won't crash). Better still is to try utf-8 first and fall back on latin-1 if that fails.
On Tue, Jul 5, 2016 at 5:27 PM, Dima Pasechnik <dimp...@gmail.com> wrote: > some parts of Sage do not work if Sage is installed in a directory with > non-ascii characters in its name. And you have that "Téléchargements" there. > Rename it to something ascii-only. > > > On Tuesday, July 5, 2016 at 3:57:50 PM UTC+1, Chakir Hilmi wrote: >> >> Hi all, >> >> I'm triying to install sage-7.2 on suse 13.2, but when i launch de make >> command i have the following error telling me to contact you with joining >> the error message file : >> >> Error message : >> >> Traceback (most recent call last): >> File "./spkg-install", line 596, in <module> >> rc = build_tuning() >> File "./spkg-install", line 537, in build_tuning >> rc = configure() >> File "./spkg-install", line 414, in configure >> make_check_enums() >> File >> "/home/hilmi/Téléchargements/sage-7.2/local/var/tmp/sage/build/atlas-3.10.2.p2/enums.py", >> line 201, in make_check_enums >> check_enums(output.decode('ascii')) >> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 42: >> ordinal not in range(128) >> >> real 0m5.086s >> user 0m3.117s >> sys 0m1.250s >> ************************************************************************ >> Error installing package atlas-3.10.2.p2 >> ************************************************************************ >> Please email sage-devel (http://groups.google.com/group/sage-devel) >> explaining the problem and including the relevant part of the log file >> /home/hilmi/Téléchargements/sage-7.2/logs/pkgs/atlas-3.10.2.p2.log >> Describe your computer, operating system, etc. >> If you want to try to fix the problem yourself, *don't* just cd to >> >> /home/hilmi/Téléchargements/sage-7.2/local/var/tmp/sage/build/atlas-3.10.2.p2 >> and type 'make' or whatever is appropriate. >> Instead, the following commands setup all environment variables >> correctly and load a subshell for you to debug the error: >> (cd >> '/home/hilmi/Téléchargements/sage-7.2/local/var/tmp/sage/build/atlas-3.10.2.p2' >> && '/home/hilmi/Téléchargements/sage-7.2/sage' --sh) >> When you are done debugging, you can type "exit" to leave the subshell. >> ************************************************************************ >> Makefile:1074: recipe for target >> '/home/hilmi/Téléchargements/sage-7.2/local/var/lib/sage/installed/atlas-3.10.2.p2' >> failed >> make[2]: *** >> [/home/hilmi/Téléchargements/sage-7.2/local/var/lib/sage/installed/atlas-3.10.2.p2] >> Error 1 >> make[2]: Leaving directory >> '/home/hilmi/Téléchargements/sage-7.2/build/make' >> Makefile:828: recipe for target 'all' failed >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> '/home/hilmi/Téléchargements/sage-7.2/build/make' >> >> real 0m8.856s >> user 0m6.227s >> sys 0m1.880s >> *************************************************************** >> Error building Sage. >> >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.