#7103: fix "mysterious error" in parallel doctesting first time: see ticket 
#7079
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  tbd       
       Type:  defect   |      Status:  needs_work
   Priority:  blocker  |   Milestone:  sage-4.2.1
  Component:  doctest  |    Keywords:            
Work_issues:           |      Author:            
   Reviewer:           |      Merged:            
-----------------------+----------------------------------------------------

Comment(by jhpalmieri):

 I don't think the ".DS_Store" files have anything to do it: I can recreate
 this problem on sage.math by deleting my .sage directory and then doing
 "sage -tp 4 devel/sage/sage/algebras", for example.

 As far as I could tell, the presence (or lack) of init.sage was unrelated
 to the problem, so it wasn't in the patch.  I'm attaching a new patch
 which puts those lines back, just in case.  This patch runs "sage-starts"
 at the beginning no matter what: a few extra seconds to run this shouldn't
 be a big deal.

 (As I said on #7079, I think the issue is that doctesting creates various
 subdirectories of .sage, and if two processes both try to create .sage/gap
 at the same time, they clash and one of them bombs.  So running sage-
 starts to create most of the relevant directories seems like a solution.
 In some bizarre set of circumstances, I can imagine that someone will have
 deleted everything in .sage except for init.sage, so we don't want to put
 sage-starts inside that "if" clause.  I suppose instead we could look for
 the directories .sage/db, .sage/gap, .sage/ipython, .sage/temp, .sage/tmp,
 and .sage/valgrind individually, creating whichever ones are missing.  Do
 we need to create any subdirectories of those in addition?  It seems
 cleaner to just run sage-starts.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7103#comment:6>
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