#9238: J. Gutow's update to Jmol in the notebook...
------------------------------------------------+---------------------------
   Reporter:  gutow                             |       Owner:  gutow     
       Type:  enhancement                       |      Status:  needs_work
   Priority:  major                             |   Milestone:  sage-4.7  
  Component:  notebook                          |    Keywords:            
     Author:  Jonathan Gutow                    |    Upstream:  N/A       
   Reviewer:  Jason Grout, Karl-Dieter Crisman  |      Merged:            
Work_issues:                                    |  
------------------------------------------------+---------------------------
Changes (by kcrisman):

  * status:  needs_review => needs_work


Comment:

 I successfully used os.path.join, but to no avail when it comes to the
 zapping.

 In fact, after much playing around with this, I don't think it's the
 issue.  Remember the error message:
 {{{
 unrecognized file format for file
 /Users/grout/.sage/temp/<MYCOMPUTERNAME>/79036/tmp_0-size500.jmol

 set defaultdirectory
 "/Users/grout/.sage/temp/<MYCOMPUTERNAME>/79036//tmp_0-size500.jmol.zip"

 script SCRIPT
 }}}
 So jmol, while running, clearly resolves the // to /, otherwise it
 wouldn't give the correct error message.  (When the directory no longer
 existed, I got a !java.io.FileNotFoundException, quite different.)   And
 the directory that pops open when you use the open button is the correct
 directory.

 So perhaps it's the 'unrecognized file format' that's the problem, in the
 sense of an unrecognized file format.   I'm continuing to dig; it seems
 that jmol's file recognizer/resolver is where the exception is thrown.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9238#comment:90>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to