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 to 

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.


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

2015-07-15 Thread Francois Bissey
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. rtgisk...@gmail.com 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+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.

-- 
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 Francois Bissey
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. rtgisk...@gmail.com 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.

-- 
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.


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 Francois Bissey
First I would try to use sage as your regular user, then we can talk about 
any problems arising.

François

 On 14/07/2015, at 13:27, rt. rtgisk...@gmail.com wrote:
 
 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 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+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.

-- 
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 Francois Bissey
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. rtgisk...@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+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.

-- 
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 Francois Bissey
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. rtgisk...@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+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.

-- 
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.