SHARE
TWEET

Sage_Crash_report

a guest Nov 14th, 2012 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ***************************************************************************
  2.  
  3. IPython post-mortem report
  4.  
  5. IPython version: 0.10.2
  6.  
  7. Platform info  : os.name -> posix, sys.platform -> linux2
  8.  
  9. ***************************************************************************
  10.  
  11. Current user configuration structure:
  12.  
  13. {'Version': 0,
  14.  '__allownew': True,
  15.  'alias': [],
  16.  'args': [],
  17.  'autocall': 0,
  18.  'autoedit_syntax': 0,
  19.  'autoexec': [],
  20.  'autoindent': 1,
  21.  'automagic': 1,
  22.  'banner': 0,
  23.  'c': '',
  24.  'cache_size': 1000,
  25.  'classic': 0,
  26.  'color_info': 1,
  27.  'colors': 'NoColor',
  28.  'confirm_exit': 0,
  29.  'debug': 0,
  30.  'deep_reload': 0,
  31.  'editor': 'vi',
  32.  'embedded': False,
  33.  'execfile': [],
  34.  'execute': ['',
  35.              "def view_all(): view([(i, globals()[i]) for i in variables()], title='All SAGE Variables')",
  36.              "def variables(): return [k for k in globals() if not k in iglob and len(k) > 0 and k[0] != '_']",
  37.              'import sage.misc.preparser_ipython;  sage.misc.preparser_ipython.magma_colon_equals=True'],
  38.  'gthread': 0,
  39.  'help': 0,
  40.  'import_all': [],
  41.  'import_mod': [],
  42.  'import_some': [[]],
  43.  'include': [],
  44.  'interact': 1,
  45.  'ipythondir': u'/home/knsam/.sage/ipython',
  46.  'log': 0,
  47.  'logfile': '',
  48.  'logplay': '',
  49.  'magic_docstrings': 0,
  50.  'messages': 1,
  51.  'multi_line_specials': 1,
  52.  'nosep': 0,
  53.  'object_info_string_level': 0,
  54.  'opts': Struct({'__allownew': True, 'interact': 1, 'profile': ''}),
  55.  'pdb': 0,
  56.  'pprint': 1,
  57.  'profile': '',
  58.  'prompt_in1': '${sage_prompt()}: ',
  59.  'prompt_in2': "${'.'*len(sage_prompt())}: ",
  60.  'prompt_out': '',
  61.  'prompts_pad_left': 0,
  62.  'pydb': 0,
  63.  'pylab': 0,
  64.  'pylab_import_all': 1,
  65.  'q4thread': 0,
  66.  'qthread': 0,
  67.  'quick': 0,
  68.  'quiet': 0,
  69.  'rcfile': 'ipythonrc',
  70.  'readline': 1,
  71.  'readline_merge_completions': 1,
  72.  'readline_omit__names': 2,
  73.  'readline_parse_and_bind': ['tab: complete',
  74.                              '"\\C-l": possible-completions',
  75.                              'set show-all-if-ambiguous on',
  76.                              '"\\C-o": tab-insert',
  77.                              '"\\M-i": "    "',
  78.                              '"\\M-o": "\\d\\d\\d\\d"',
  79.                              '"\\M-I": "\\d\\d\\d\\d"',
  80.                              '"\\C-r": reverse-search-history',
  81.                              '"\\C-s": forward-search-history',
  82.                              '"\\C-p": history-search-backward',
  83.                              '"\\C-n": history-search-forward',
  84.                              '"\\e[A": history-search-backward',
  85.                              '"\\e[B": history-search-forward',
  86.                              '"\\C-k": kill-line',
  87.                              '"\\C-u": unix-line-discard'],
  88.  'readline_remove_delims': '-/~',
  89.  'screen_length': -1,
  90.  'separate_in': '',
  91.  'separate_out': '',
  92.  'separate_out2': '',
  93.  'system_header': 'IPython system call: ',
  94.  'system_verbose': 0,
  95.  'term_title': 1,
  96.  'tk': 0,
  97.  'upgrade': 0,
  98.  'wildcards_case_sensitive': 1,
  99.  'wthread': 0,
  100.  'wxversion': '0',
  101.  'xmode': 'Context'}
  102.  
  103. ***************************************************************************
  104.  
  105. Crash traceback:
  106.  
  107. ---------------------------------------------------------------------------
  108. OSError                    Python 2.7.3: /usr/lib/sagemath/local/bin/python
  109.                                                    Wed Nov 14 13:50:35 2012
  110. A problem occured executing Python code.  Here is the sequence of function
  111. calls leading up to the error, with the most recent (innermost) call last.
  112.  
  113. /usr/lib/sagemath/local/lib/python/atexit.pyc in _run_exitfuncs()
  114.       9
  115.      10 import sys
  116.      11
  117.      12 _exithandlers = []
  118.      13 def _run_exitfuncs():
  119.      14     """run any registered exit functions
  120.      15
  121.      16     _exithandlers is traversed in reverse order so functions are executed
  122.      17     last in, first out.
  123.      18     """
  124.      19
  125.      20     exc_info = None
  126.      21     while _exithandlers:
  127.      22         func, targs, kargs = _exithandlers.pop()
  128.      23         try:
  129. ---> 24             func(*targs, **kargs)
  130.         func = <function delete_tmpfiles at 0xeecf50>
  131.         global function = undefined
  132.         global to = undefined
  133.         global be = undefined
  134.         global called = undefined
  135.         global at = undefined
  136.         global exit = undefined
  137.      25         except SystemExit:
  138.      26             exc_info = sys.exc_info()
  139.      27         except:
  140.      28             import traceback
  141.      29             print >> sys.stderr, "Error in atexit._run_exitfuncs:"
  142.      30             traceback.print_exc()
  143.      31             exc_info = sys.exc_info()
  144.      32
  145.      33     if exc_info is not None:
  146.      34         raise exc_info[0], exc_info[1], exc_info[2]
  147.      35
  148.      36
  149.      37 def register(func, *targs, **kargs):
  150.      38     """register a function to be executed upon normal program termination
  151.      39
  152.  
  153. /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/temporary_file.pyc in delete_tmpfiles()
  154.      33
  155.      34         sage: from sage.tests.cmdline import test_executable
  156.      35         sage: child_SAGE_TMP, err, ret = test_executable(["sage", "-c", "print SAGE_TMP"])
  157.      36         sage: err, ret
  158.      37         ('', 0)
  159.      38         sage: os.path.exists(child_SAGE_TMP)
  160.      39         False
  161.      40
  162.      41     The parent directory should exist::
  163.      42
  164.      43         sage: parent_SAGE_TMP = os.path.normpath(child_SAGE_TMP + '/..')
  165.      44         sage: os.path.isdir(parent_SAGE_TMP)
  166.      45         True
  167.      46     """
  168.      47     import shutil
  169. ---> 48     from sage.misc.misc import SAGE_TMP
  170.         global EXAMPLES = undefined
  171.      49     shutil.rmtree(str(SAGE_TMP), ignore_errors=True)
  172.      50
  173.      51
  174.      52 # Run when Python shuts down
  175.      53 atexit.register(delete_tmpfiles)
  176.      54
  177.      55
  178.      56 #################################################################
  179.      57 # temporary directory
  180.      58 #################################################################
  181.      59
  182.      60 def tmp_dir(name="dir_", ext=""):
  183.      61     r"""
  184.      62     Create and return a temporary directory in
  185.      63     ``$HOME/.sage/temp/hostname/pid/``
  186.  
  187. /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/misc.py in <module>()
  188.     126 sage_makedirs(DOT_SAGE)
  189.     127
  190.     128 _mode = os.stat(DOT_SAGE)[stat.ST_MODE]
  191.     129 _desired_mode = 040700     # drwx------
  192.     130 if _mode != _desired_mode:
  193.     131     print "Setting permissions of DOT_SAGE directory so only you can read and write it."
  194.     132     # Change mode of DOT_SAGE.
  195.     133     os.chmod(DOT_SAGE, _desired_mode)
  196.     134
  197.     135
  198.     136 #################################################
  199.     137 # Next we create the Sage temporary directory.
  200.     138 #################################################
  201.     139
  202.     140 SAGE_TMP = os.path.join(DOT_SAGE, 'tmp', HOSTNAME, str(os.getpid()))
  203. --> 141 sage_makedirs(SAGE_TMP)
  204.         global sage_makedirs = None
  205.         global SAGE_TMP = None
  206.     142
  207.     143 SPYX_TMP = os.path.join(SAGE_TMP, 'spyx')
  208.     144
  209.     145 SAGE_TMP_INTERFACE = os.path.join(SAGE_TMP, 'interface')
  210.     146 sage_makedirs(SAGE_TMP_INTERFACE)
  211.     147
  212.     148 SAGE_DB = os.path.join(DOT_SAGE, 'db')
  213.     149 sage_makedirs(SAGE_DB)
  214.     150
  215.     151 try:
  216.     152     # Create the matplotlib config directory.
  217.     153     sage_makedirs(os.environ["MPLCONFIGDIR"])
  218.     154 except KeyError:
  219.     155     pass
  220.     156
  221.  
  222. /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/misc/misc.py in sage_makedirs(dir='/home/knsam/.sage/tmp/PerverseSheaf/20894')
  223.      61     EXAMPLES::
  224.      62
  225.      63         sage: from sage.misc.misc import sage_makedirs
  226.      64         sage: sage_makedirs(DOT_SAGE) # no output
  227.      65
  228.      66     The following fails because we are trying to create a directory in
  229.      67     place of an ordinary file (the main Sage executable)::
  230.      68
  231.      69         sage: sage_executable = os.path.join(SAGE_ROOT, 'sage')
  232.      70         sage: sage_makedirs(sage_executable)
  233.      71         Traceback (most recent call last):
  234.      72         ...
  235.      73         OSError: ...
  236.      74     """
  237.      75     try:
  238. ---> 76         os.makedirs(dir)
  239.         global os.makedirs = undefined
  240.         dir = '/home/knsam/.sage/tmp/PerverseSheaf/20894'
  241.      77     except OSError:
  242.      78         if not os.path.isdir(dir):
  243.      79             raise
  244.      80
  245.      81
  246.      82 try:
  247.      83     SAGE_URL = os.environ["SAGE_URL"]
  248.      84 except KeyError:
  249.      85     SAGE_URL = "http://sage.math.washington.edu/sage/"     # default server
  250.      86    
  251.      87 LOGFILE = "%s/log/sage_log"%SAGE_ROOT
  252.      88
  253.      89
  254.      90 try:
  255.      91     DOT_SAGE = os.environ['DOT_SAGE']
  256.  
  257. /usr/lib/sagemath/local/lib/python/os.pyc in makedirs(name='/home/knsam/.sage/tmp/PerverseSheaf/20894', mode=511)
  258.     142     recursive.
  259.     143
  260.     144     """
  261.     145     head, tail = path.split(name)
  262.     146     if not tail:
  263.     147         head, tail = path.split(head)
  264.     148     if head and tail and not path.exists(head):
  265.     149         try:
  266.     150             makedirs(head, mode)
  267.     151         except OSError, e:
  268.     152             # be happy if someone already created the path
  269.     153             if e.errno != errno.EEXIST:
  270.     154                 raise
  271.     155         if tail == curdir:           # xxx/newdir/. exists if xxx/newdir exists
  272.     156             return
  273. --> 157     mkdir(name, mode)
  274.         global N = undefined
  275.         global R = undefined
  276.         global t = undefined
  277.         global islinkt = undefined
  278.         global joint = undefined
  279.         global isdirt = undefined
  280.         global listdirR = undefined
  281.         global Nonet = undefined
  282.         global appendt = undefined
  283.         global walk = <function walk at 0x7f5bdd897d70>
  284.         global topt = undefined
  285.         global topdownt = undefined
  286.         global onerrort = undefined
  287.         global followlinksR0 = undefined
  288.         global R1 = undefined
  289.         global R2 = undefined
  290.         global namest = undefined
  291.         global errt = undefined
  292.         global dirst = undefined
  293.         global nondirsR = undefined
  294.         global new_patht = undefined
  295.         global x = undefined
  296.         global s = undefined
  297.         global usr = undefined
  298.         global lib = undefined
  299.         global sagemath = undefined
  300.         global local = undefined
  301.         global python = undefined
  302.         global os.pyR6 = undefined
  303.         global R6 = undefined
  304.         global c = undefined
  305.         global G = undefined
  306.         global d = undefined
  307.         global S = undefined
  308.         global sp = undefined
  309.         global execl = <function execl at 0x7f5bdd897de8>
  310.         global file = undefined
  311.         global args = undefined
  312.         global Execute = undefined
  313.         global the = undefined
  314.         global executable = undefined
  315.         global argument = undefined
  316.         global list = undefined
  317.         global replacing = undefined
  318.         global current = undefined
  319.         global process.N = undefined
  320.         global execv = <built-in function execv>
  321.         global filet = undefined
  322.         global os.pyt = undefined
  323.         global execl3 = undefined
  324.         global execle = <function execle at 0x7f5bdd897e60>
  325.         global env = undefined
  326.         global environment = undefined
  327.         global process.i = undefined
  328.         global execve = <built-in function execve>
  329.         global RB = undefined
  330.         global RC = undefined
  331.         global execlp = <function execlp at 0x7f5bdd897ed8>
  332.         global which = undefined
  333.         global searched = undefined
  334.         global along = undefined
  335.         global PATH = undefined
  336.         global execvp = <function execvp at 0x7f5bdd898050>
  337.         global execlpB = undefined
  338.         global execlpe = <function execlpe at 0x7f5bdd897f50>
  339.         global execvpe = <function execvpe at 0x7f5bdd8980c8>
  340.         global RF = undefined
  341.         global execlpeI = undefined
  342.         global C = undefined
  343.         global process.args = undefined
  344.         global may = undefined
  345.         global be = undefined
  346.         global a = undefined
  347.         global tuple = undefined
  348.         global of = undefined
  349.         global strings.N = undefined
  350.         global _execvpe = <function _execvpe at 0x7f5bdd898140>
  351.         global os.pyRH = undefined
  352.         global RL = undefined
  353.         global os.pyRJ = undefined
  354.         global Z = undefined
  355.         global RD = undefined
  356.         global RG = undefined
  357.         global RI = undefined
  358.         global RK = undefined
  359.         global RH = undefined
  360.         global RJ = undefined
  361.         global sZ = undefined
  362.         global k = undefined
  363.         global r = undefined
  364.         global f = undefined
  365.         global n = undefined
  366.         global j = undefined
  367.         global rb = undefined
  368.         global Sd = undefined
  369.         global D = undefined
  370.         global y = undefined
  371.         global Wq = undefined
  372.         global r0 = undefined
  373.         global r1 = undefined
  374.         global q1 = undefined
  375.         global q = undefined
  376.         global Xq = undefined
  377.         global W = undefined
  378.         global rJ = undefined
  379.         global Nt = undefined
  380.         global PATHi = undefined
  381.         global R4 = undefined
  382.         global RE = undefined
  383.         global RA = undefined
  384.         global environR = undefined
  385.         global syst = undefined
  386.         global exc_infoR = undefined
  387.         global ENOENTt = undefined
  388.         global ENOTDIR = undefined
  389.         global funct = undefined
  390.         global argrestR = undefined
  391.         global envpathRM = undefined
  392.         global saved_exct = undefined
  393.         global saved_tbR = undefined
  394.         global fullnameR = undefined
  395.         global tb = undefined
  396.         global os.pyRL = undefined
  397.         e = undefined
  398.         global putenv = <built-in function putenv>
  399.         global key = undefined
  400.         global unsetenv = <built-in function unsetenv>
  401.         global _EnvironR = undefined
  402.         global B = undefined
  403.         global Wn = undefined
  404.         global rE = undefined
  405.         global Xd = undefined
  406.         global RS = undefined
  407.         global sJ = undefined
  408.         global Wd = undefined
  409.         global UserDictt = undefined
  410.         global __init__t = undefined
  411.         global datat = undefined
  412.         global itemst = undefined
  413.         global upper = undefined
  414.         global selfRN = undefined
  415.         global Ra = undefined
  416.         global kt = undefined
  417.         global v = undefined
  418.         global os.pyR = undefined
  419.         global Rc = undefined
  420.         global Rd = undefined
  421.         global item = undefined
  422.         global __setitem__ = undefined
  423.         global __getitem__ = undefined
  424.         global __delitem__ = undefined
  425.         global os.pyRj = undefined
  426.         global s2 = undefined
  427.         global keysR = undefined
  428.         global clear = undefined
  429.         global has_key = undefined
  430.         global __contains__ = undefined
  431.         global getRc = undefined
  432.         global failobj = undefined
  433.         global os.pyRp = undefined
  434.         global K = undefined
  435.         global rm = undefined
  436.         global Wn2 = undefined
  437.         global xA = undefined
  438.         global Wqm = undefined
  439.         global Xx = undefined
  440.         global qR = undefined
  441.         global Rk = undefined
  442.         global update = undefined
  443.         global dictt = undefined
  444.         global kwargsRk = undefined
  445.         global Re = undefined
  446.         global Rf = undefined
  447.         global os.pyRr = undefined
  448.         global Rs = undefined
  449.         global copy = undefined
  450.         global __name__t = undefined
  451.         global __module__R = undefined
  452.         global Rh = undefined
  453.         global Ri = undefined
  454.         global NameErrorRj = undefined
  455.         global Rl = undefined
  456.         global Rm = undefined
  457.         global Rn = undefined
  458.         global Ro = undefined
  459.         global Rp = undefined
  460.         global Rr = undefined
  461.         global Ru = undefined
  462.         global sf = undefined
  463.         global _ = undefined
  464.         global R_ = undefined
  465.         global RN = undefined
  466.         global Rg = undefined
  467.         global os.pyRh = undefined
  468.         global Rt = undefined
  469.         global os.pyRl = undefined
  470.         global os.pyRm = undefined
  471.         global os.pyRu = undefined
  472.         global Rv = undefined
  473.         global Rw = undefined
  474.         global Rx = undefined
  475.         global Rj = undefined
  476.         global Get = undefined
  477.         global an = undefined
  478.         global variable = undefined
  479.         global None = undefined
  480.         global it = undefined
  481.         global doesn = undefined
  482.         global exist.The = undefined
  483.         global optional = undefined
  484.         global second = undefined
  485.         global can = undefined
  486.         global specify = undefined
  487.         global alternate = undefined
  488.         global default.RN = undefined
  489.         global default = undefined
  490.         global getenv = <function getenv at 0x7f5bdd80fd70>
  491.         global Rz = undefined
  492.         global globals = undefined
  493.         global _exists = <function _exists at 0x7f5bdd817488>
  494.         global forkt = undefined
  495.         global spawnvRA = undefined
  496.         global sV = undefined
  497.         global y0 = undefined
  498.         global r.n = undefined
  499.         global Xns = undefined
  500.         global rf = undefined
  501.         global Sx = undefined
  502.         global qi = undefined
  503.         global St = undefined
  504.         global Ni = undefined
  505.         global i = undefined
  506.         global Not = undefined
  507.         global stopped = undefined
  508.         global signaled = undefined
  509.         global exited = undefined
  510.         global P_NOWAITt = undefined
  511.         global waitpidt = undefined
  512.         global WIFSTOPPEDt = undefined
  513.         global WIFSIGNALEDt = undefined
  514.         global WTERMSIGt = undefined
  515.         global WIFEXITEDt = undefined
  516.         global WEXITSTATUSR = undefined
  517.         global pidt = undefined
  518.         global wpidt = undefined
  519.         global sts = undefined
  520.         global _spawnvef = <function _spawnvef at 0x7f5bdd817500>
  521.         global spawnv = <function spawnv at 0x7f5bdd817578>
  522.         mode = 511
  523.         global integer = undefined
  524.         global arguments = undefined
  525.         global subprocess.If = undefined
  526.         global P_NOWAIT = 1
  527.         global pid = undefined
  528.         global process.If = undefined
  529.         global P_WAIT = 0
  530.         global process = undefined
  531.         global exit = undefined
  532.         global code = undefined
  533.         global exits = undefined
  534.         global normally = undefined
  535.         global otherwise = undefined
  536.         global SIG = undefined
  537.         global where = undefined
  538.         global signal = undefined
  539.         global that = undefined
  540.         global killed = undefined
  541.         global it.N = undefined
  542.         global spawnve = <function spawnve at 0x7f5bdd8175f0>
  543.         global subprocess = undefined
  544.         global specified = undefined
  545.         global environment.If = undefined
  546.         global it.R = undefined
  547.         global spawnve5 = undefined
  548.         global s8 = undefined
  549.         global spawnvp = <function spawnvp at 0x7f5bdd817668>
  550.         global looked = undefined
  551.         global spawnvpA = undefined
  552.         global spawnvpe = <function spawnvpe at 0x7f5bdd8176e0>
  553.         global supplied = undefined
  554.         global spawnvpeK = undefined
  555.         global spawnl = <function spawnl at 0x7f5bdd817758>
  556.         global spawnlY = undefined
  557.         global spawnle = <function spawnle at 0x7f5bdd8177d0>
  558.         global it.i = undefined
  559.         global spawnleb = undefined
  560.         global sW = undefined
  561.         global spawnlp = <function spawnlp at 0x7f5bdd817848>
  562.         global spawnlpt = undefined
  563.         global spawnlpe = <function spawnlpe at 0x7f5bdd8178c0>
  564.         global popen2t = undefined
  565.         global tc = undefined
  566.         global l = undefined
  567.         global shell = undefined
  568.         global command = undefined
  569.         global sub = undefined
  570.         global process.On = undefined
  571.         global UNIX = undefined
  572.         global sequence = undefined
  573.         global case = undefined
  574.         global will = undefined
  575.         global passed = undefined
  576.         global directly = undefined
  577.         global to = undefined
  578.         global program = undefined
  579.         global without = undefined
  580.         global intervention = undefined
  581.         global os.spawnv.If = undefined
  582.         global string = undefined
  583.         global os.system.If = undefined
  584.         global sets = undefined
  585.         global buffer = undefined
  586.         global size = undefined
  587.         global I = undefined
  588.         global O = undefined
  589.         global pipes.The = undefined
  590.         global objects = undefined
  591.         global child_stdin = undefined
  592.         global child_stdout = undefined
  593.         global are = undefined
  594.         global returned.i = undefined
  595.         global Ns4 = undefined
  596.         global os.popen2 = undefined
  597.         global deprecated.Use = undefined
  598.         global module.t = undefined
  599.         global stackleveli = undefined
  600.         global shellt = undefined
  601.         global bufsizet = undefined
  602.         global stdint = undefined
  603.         global stdoutt = undefined
  604.         global close_fds = undefined
  605.         global warningst = undefined
  606.         global warnt = undefined
  607.         global DeprecationWarningt = undefined
  608.         global subprocesst = undefined
  609.         global PIPEt = undefined
  610.         global Popent = undefined
  611.         global isinstancet = undefined
  612.         global basestringt = undefined
  613.         global TrueR = undefined
  614.         global cmdR = undefined
  615.         global msgR = undefined
  616.         global p = undefined
  617.         global popen3c = undefined
  618.         global child_stderr = undefined
  619.         global os.popen3 = undefined
  620.         global module.R = undefined
  621.         global stderrR = undefined
  622.         global popen4c = undefined
  623.         global child_stdout_stderr = undefined
  624.         global os.popen4 = undefined
  625.         global STDOUTR = undefined
  626.         global stat_result = <type 'posix.stat_result'>
  627.         global tupRs = undefined
  628.         global _make_stat_result = <function _make_stat_result at 0x7f5bdd819050>
  629.         global __reduce__R = undefined
  630.         global srt = undefined
  631.         global typeRC = undefined
  632.         global _pickle_stat_result = <function _pickle_stat_result at 0x7f5bdd8190c8>
  633.         global statvfs_result = <type 'posix.statvfs_result'>
  634.         global _make_statvfs_result = <function _make_statvfs_result at 0x7f5bdd819140>
  635.         global _pickle_statvfs_result = <function _pickle_statvfs_result at 0x7f5bdd8191b8>
  636.         global os2s = undefined
  637.         global nt = undefined
  638.         global X = undefined
  639.         global __doc__RO = undefined
  640.         global builtin_module_namest = undefined
  641.         global _namesR = undefined
  642.         global ImportErrort = undefined
  643.         global posixpathR = undefined
  644.         global extendR = undefined
  645.         global ntpathR = undefined
  646.         global versiont = undefined
  647.         global findt = undefined
  648.         global os2emxpatht = undefined
  649.         global _emx_linkR = undefined
  650.         global riscospatht = undefined
  651.         global modulest = undefined
  652.         global os.pathR = undefined
  653.         global FalseR6 = undefined
  654.         global R5 = undefined
  655.         global riscosenvironR = undefined
  656.         global IterableUserDictRz = undefined
  657.         global P_WAITR = undefined
  658.         global P_NOWAITOR = undefined
  659.         global copy_regt = undefined
  660.         global _copy_regR = undefined
  661.         global pickleR = undefined
  662.         global module = undefined
  663.     158
  664.     159 def removedirs(name):
  665.     160     """removedirs(path)
  666.     161
  667.     162     Super-rmdir; remove a leaf directory and all empty intermediate
  668.     163     ones.  Works like rmdir except that, if the leaf directory is
  669.     164     successfully removed, directories corresponding to rightmost path
  670.     165     segments will be pruned away until either the whole path is
  671.     166     consumed or an error occurs.  Errors during this latter phase are
  672.     167     ignored -- they generally mean that a directory was not empty.
  673.     168
  674.     169     """
  675.     170     rmdir(name)
  676.     171     head, tail = path.split(name)
  677.     172     if not tail:
  678.  
  679. OSError: [Errno 13] Permission denied: '/home/knsam/.sage/tmp/PerverseSheaf/20894'
  680.  
  681. ***************************************************************************
  682.  
  683. History of session input:
  684.  
  685. *** Last line of input (may not be in above history):
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top