The latest GAP upgrade introduced some stuff with memory handling (see 
#13211).  This causes very bizarre problems on one of my test machines, 
which #13880 do not fix.  See 
http://sage.math.washington.edu/home/kcrisman/gap-mem-test-errors.log for 
the full test errors.  Here is a typical one:

**********************************************************************
File 
"/Users/student/Desktop/sage-5.6.beta2/devel/sage/sage/misc/memory_info.py", 
line 229:
    sage: MemoryInfo().available_ram() > 0
Exception raised:
    Traceback (most recent call last):
      File "/Users/student/Desktop/sage-5.6.beta2/local/bin/ncadoctest.py", 
line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File 
"/Users/student/Desktop/sage-5.6.beta2/local/bin/sagedoctest.py", line 38, 
in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, 
compileflags)
      File "/Users/student/Desktop/sage-5.6.beta2/local/bin/ncadoctest.py", 
line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_8[3]>", line 1, in <module>
        MemoryInfo().available_ram() > Integer(0)###line 229:
    sage: MemoryInfo().available_ram() > 0
      File 
"/Users/student/Desktop/sage-5.6.beta2/local/lib/python/site-packages/sage/misc/memory_info.py",
 
line 366, in available_ram
        return self._parse_top()['available_ram']
      File 
"/Users/student/Desktop/sage-5.6.beta2/local/lib/python/site-packages/sage/misc/memory_info.py",
 
line 328, in _parse_top
        free_ram = int(free_ram[:-1]) * units[free_ram[-1]]
    ValueError: invalid literal for int() with base 10: '92.7'
**********************************************************************

another:

**********************************************************************
File 
"/Users/student/Desktop/sage-5.6.beta2/devel/sage/sage/interfaces/gap.py", 
line 1231:
    sage: gap = Gap()
Exception raised:
    Traceback (most recent call last):
      File "/Users/student/Desktop/sage-5.6.beta2/local/bin/ncadoctest.py", 
line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File 
"/Users/student/Desktop/sage-5.6.beta2/local/bin/sagedoctest.py", line 38, 
in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, 
compileflags)
      File "/Users/student/Desktop/sage-5.6.beta2/local/bin/ncadoctest.py", 
line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_36[4]>", line 1, in <module>
        gap = Gap()###line 1231:
    sage: gap = Gap()
      File 
"/Users/student/Desktop/sage-5.6.beta2/local/lib/python/site-packages/sage/interfaces/gap.py",
 
line 1091, in __init__
        max_workspace_size = _get_gap_memory_pool_size_MB()
      File 
"/Users/student/Desktop/sage-5.6.beta2/local/lib/python/site-packages/sage/interfaces/gap.py",
 
line 300, in _get_gap_memory_pool_size_MB
        pool = (pool // (1024**2)) + 1
    TypeError: unsupported operand type(s) for //: 'function' and 'int'
**********************************************************************

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to