Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
Hello! On Mon, 26 Nov 2012 03:52:23 + (UTC) Dima Pasechnik dimp...@gmail.com wrote: On 2012-11-26, v_2e v...@ukr.net wrote: I removed the package 't1-cyrillic' which contained the files with comma in 'ItalicAngle' value that I listed in one of my previous messages, and now the Sage tests pass fine. However, I do not understand why the Sage which installed into '/opt' directory depends on some Cyrillic fonts installed somewhere in '/usr/share/fonts'. Is it a normal work? well, yes, Sage uses parts of the OS, e.g. system libaries, bash, etc etc, how else can it function? And fonts, indeed. I think that 't1-cyrillic' triggers a bug - one should not use ',' in the file names --- or at least this is quite weird practice. E.g. on a system without cygillic locale one e.g. has /usr/share/fonts/X11/Type1/qbkbi.afm:' -10.3 I think what happens is that the filenames generated by the installer (or fontconfig?) are locale-dependent - as you can see, the package itself does not have files with such weird names: http://packages.debian.org/wheezy/all/t1-cyrillic/filelist I just tried installing t1-cyrillic on a non-cyrillic weezy system, and I have not got any ',' in file names. Well, there are actually no ',' (commas) in file names, but there are commas in their contents. I mean, *inside* the file there is a parameter 'ItalicAngle' which contains a comma instead of a point. So, could you please check the *contents* of the corresponding files on your Wheezy system? Thanks! Vladimir - v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
On Mon, 26 Nov 2012 06:47:53 +0100 Johan Grönqvist johan.gronqv...@gmail.com wrote: Do you still get the , in the file(s) if you install the font package in a non-cyrillic locale, as with LC_ALL=C apt-get install t1-cyrillic No, it did not help. I tried to change LC_ALL, LANG and LANGUAGE, but no effect. By the way, I downloaded the t1-cyrillic_4.16_all.deb package from here: http://packages.debian.org/wheezy/t1-cyrillic and unpacked it. It turned out that this archive contains the files with commas in 'ItalicAngle' field. So it does not seem to be the problem of my setup, am I right? Regards, Vladimir - v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
Hello! On Sun, 25 Nov 2012 19:05:28 +0100 Johan Grönqvist johan.gronqv...@gmail.com wrote: On my (amd64) debian wheezy, I ran make test on sage 5.4.1 and I see: All tests passed! Did you run some other command to test things? I did run 'make test' command. I have also noticed that the detailed error messages related to the failed tests contain the error message described in my previous posts to 'sage-support' mailing list with the subject Matplotlib: KeyError:'ItalicAngle' Maybe somebody is able to point me to a solution of this problem? Thanks! Vladimir - v_2e v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
On Sun, 25 Nov 2012 22:22:47 v_2e wrote: Hello! On Sun, 25 Nov 2012 19:05:28 +0100 Johan Grönqvist johan.gronqv...@gmail.com wrote: On my (amd64) debian wheezy, I ran make test on sage 5.4.1 and I see: All tests passed! Did you run some other command to test things? I did run 'make test' command. I have also noticed that the detailed error messages related to the failed tests contain the error message described in my previous posts to 'sage-support' mailing list with the subject Matplotlib: KeyError:'ItalicAngle' Maybe somebody is able to point me to a solution of this problem? You may be missing a font Vladimir. Francois -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
On Mon, 26 Nov 2012 09:24:38 +1300 François Bissey francois.bis...@canterbury.ac.nz wrote: You may be missing a font Vladimir. Yes, I thought so too, but which one? How can I find it out? Thanks! Vladimir - v_2e v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
On Sun, 25 Nov 2012 22:41:24 v_2e wrote: On Mon, 26 Nov 2012 09:24:38 +1300 François Bissey francois.bis...@canterbury.ac.nz wrote: You may be missing a font Vladimir. Yes, I thought so too, but which one? How can I find it out? Could you check if any font are pulled by debian if you install the matplotlib deb? Francois -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
On Sun, 25 Nov 2012 21:56:11 +0100 Johan Grönqvist johan.gronqv...@gmail.com wrote: If I was missing a font related to these kinds of things, I would first try to install the debian package texlive-fonts-recommended and see if that helped. (I have that package installed on the system where all tests pass.) I have just installed this package, but it did not help. Maybe I have to do some additional steps after its installation? On Mon, 26 Nov 2012 09:53:37 +1300 François Bissey francois.bis...@canterbury.ac.nz wrote: Could you check if any font are pulled by debian if you install the matplotlib deb? I checked that also. No, 'python-matplotlib' package does not pull any fonts packages. Regards, Vladimir - v_2e v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
Hello! On Sun, 25 Nov 2012 22:19:14 +0100 Johan Grönqvist johan.gronqv...@gmail.com wrote: All my lines like that in AFM files seem to use a . as decimal separator. Perhaps you have a , somewhere? (Of course, it could just be your system printing things using the ,, rather than the actual AFM file containing a ,) 1) What is the output of running grep ItalicAngle /usr/share/fonts/X11/Type1/*.afm | grep , on your system? On my system the output is not empty. Here it is: /usr/share/fonts/X11/Type1/a010033d.afm:ItalicAngle -10,5 /usr/share/fonts/X11/Type1/a010035d.afm:ItalicAngle -10,5 /usr/share/fonts/X11/Type1/b018032d.afm:ItalicAngle -10,3 /usr/share/fonts/X11/Type1/b018035d.afm:ItalicAngle -10,3 /usr/share/fonts/X11/Type1/n019063d.afm:ItalicAngle -9,9 /usr/share/fonts/X11/Type1/n019064d.afm:ItalicAngle -9,9 /usr/share/fonts/X11/Type1/n021023d.afm:ItalicAngle -15,5 /usr/share/fonts/X11/Type1/n021024d.afm:ItalicAngle -15,3 /usr/share/fonts/X11/Type1/p052023d.afm:ItalicAngle -9,5 /usr/share/fonts/X11/Type1/p052024d.afm:ItalicAngle -9,9 2) What is the output of running grep ItalicAngle `find . -name *.afm` | grep , in the sage directory? This one is indeed empty on my system too. But what does the non-empty output mean? Do I have the incorrect font files? Regards, Vladimir - v_2e v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
On Mon, 26 Nov 2012 00:35:45 v_2e wrote: Hello! On Sun, 25 Nov 2012 22:19:14 +0100 Johan Grönqvist johan.gronqv...@gmail.com wrote: All my lines like that in AFM files seem to use a . as decimal separator. Perhaps you have a , somewhere? (Of course, it could just be your system printing things using the ,, rather than the actual AFM file containing a ,) 1) What is the output of running grep ItalicAngle /usr/share/fonts/X11/Type1/*.afm | grep , on your system? On my system the output is not empty. Here it is: /usr/share/fonts/X11/Type1/a010033d.afm:ItalicAngle -10,5 /usr/share/fonts/X11/Type1/a010035d.afm:ItalicAngle -10,5 /usr/share/fonts/X11/Type1/b018032d.afm:ItalicAngle -10,3 /usr/share/fonts/X11/Type1/b018035d.afm:ItalicAngle -10,3 /usr/share/fonts/X11/Type1/n019063d.afm:ItalicAngle -9,9 /usr/share/fonts/X11/Type1/n019064d.afm:ItalicAngle -9,9 /usr/share/fonts/X11/Type1/n021023d.afm:ItalicAngle -15,5 /usr/share/fonts/X11/Type1/n021024d.afm:ItalicAngle -15,3 /usr/share/fonts/X11/Type1/p052023d.afm:ItalicAngle -9,5 /usr/share/fonts/X11/Type1/p052024d.afm:ItalicAngle -9,9 2) What is the output of running grep ItalicAngle `find . -name *.afm` | grep , in the sage directory? This one is indeed empty on my system too. But what does the non-empty output mean? Do I have the incorrect font files? I am guessing that may be a problem with your local - or possibly the local of root. Not sure how to solve that. Francois -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
Re: [sage-devel] Re: 128 failed tests of Sage-5.4.1 on Debian Wheezy
I removed the package 't1-cyrillic' which contained the files with comma in 'ItalicAngle' value that I listed in one of my previous messages, and now the Sage tests pass fine. However, I do not understand why the Sage which installed into '/opt' directory depends on some Cyrillic fonts installed somewhere in '/usr/share/fonts'. Is it a normal work? Regards, Vladimir - v_2e v...@ukr.net -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.