#20528: upgrade patchbot to 2.5.6
-------------------------------------+-------------------------------------
       Reporter:  chapoton           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.2
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Frédéric Chapoton  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/20528       |  0b9787026bfd07d7fb7c9754804eb1a8b2282278
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:12 chapoton]:
 > Hmm, this could be caused by a directory being removed, or by a
 filesystem problem.
 > In which dir are you when launching the patchbot ?
 `/home/patchbot/sage-patchbot`

 > Have you removed this dir ?
 No.

 > But I am using the variable cwd to get back to the original directory
 Is this really needed? I don't know the code exactly, but why can't you
 just `chdir()` to `SAGE_ROOT` and stay there?

 If you ''really'' need to go back to the potentially-removed directory,
 you should use `os.fchdir()` instead of `os.chdir()` which will work even
 on deleted or moved directories.

--
Ticket URL: <http://trac.sagemath.org/ticket/20528#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to