[sage-devel] Re: Uganda teaching feedback

2015-07-27 Thread rt.
it's indeed a web host which provide free service to store your data online 
or share it online.
the link is an open share link, it should be no problem as I can see it 
without login, maybe it's just like that I can't access google normally. 
Or maybe, I can send the file by email, may I have your email?
 

在 2015年7月26日星期日 UTC+8下午3:04:40,Dominique Laurain写道:

 Hi rt, no web page at your URL ( http://pan.baidu.com/s/1o6qYzgA 
 http://www.google.com/url?q=http%3A%2F%2Fpan.baidu.com%2Fs%2F1o6qYzgAsa=Dsntz=1usg=AFQjCNEzOFJZVCSBSliodqrPhpESIMNi4Q
 ):

 http://pan.baidu.com/error/404.html

 from the main page (http://pan.baidu.com/) : I guess it is a web host ... 
 you have to log in to access your website/blog/data..

 Dominique.


-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Uganda teaching feedback

2015-07-25 Thread rt.
the grub.svgz is the illustration of the boot process, it may be a little 
hard to read...
and the configurations are uploaded to somewhere else, here is the link:  
http://pan.baidu.com/s/1o6qYzgA


在 2015年7月25日星期六 UTC+8下午8:07:10,rt.写道:

 my USB flash was divided into two partitions, the first one serves 
 as a normal partition for file saving and the second one is only for 
 booting purpose, all the livecd are saved in the second partition managed 
 by grub2, the configuration files are placed in the attachment, to have it 
 bootable in both legacy bios mode and uefi mode, you will have to install 
 grub2 in two ways for targets, one is the i386( called like this in 
 grub2),another is x86_64-efi, I install it with the following commands:

 grub-install --removable --recheck --target=x86_64-efi 
 --efi-directory=/run/media/root/r\t 
 --boot-directory=/run/media/root/r\t/boot/grub/x86_64-efi
 grub-install --recheck --removable --target=i386-pc 
 --boot-directory=/run/media/root/r\t/boot/grub/i386-pc /dev/sdb

 before the two commands, you should already have the target 
 partition mounted on the right place( here is /run/media/root/r\t/ ), the 
 i386-pc targets need write data to mbr, while the x86_64-efi boot from efi 
 excutable file which is loaded directly by bios with uefi support, that's a 
 feature of uefi. As for 'secure boot', it's so called but it prohibit any 
 loader unsigned or signed with a wrong key( more often the key belongs to 
 Microsoft, but for some machine you can also install your own key), about 
 how to boot with secure boot on, here is some more detailed refrence:
 www.rodsbooks.com/efi-bootloaders/index.html
 an announcement about 'secure boot' by fsf two or three years ago:
 
 http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/statement

 the two targets share nearly the same configurations which are 
 located in /boot/grub/grub2_share/cfg, some file were removed to shrink the 
 file size, so it's not ready to boot, but the arrangement of the file can 
 be referenced.
 the main file for sagemath is placed in the same path as they are 
 arranged in the live img, here in my USB flash, it's the directory '/live', 
 the corresponding configuration is in 0_gnu_linux.cfg.
 among the files, /boot/grub/grub2_share/cfg/*.cfg and 
 /boot/grub/$target/grub/grub.cfg is what you can refer, the other files 
 were left just in case that you need.


 在 2015年7月25日星期六 UTC+8下午7:50:01,rt.写道:

 e.. not really, I'm just a junior student now and interested in computer 
 techniques.

 sorry to reply so late, we are having a field work and these days it 
 seems that the ipv6 was not available or not stable enough, I was blocked 
 and can't have access to google, so is this forum. Just now, I tried 
 several times and finally I am lucky to send this message!

 grub2 is of course a free software, it's also made by GNU project as an 
 update to legacy grub! As for my grub2 configuration, it seems that it will 
 take some space to write it. I will try to conclude it here. Besides, you 
 can find more instruction about it in the official manual.

 there is a great chance that you will have to fsck your usb flash disk, 
 at leastfor sage live 6.5 or earlier 6.4, but that's easy to deal with and 
 still acceptable. for the new version 6.7, I'm not sure as my laptop is now 
 more convinient, so I haven't got to try the new version now.
 It should be claimed that not only sagemath, but also many live cd would 
 couase the problem, and sagemath have tried to deal with this issue through 
 several more convenient methods, though it's not auto done now.


 it is little long to say about the boot mode uefi and legacy bios, it's 
 better that you find the explanation somewhere else, two place I recommend 
 is the uefi official webset and tiannocore, as I first learned it from all 
 kinds of forum, most of which were wrote in Chinese ...

 as for matlab, I just leared little, and it was already one year ago. as 
 now I don't want to spend much time on it, I can't tell much about it, 
 sorry. However, for matlab, there is a big problem, it's not free, not only 
 the charge but also not open source; also, it takes lots of disk space( my 
 hard disk is just a little inadequate to save all my files). Several weeks 
 ago, I tried ansys under the linux, finaly got defeated and will never want 
 to have ansys installed on linux again, there is so many troubles with it, 
 and hardly have documents, I'm afraid that matlab would have the same 
 circumstance, but that's just the third reason. Now sagemath is just 
 powerful enough and script is so convenient to use. With additional tools, 
 like a frontend( for example texmacs, with witch the formula displayed is 
 easy to read ), it can meet nearly all what I need, there is no reason for 
 me to try matlab again.

 maybe later I will try to add a map to illustrate how the grub2 works for 
 my USB

[sage-devel] Re: Uganda teaching feedback

2015-07-25 Thread rt.
e.. not really, I'm just a junior student now and interested in computer 
techniques.

sorry to reply so late, we are having a field work and these days it seems 
that the ipv6 was not available or not stable enough, I was blocked and 
can't have access to google, so is this forum. Just now, I tried several 
times and finally I am lucky to send this message!

grub2 is of course a free software, it's also made by GNU project as an 
update to legacy grub! As for my grub2 configuration, it seems that it will 
take some space to write it. I will try to conclude it here. Besides, you 
can find more instruction about it in the official manual.

there is a great chance that you will have to fsck your usb flash disk, at 
leastfor sage live 6.5 or earlier 6.4, but that's easy to deal with and 
still acceptable. for the new version 6.7, I'm not sure as my laptop is now 
more convinient, so I haven't got to try the new version now.
It should be claimed that not only sagemath, but also many live cd would 
couase the problem, and sagemath have tried to deal with this issue through 
several more convenient methods, though it's not auto done now.


it is little long to say about the boot mode uefi and legacy bios, it's 
better that you find the explanation somewhere else, two place I recommend 
is the uefi official webset and tiannocore, as I first learned it from all 
kinds of forum, most of which were wrote in Chinese ...

as for matlab, I just leared little, and it was already one year ago. as 
now I don't want to spend much time on it, I can't tell much about it, 
sorry. However, for matlab, there is a big problem, it's not free, not only 
the charge but also not open source; also, it takes lots of disk space( my 
hard disk is just a little inadequate to save all my files). Several weeks 
ago, I tried ansys under the linux, finaly got defeated and will never want 
to have ansys installed on linux again, there is so many troubles with it, 
and hardly have documents, I'm afraid that matlab would have the same 
circumstance, but that's just the third reason. Now sagemath is just 
powerful enough and script is so convenient to use. With additional tools, 
like a frontend( for example texmacs, with witch the formula displayed is 
easy to read ), it can meet nearly all what I need, there is no reason for 
me to try matlab again.


在 2015年7月22日星期三 UTC+8上午3:35:08,Dominique Laurain写道:

 Hi rt,

 you are advanced student, aren't you ? ... :-)

 yes, it will be good to share about grub2 like Thierry did/does for his 
 technical data...either in your own blog or you post it for some interested 
 sage users or dev.

 I know only grub at my job, but maybe grub2 is more up to date. I guess 
 many details are very important : how did you partition disk to handle 
 the boot process from the grub to the chosen ISO file ? is grub2 free (no 
 money to pay to install it) ? ...

 I don't know just now, what it means uefi or secure boot is off ... 
 you can write short explanation (or reference websites) about what you did 
 (no need to mention what you have not tried yourself).

 MATLAB can have advantages too : if you have the chance (for example usage 
 free with school) to use MATLAB, do it...you will understand you didn't 
 miss opportunity later,... you can compare and explain better your ideas 
 why SAGE is very good. Keep written notes about good or bad experiences.

 Dominique.


-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Uganda teaching feedback

2015-07-25 Thread rt.
my USB flash was divided into two partitions, the first one serves 
as a normal partition for file saving and the second one is only for 
booting purpose, all the livecd are saved in the second partition managed 
by grub2, the configuration files are placed in the attachment, to have it 
bootable in both legacy bios mode and uefi mode, you will have to install 
grub2 in two ways for targets, one is the i386( called like this in 
grub2),another is x86_64-efi, I install it with the following commands:

grub-install --removable --recheck --target=x86_64-efi 
--efi-directory=/run/media/root/r\t 
--boot-directory=/run/media/root/r\t/boot/grub/x86_64-efi
grub-install --recheck --removable --target=i386-pc 
--boot-directory=/run/media/root/r\t/boot/grub/i386-pc /dev/sdb

before the two commands, you should already have the target 
partition mounted on the right place( here is /run/media/root/r\t/ ), the 
i386-pc targets need write data to mbr, while the x86_64-efi boot from efi 
excutable file which is loaded directly by bios with uefi support, that's a 
feature of uefi. As for 'secure boot', it's so called but it prohibit any 
loader unsigned or signed with a wrong key( more often the key belongs to 
Microsoft, but for some machine you can also install your own key), about 
how to boot with secure boot on, here is some more detailed refrence:
www.rodsbooks.com/efi-bootloaders/index.html
an announcement about 'secure boot' by fsf two or three years ago:

http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/statement

the two targets share nearly the same configurations which are 
located in /boot/grub/grub2_share/cfg, some file were removed to shrink the 
file size, so it's not ready to boot, but the arrangement of the file can 
be referenced.
the main file for sagemath is placed in the same path as they are 
arranged in the live img, here in my USB flash, it's the directory '/live', 
the corresponding configuration is in 0_gnu_linux.cfg.
among the files, /boot/grub/grub2_share/cfg/*.cfg and 
/boot/grub/$target/grub/grub.cfg is what you can refer, the other files 
were left just in case that you need.


在 2015年7月25日星期六 UTC+8下午7:50:01,rt.写道:

 e.. not really, I'm just a junior student now and interested in computer 
 techniques.

 sorry to reply so late, we are having a field work and these days it seems 
 that the ipv6 was not available or not stable enough, I was blocked and 
 can't have access to google, so is this forum. Just now, I tried several 
 times and finally I am lucky to send this message!

 grub2 is of course a free software, it's also made by GNU project as an 
 update to legacy grub! As for my grub2 configuration, it seems that it will 
 take some space to write it. I will try to conclude it here. Besides, you 
 can find more instruction about it in the official manual.

 there is a great chance that you will have to fsck your usb flash disk, at 
 leastfor sage live 6.5 or earlier 6.4, but that's easy to deal with and 
 still acceptable. for the new version 6.7, I'm not sure as my laptop is now 
 more convinient, so I haven't got to try the new version now.
 It should be claimed that not only sagemath, but also many live cd would 
 couase the problem, and sagemath have tried to deal with this issue through 
 several more convenient methods, though it's not auto done now.


 it is little long to say about the boot mode uefi and legacy bios, it's 
 better that you find the explanation somewhere else, two place I recommend 
 is the uefi official webset and tiannocore, as I first learned it from all 
 kinds of forum, most of which were wrote in Chinese ...

 as for matlab, I just leared little, and it was already one year ago. as 
 now I don't want to spend much time on it, I can't tell much about it, 
 sorry. However, for matlab, there is a big problem, it's not free, not only 
 the charge but also not open source; also, it takes lots of disk space( my 
 hard disk is just a little inadequate to save all my files). Several weeks 
 ago, I tried ansys under the linux, finaly got defeated and will never want 
 to have ansys installed on linux again, there is so many troubles with it, 
 and hardly have documents, I'm afraid that matlab would have the same 
 circumstance, but that's just the third reason. Now sagemath is just 
 powerful enough and script is so convenient to use. With additional tools, 
 like a frontend( for example texmacs, with witch the formula displayed is 
 easy to read ), it can meet nearly all what I need, there is no reason for 
 me to try matlab again.

 maybe later I will try to add a map to illustrate how the grub2 works for 
my USB flash, hoping the net will hold on ...

it seems it's no easy to upload files here, I will try to make it later..
 


 在 2015年7月22日星期三 UTC+8上午3:35:08,Dominique Laurain写道:

 Hi rt,

 you are advanced student, aren't you ? ... :-)

 yes, it will be good to share about grub2

[sage-devel] Re: Uganda teaching feedback

2015-07-21 Thread rt.
Hearing the class for students about using sage, I'm a little excited. As 
I'm also a student, and got to know sage by accident at the begining of 
last year, I am just expecting for a more widely usage of sage on 
educational teaching class in China, as now here in the Univercities of 
China, more often matlab was introduced or even tought to students rather 
than haveing it as an alternative subject that students can choose if they 
want. For me, I don't like these commercial software about science and math 
related. However, most students just don't even know more alternative free 
and powerful software in these fields, and there is nearly no related 
reference for sagemath and so kind software. I don't think this case is ok 
for us students. And so I'm really hoping that you can make a big hit for 
sagemath applied to education.
Thierry is still so warmhearted, he has helped a lot for me to have a 
better accese to sage, and now the main OS I'm using is gentoo, it's very 
convenient to use sage and sage have been working very well when applied to 
several subjects that I am learning. Just in last week I tried to use sage 
to do a test over a possibility problem that my classmate
asked, sage did a good job!

As for the problem you referred, I agree with Thierry that the live boot 
media is the best way to have a quick access to sage also with almost all 
the features included.
now I'm having a usb stick with a lot live isos stored and managed by 
grub2, sagemath is of course included, it can be boot with either legacy 
bios or uefi so long as the secure boot is turned of or a more complicated 
method should be applied to handle the case. Grub2 is very flexible and can 
be used to boot sagemath directly from the squashfs file in spite of the 
position where the file is located, so the squashfs can be placed in the 
hard disk and the usb stick is only needed to load the boot process, thus 
the speed and stability should be of no problem, and the demand for more 
USB sticks is also sovled( when install grub2 to the hard disk, it's of no 
need for USB stick).
If needed, I'm happy to share the grub2 configuration.



在 2015年7月18日星期六 UTC+8上午2:00:49,Viviane Pons写道:

 Dear all,

 this last week, I was giving a class in a summer school in Uganda, along 
 with Jennifer Balakrishnan, on experimental mathematics (mine was 
 combinatorics and Jennifer's was number theory). Both classes were based on 
 Sage. Let me give you a feedback on using Sage here.

 Conditions;

 - around 30 students
 - limited Internet: the university network was much too slow for us to 
 work with, we were given a special network bought for the school but the 
 data was limited (we had to buy extra data a few times during the week)
 - every student had his / her own laptop. Only PCs, most of them Windows, 
 2 or 3 linux (Ubuntu)
 - most students had very limited computer skills

 Because of the Internet limitation, SMC was no good solution for everyone 
 to use. We still used it to do some demos, share code, and also as a backup 
 options for the students who couldn't get Sage running.

 Sage installation:

 Most of the students didn't have Sage installed, so the first afternoon 
 was devoted to install Sage everywhere. It mostly worked but we sometimes 
 had issues:
 * hard drive limitations: some hard drive were completely full and VM + 
 Sage was too big to get installed (also their HD was often partitioned in 
 weird ways and the program partition was full)
 * for some reason, the Sage VM takes forever to load on Windows 8 (which 
 makes it seem broken)

 Using Sage on the VM:

 Never had so much Sage on Windows experience before, this was a good test 
 and now here's everything that was wrong and annoying: 

 * Once a Sage virtual machine was in saved mode, it would usually crash 
 on re-openning and we had to discard the saved mode (I guess because their 
 computers were running out of memory)

 * Sharing files between the VM and Windows was NOT straightforward at all, 
 the Sage explanation were not working (I think you need to change the 
 usergroup in Ubuntu or something like this), at the end I just dropped the 
 idea as I could not do it on all 30 machines at once

 * And I didn't manage to make them download any notebooks either, because 
 the notebook wouldn't take https addresses, so actually I had no way to 
 share notebooks with them!! (except on SMC)

 * pdflatex wasn't installed by default which for me was a real problem as 
 I use it a lot to print combinatorial objects (thank you Jean-Baptiste for 
 the ascii art on binary trees, it saved me a bit!). And because of internet 
 limitations and the lack of Ubuntu knowledge from my students, it was not 
 really possible to install it on all their machines (I mean the VM)

 * I couldn't get the VM to show multiple windows and not even multiple 
 tabs. This was so annoying... Sometimes a student would click on a link on 
 a notebook and there was no way of going back to where 

Re: [sage-devel] sage 6.7 failed to load jmol to display 3d object

2015-07-15 Thread rt.
In fact, I'm not sure is the java in my notebook have anything to do with 
oracle, as I have only installed the Free Software icedtea for java 
dependancies. Unluckily, icedtea which was built on my laptop doesn't work 
well as icedtea-bin which was compiled by gentoo official for saving the 
time of compilation.
However, you have really done a great job! Sagemath have helped a lot in my 
math and some related subjects study. I have a preference for free software 
and I do believe that sage will have more great influence on math and 
science related software, as this kind of software helps us learn more 
basic knowledge, they shouldn't have been put into commercial chains.
Best wishes to sagemath!

在 2015年7月15日星期三 UTC+8下午7:57:37,François写道:

 In your original report you were using oracle java. Could be a 
 compatibility problem but 
 then in jmol. 
 We probably could do a better packaging job with jmol but it is a bit of a 
 headache. 

 François 

  On 15/07/2015, at 23:52, rt. rtgi...@gmail.com javascript: wrote: 
  
  it seems that it's the icedtea who have caused the problem, I tried to 
 emerged icedtea-bin and set it to be the system java-vm, and Jmol was 
 invoked and behaved as it should be, maybe I should post a bug for icedtea 
  
  在 2015年7月14日星期二 UTC+8上午9:39:44,François写道: 
  What about posting /root/.sage/temp/rt./12958/tmp_KGOIjb.txt” or its 
 equivalent when run 
  as a normal user? 
  
  I will only be able to test this tomorrow when I get physical access to 
 a 
  machine with sage-on-gentoo. 
  
  François 
  
   On 14/07/2015, at 13:35, rt. rtgi...@gmail.com wrote: 
   
   I just switch to a normal user, it still returns the same error. And 
 before this, I am always using root to do the daily job, and sage works 
 well. 
   (just for convinience, these days I'm considering rearrange my system, 
 and maybe, a normal user will be applied to do the daily job) 
   thanks! :) 
   
   在 2015年7月14日星期二 UTC+8上午9:23:17,François写道: 
   I think your problem is because you are running sage as root, but from 
 a 
   normal user session. The big clue is that your $DOT_SAGE folder is 
   “/root/.sage”. Please try as a normal user. 
   
   François 
   
On 14/07/2015, at 13:14, rt. rtgi...@gmail.com wrote: 

this seems not to be my case, as François said, this problem should 
 have been posted for sage-on-gentoo, while I haven't realized it before. 
Thank you all the same! 

在 2015年7月14日星期二 UTC+8上午1:37:06,Volker Braun写道: 
Confirmed, this is http://trac.sagemath.org/ticket/18891 

Run sage -i jmol to fix it for now. 


On Monday, July 13, 2015 at 7:14:03 PM UTC+2, rt. wrote: 
this is a newly built version together with gentoo, while the other 
 functions works well with only 3d plot failed. 
As I excute the following command: 

sage: var('x,y') 
sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi)) 

it returns : 


 /usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
  
 RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
 failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
 see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details 
  RichReprWarning, 
Graphics3d Object 

Not knowing what's going wrong, I have rebuild Jmol, but it changed 
 nothing 
maybe I can find the solution or reason here, and just around these 
 days, thanks to any help very much. 
If needed, more information would be provided (as now I don't know 
 what's neesded. 

Thanks very much! 

-- 
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+...@googlegroups.com. 
To post to this group, send email to sage-...@googlegroups.com. 
Visit this group at http://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+...@googlegroups.com. 
   To post to this group, send email to sage-...@googlegroups.com. 
   Visit this group at http://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+...@googlegroups.com javascript:. 
  To post to this group, send email to sage-...@googlegroups.com 
 javascript:. 
  Visit this group at http://groups.google.com/group/sage-devel. 
  For more options, visit https://groups.google.com/d/optout. 



-- 
You received this message because you are subscribed

Re: [sage-devel] sage 6.7 failed to load jmol to display 3d object

2015-07-15 Thread rt.
it seems that it's the icedtea who have caused the problem, I tried to 
emerged icedtea-bin and set it to be the system java-vm, and Jmol was 
invoked and behaved as it should be, maybe I should post a bug for icedtea

在 2015年7月14日星期二 UTC+8上午9:39:44,François写道:

 What about posting /root/.sage/temp/rt./12958/tmp_KGOIjb.txt” or its 
 equivalent when run 
 as a normal user? 

 I will only be able to test this tomorrow when I get physical access to a 
 machine with sage-on-gentoo. 

 François 

  On 14/07/2015, at 13:35, rt. rtgi...@gmail.com javascript: wrote: 
  
  I just switch to a normal user, it still returns the same error. And 
 before this, I am always using root to do the daily job, and sage works 
 well. 
  (just for convinience, these days I'm considering rearrange my system, 
 and maybe, a normal user will be applied to do the daily job) 
  thanks! :) 
  
  在 2015年7月14日星期二 UTC+8上午9:23:17,François写道: 
  I think your problem is because you are running sage as root, but from a 
  normal user session. The big clue is that your $DOT_SAGE folder is 
  “/root/.sage”. Please try as a normal user. 
  
  François 
  
   On 14/07/2015, at 13:14, rt. rtgi...@gmail.com wrote: 
   
   this seems not to be my case, as François said, this problem should 
 have been posted for sage-on-gentoo, while I haven't realized it before. 
   Thank you all the same! 
   
   在 2015年7月14日星期二 UTC+8上午1:37:06,Volker Braun写道: 
   Confirmed, this is http://trac.sagemath.org/ticket/18891 
   
   Run sage -i jmol to fix it for now. 
   
   
   On Monday, July 13, 2015 at 7:14:03 PM UTC+2, rt. wrote: 
   this is a newly built version together with gentoo, while the other 
 functions works well with only 3d plot failed. 
   As I excute the following command: 
   
   sage: var('x,y') 
   sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi)) 
   
   it returns : 
   
   
 /usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
  
 RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
 failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
 see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details 
 RichReprWarning, 
   Graphics3d Object 
   
   Not knowing what's going wrong, I have rebuild Jmol, but it changed 
 nothing 
   maybe I can find the solution or reason here, and just around these 
 days, thanks to any help very much. 
   If needed, more information would be provided (as now I don't know 
 what's neesded. 
   
   Thanks very much! 
   
   -- 
   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+...@googlegroups.com. 
   To post to this group, send email to sage-...@googlegroups.com. 
   Visit this group at http://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+...@googlegroups.com javascript:. 
  To post to this group, send email to sage-...@googlegroups.com 
 javascript:. 
  Visit this group at http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] sage 6.7 failed to load jmol to display 3d object

2015-07-13 Thread rt.
this is a newly built version together with gentoo, while the other 
functions works well with only 3d plot failed.
As I excute the following command:

sage: var('x,y')
sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi))

it returns :

/usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
 
RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details
  RichReprWarning,
Graphics3d Object

Not knowing what's going wrong, I have rebuild Jmol, but it changed nothing
maybe I can find the solution or reason here, and just around these days, 
thanks to any help very much.
If needed, more information would be provided (as now I don't know what's 
neesded.

Thanks very much!

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: sage 6.7 failed to load jmol to display 3d object

2015-07-13 Thread rt.
this seems not to be my case, as François said, this problem should have 
been posted for sage-on-gentoo, while I haven't realized it before.
Thank you all the same!

在 2015年7月14日星期二 UTC+8上午1:37:06,Volker Braun写道:

 Confirmed, this is http://trac.sagemath.org/ticket/18891

 Run sage -i jmol to fix it for now.


 On Monday, July 13, 2015 at 7:14:03 PM UTC+2, rt. wrote:

 this is a newly built version together with gentoo, while the other 
 functions works well with only 3d plot failed.
 As I excute the following command:

 sage: var('x,y')
 sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi))

 it returns :

 /usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
  
 RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
 failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
 see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details
   RichReprWarning,
 Graphics3d Object

 Not knowing what's going wrong, I have rebuild Jmol, but it changed 
 nothing
 maybe I can find the solution or reason here, and just around these days, 
 thanks to any help very much.
 If needed, more information would be provided (as now I don't know what's 
 neesded.

 Thanks very much!



-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] sage 6.7 failed to load jmol to display 3d object

2015-07-13 Thread rt.
It's strange that all the file in the directory is empty,and I find 
scene.spt.zip
in the subdirectory,but when try to display it directly with Jmol:

jmol  /root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip 
splash_image=jar:file:/usr/share/sage-jmol-bin/lib/Jmol.jar!/org/openscience/jmol/app/images/Jmol_splash.jpg
history file is /root/.jmol/history
(C) 2012 Jmol Development
Jmol Version: 14.2.11_2015.01.20  2015-01-20 12:29
java.vendor: Java: Oracle Corporation
java.version: Java 1.7.0_79
os.name: Linux
Access: ALL
memory: 44.5/97.4
processors available: 4
useCommandThread: false
User macros dir: /root/.jmol/macros
   exists: false
  isDirectory: false
Executing script: load 
/root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip;

FileManager.getAtomSetCollectionFromFile(/root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip)
cacheGet file://root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip false
cacheGet file://root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip false
FileManager opening 2 /root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip
cacheGet file://root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip false
cacheGet file://root/.sage/temp/rt./29736/dir_fz8ajw/scene.spt.zip false
The Resolver thinks Xyz
line cannot be read for XYZ atom data: -3 -2.84615 0.0919047
line cannot be read for XYZ atom data: -3 -2.69231 0.806228
...
line cannot be read for XYZ atom data: 2.69231 -1.61538 1.4976
line cannot be read for XYZ atom data: 2.69231 2.69231 1.49328
line cannot be read for XYZ atom data: 2.84615 1.46154 -1.48303
line cannot be read for XYZ atom data: 2.84615 2.53846 1.49646
line cannot be read for XYZ atom data: 1521
line cannot be read for XYZ atom data: 1
line cannot be read for XYZ atom data: 41
line cannot be read for XYZ atom data: 40
...

I'm wondering is there something wrong with the data file



在 2015年7月14日星期二 UTC+8上午3:28:16,François写道:

 Hi rt, 

 sage-on-gentoo bugs are best discussed in a github issue unless you 
 can reproduce it in a “vanilla” sage build. Github issue for 
 sage-on-gentoo: 
 https://github.com/cschwan/sage-on-gentoo/issues 

 Funny that your message lead Volker to something that was wrong 
 in vanilla when your problem is unrelated. Volker's advice is not 
 applicable 
 to your install since “sage -i” doesn’t exist in sage-on-gentoo. 

 Can you post /root/.sage/temp/rt./12958/tmp_KGOIjb.txt” so I can try 
 to figure it out. 

 François 

  On 14/07/2015, at 04:50, rt. rtgi...@gmail.com javascript: wrote: 
  
  this is a newly built version together with gentoo, while the other 
 functions works well with only 3d plot failed. 
  As I excute the following command: 
  
  sage: var('x,y') 
  sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi)) 
  
  it returns : 
  
  
 /usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
  
 RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
 failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
 see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details 
RichReprWarning, 
  Graphics3d Object 
  
  Not knowing what's going wrong, I have rebuild Jmol, but it changed 
 nothing 
  maybe I can find the solution or reason here, and just around these 
 days, thanks to any help very much. 
  If needed, more information would be provided (as now I don't know 
 what's neesded. 
  
  Thanks very much! 
  
  -- 
  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+...@googlegroups.com javascript:. 
  To post to this group, send email to sage-...@googlegroups.com 
 javascript:. 
  Visit this group at http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] sage 6.7 failed to load jmol to display 3d object

2015-07-13 Thread rt.
I just switch to a normal user, it still returns the same error. And before 
this, I am always using root to do the daily job, and sage works well.
(just for convinience, these days I'm considering rearrange my system, and 
maybe, a normal user will be applied to do the daily job)
thanks! :)

在 2015年7月14日星期二 UTC+8上午9:23:17,François写道:

 I think your problem is because you are running sage as root, but from a 
 normal user session. The big clue is that your $DOT_SAGE folder is 
 “/root/.sage”. Please try as a normal user. 

 François 

  On 14/07/2015, at 13:14, rt. rtgi...@gmail.com javascript: wrote: 
  
  this seems not to be my case, as François said, this problem should have 
 been posted for sage-on-gentoo, while I haven't realized it before. 
  Thank you all the same! 
  
  在 2015年7月14日星期二 UTC+8上午1:37:06,Volker Braun写道: 
  Confirmed, this is http://trac.sagemath.org/ticket/18891 
  
  Run sage -i jmol to fix it for now. 
  
  
  On Monday, July 13, 2015 at 7:14:03 PM UTC+2, rt. wrote: 
  this is a newly built version together with gentoo, while the other 
 functions works well with only 3d plot failed. 
  As I excute the following command: 
  
  sage: var('x,y') 
  sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi)) 
  
  it returns : 
  
  
 /usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
  
 RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
 failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
 see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details 
RichReprWarning, 
  Graphics3d Object 
  
  Not knowing what's going wrong, I have rebuild Jmol, but it changed 
 nothing 
  maybe I can find the solution or reason here, and just around these 
 days, thanks to any help very much. 
  If needed, more information would be provided (as now I don't know 
 what's neesded. 
  
  Thanks very much! 
  
  -- 
  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+...@googlegroups.com javascript:. 
  To post to this group, send email to sage-...@googlegroups.com 
 javascript:. 
  Visit this group at http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] sage 6.7 failed to load jmol to display 3d object

2015-07-13 Thread rt.
when excuted as a regular user, this file still comes with empty contents.
It's indeed no easy to diagnose sage-on-gentoo with no sage-on-gentoo on 
the computer, now that
I have got to know the more appropriate place to report the bug, I'd better 
to file bugs there later.

thanks! :)

在 2015年7月14日星期二 UTC+8上午9:39:44,François写道:

 What about posting /root/.sage/temp/rt./12958/tmp_KGOIjb.txt” or its 
 equivalent when run 
 as a normal user? 

 I will only be able to test this tomorrow when I get physical access to a 
 machine with sage-on-gentoo. 

 François 

  On 14/07/2015, at 13:35, rt. rtgi...@gmail.com javascript: wrote: 
  
  I just switch to a normal user, it still returns the same error. And 
 before this, I am always using root to do the daily job, and sage works 
 well. 
  (just for convinience, these days I'm considering rearrange my system, 
 and maybe, a normal user will be applied to do the daily job) 
  thanks! :) 
  
  在 2015年7月14日星期二 UTC+8上午9:23:17,François写道: 
  I think your problem is because you are running sage as root, but from a 
  normal user session. The big clue is that your $DOT_SAGE folder is 
  “/root/.sage”. Please try as a normal user. 
  
  François 
  
   On 14/07/2015, at 13:14, rt. rtgi...@gmail.com wrote: 
   
   this seems not to be my case, as François said, this problem should 
 have been posted for sage-on-gentoo, while I haven't realized it before. 
   Thank you all the same! 
   
   在 2015年7月14日星期二 UTC+8上午1:37:06,Volker Braun写道: 
   Confirmed, this is http://trac.sagemath.org/ticket/18891 
   
   Run sage -i jmol to fix it for now. 
   
   
   On Monday, July 13, 2015 at 7:14:03 PM UTC+2, rt. wrote: 
   this is a newly built version together with gentoo, while the other 
 functions works well with only 3d plot failed. 
   As I excute the following command: 
   
   sage: var('x,y') 
   sage: plot3d(sin(x*y), (x, -pi, pi), (y, -pi, pi)) 
   
   it returns : 
   
   
 /usr/lib64/python2.7/site-packages/sage/repl/rich_output/display_manager.py:561:
  
 RichReprWarning: Exception in _rich_repr_ while displaying object: Jmol 
 failed to create file '/root/.sage/temp/rt./12958/dir_W9ZHtR/preview.png', 
 see '/root/.sage/temp/rt./12958/tmp_KGOIjb.txt' for details 
 RichReprWarning, 
   Graphics3d Object 
   
   Not knowing what's going wrong, I have rebuild Jmol, but it changed 
 nothing 
   maybe I can find the solution or reason here, and just around these 
 days, thanks to any help very much. 
   If needed, more information would be provided (as now I don't know 
 what's neesded. 
   
   Thanks very much! 
   
   -- 
   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+...@googlegroups.com. 
   To post to this group, send email to sage-...@googlegroups.com. 
   Visit this group at http://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+...@googlegroups.com javascript:. 
  To post to this group, send email to sage-...@googlegroups.com 
 javascript:. 
  Visit this group at http://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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.