Re: [sage-release] Re: Sage 8.0.beta8 released

2017-05-31 Thread Jeroen Demeyer

OK, I didn't realise that math-readline was a Python script from Sage.

I created https://trac.sagemath.org/ticket/23112 to track this issue.

--
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 8.0.beta8 released

2017-05-31 Thread fchapoton2
Same for me as for John: after

sage -sh
math-readline
/bin/sh: 1: math: not found

the sage shell is not displaying what I am typing.

and even the bash shell itself is in the same not-displaying mode.

Frederic

Le mercredi 31 mai 2017 12:03:08 UTC+2, John Cremona a écrit :
>
> On 31 May 2017 at 10:43, Jeroen Demeyer  > wrote: 
> > On 2017-05-30 23:51, John H Palmieri wrote: 
> >> 
> >> I'm getting intermittent timeouts from src/sage/doctest/external.py, 
> and 
> >> in particular the "has_mathematica()" test. This is a new (but 
> >> underpowered) computer and it does not have mathematica installed. If I 
> >> run 
> >> 
> >> $ sage --sh 
> >> $ math-readline 
> >> 
> >> then 19 out of 20 times, it fails immediately 
> > 
> > 
> > Define "fails immediately". The fact that it only "fails immediately" 19 
> out 
> > of 20 times means that the "fails immediately" is somehow non-trivial. 
>
> I tried this.  First time it did actually start up Mathematica which 
> was a surprise since I did not know that my office desktop had 
> Mathematica on it... 
> On a machine which certainly does not, I got the message expected 
> (sage-sh) jec@lehner:sextics$ math-readline 
> /bin/sh: 1: math: not found 
>
> *but* after that the terminal was in a weird state, not echoing input, 
> which I got out of by blindly typing "exit" which got me out of the 
> Sage shell. 
>
> Conclusion: even when there is no Mathematica something non-trivial 
> and possibly bad is happening. 
>
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "sage-release" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to sage-release...@googlegroups.com . 
> > To post to this group, send email to sage-r...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-release. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 8.0.beta8 released

2017-05-31 Thread John Cremona
On 31 May 2017 at 10:43, Jeroen Demeyer  wrote:
> On 2017-05-30 23:51, John H Palmieri wrote:
>>
>> I'm getting intermittent timeouts from src/sage/doctest/external.py, and
>> in particular the "has_mathematica()" test. This is a new (but
>> underpowered) computer and it does not have mathematica installed. If I
>> run
>>
>> $ sage --sh
>> $ math-readline
>>
>> then 19 out of 20 times, it fails immediately
>
>
> Define "fails immediately". The fact that it only "fails immediately" 19 out
> of 20 times means that the "fails immediately" is somehow non-trivial.

I tried this.  First time it did actually start up Mathematica which
was a surprise since I did not know that my office desktop had
Mathematica on it...
On a machine which certainly does not, I got the message expected
(sage-sh) jec@lehner:sextics$ math-readline
/bin/sh: 1: math: not found

*but* after that the terminal was in a weird state, not echoing input,
which I got out of by blindly typing "exit" which got me out of the
Sage shell.

Conclusion: even when there is no Mathematica something non-trivial
and possibly bad is happening.

>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-release+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-release@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 8.0.beta8 released

2017-05-31 Thread Jeroen Demeyer

On 2017-05-30 23:51, John H Palmieri wrote:

I'm getting intermittent timeouts from src/sage/doctest/external.py, and
in particular the "has_mathematica()" test. This is a new (but
underpowered) computer and it does not have mathematica installed. If I run

$ sage --sh
$ math-readline

then 19 out of 20 times, it fails immediately


Define "fails immediately". The fact that it only "fails immediately" 19 
out of 20 times means that the "fails immediately" is somehow non-trivial.


--
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Sage 8.0.beta8 released

2017-05-30 Thread John H Palmieri
I'm getting intermittent timeouts from src/sage/doctest/external.py, and in 
particular the "has_mathematica()" test. This is a new (but underpowered) 
computer and it does not have mathematica installed. If I run

   $ sage --sh
   $ math-readline

then 19 out of 20 times, it fails immediately, but every now and then, 
maybe when the computer is more heavily loaded, it does something else: it 
says

   /bin/sh: math: command not found

(as with the immediate failures) and then it waits for input. This must be 
what is causing the timeout in the doctest. If I hit RET, I get the shell 
prompt back. Why is it waiting for input when the "math" process failed? 
Any suggestions for how I could diagnose what's going on?

  John


 
On Wednesday, May 24, 2017 at 2:49:41 PM UTC-7, Volker Braun wrote:
>
> As always, you can get the latest beta version from the "develop" git 
> branch. Alternatively, the self-contained source tarball is at 
> http://www.sagemath.org/download-latest.html
>
> c011cfa Updated SageMath version to 8.0.beta8
> 5bb7623 Trac #22559: Matchings in Bipartite Graphs
> 2b9da89 Trac #23050: method to reverse row and column orders of a matrix
> 461264e Trac #23049: py3: fix bad syntax for print again
> 9575130 Trac #23048: Fix directions acceptable keywords in limit function
> b4ed7f4 Trac #23041: Update documentation of MILP
> 4832a1d Trac #23040: Fix conway_polynomials build with SAGE_PYTHON3=yes
> f86b45a Trac #23033: preliminary work for unicode interfaces
> 783d707 Trac #22995: Dummy inverse Laplace for giac
> fcdb474 Trac #22975: py3: some absolute import in pyx files
> 17fb69c Trac #21791: Improve Order Ideals Lattice and Linear Extension 
> Cardinality.
> cbf72fe Trac #21066: Unpickle overrides for finite fields
> 00ab801 Trac #16825: Implement untwisted affine Lie algebras
> 3fe2a5b Trac #23013: Random failure in libecm.pyx
> 0042496 Trac #23007: Remove "public" from methods where it is not needed
> 1bcb8e2 Trac #22295: Some updates to the installation guide
> c78d6b9 Trac #21180: cantor_product: allow keyword arguments to be passed 
> on to IntegerListsLex
> 033128d Trac #20099: test improved evaluation of trigonometric functions 
> and complex exponential function
> cc913d6 Trac #23021: Implement Essential quasisymmetric functions
> 39fb68f Trac #22490: Upgrade pygments to version 2.2.0
> 77bb055 Trac #22411: Improve handling of MtxLibDir
> 354dd4a Trac #22159: Upgrade to libpng 1.6.29
> a2b2bea Trac #23031: Fix ECM 7.0 build on Cygwin
> acddf45 Trac #21258: Random failure in trace.py
> 51bea96 Trac #23019: Documentation fix for 
> ImplicitSuffixTree.transition_function
> 0f7ca2f Trac #22985: (EASY) bug in constructing an error message for 
> DiGraph constructor
> 399682e Trac #22974: LatticePoset: few more crosslinks
> a5bdf27 Trac #13733: Incorrect integral in Maxima
> 8a9298b Trac #23035: yet another load of typos
> 222f7f9 Trac #23034: Remove "sage --bdist" from top-level README.md
> 1474b34 Trac #23006: small cleanup of primes.py
> 9fe6d3f Trac #23003: adding a method "without_bounds" to posets
> ae277e5 Trac #22996: change catalan number behaviour at n=-1
> cf32199 Trac #23036: Speedup KR rigged configurations
> 9ff7e17 Trac #23032: linear_code.covering_radius fails due to unloaded gap 
> package
> 064f48b Trac #23030: remove call of apply() in expressions.pyx
> a78e08e Trac #23022: Use patched Cython for farey_symbol
> 0196818 Trac #23014: Use maximal vector in the local energy function
> 94e3b65 Trac #22998: Unable to parse hypergeometric result from 
> mathematica_free
> e8ed035 Trac #22969: Upgrade to Pynac-0.7.7
> 6207566 Trac #22632: Cythonize CombinatorialFreeModuleElement
> ffa1af4 Trac #23005: py3: get rid of cmp in doctest framework
> d4d0988 Trac #23004: Add Cython patch for Cygwin
> c532ae3 Trac #23001: Implement is_NaN for all rings with NaN elements
> 441c576 Trac #23000: Fix inconsistency in 
> `Modules.FiniteDimensional.extra_super_categories`
> 3fa0c6a Trac #23029: Bug in headers included from Linbox with variable 
> named "B0"
> 569f508 Trac #22997: Parse unevaluated integral from giac
> c5e3b18 Trac #22961: wrong answers from codesize_upper_bound()
> 94ca8bd Trac #22896: Stop using stdsage.pxi
> d34101e Trac #22305: weak_dict.pyx is not python3 compatible
> d567f99 Trac #16822: Implement PBW bases for the universal enveloping 
> algebra
> ca7a1d5 Trac #15423: Add auto-rebasing mechanism for Cygwin
> 2334124 Trac #22992: Speedup highest weight rigged configuration crystals
> d043f54 Trac #22917: update zlib to 1.2.11
> 8e21be9 Trac #22739: Background image for .app.dmg disappears under Mac OS 
> Sierra
> 9127284 Trac #11349: Doctest fix for: Sage can't make sense of a Maxima 
> result
> 1fe0b90 Trac #20084: residue: mathematically wrong output
> 77262a2 Trac #20986: Enhancements to sage-rebase scripts
> 7a36941 Updated SageMath version to 8.0.beta7
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To 

[sage-release] Re: Sage 8.0.beta8 released

2017-05-29 Thread Eric Gourgoulhon
On Ubuntu 16.04 x86_64 Xeon E5-2623 + 16 GB RAM, from a fresh git clone + 
pull develop, parallel (-j16) build OK;  make ptestlong failed with

sage -t --long --warn-long 50.1 src/sage/parallel/map_reduce.py
**
File "src/sage/parallel/map_reduce.py", line 217, in 
sage.parallel.map_reduce
Failed example:
try:
res = EX.run(timeout=0.01)
except AbortError:
print("Computation timeout")
else:
print("Computation normally finished")
res
Expected:
Computation timeout
Got:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/eric/sage/8.0.beta8/local/lib/python2.7/threading.py", 
line 801, in __bootstrap_inner
self.run()
  File "/home/eric/sage/8.0.beta8/local/lib/python2.7/threading.py", 
line 1073, in run
self.function(*self.args, **self.kwargs)
  File 
"/home/eric/sage/8.0.beta8/local/lib/python2.7/site-packages/sage/parallel/map_reduce.py",
 
line 1210, in abort
self._abort.value = True
AttributeError: 'bool' object has no attribute 'value'

Computation normally finished
40320*x^8 + 5040*x^7 + 720*x^6 + 120*x^5 + 24*x^4 + 6*x^3 + 2*x^2 + x + 
1
**
1 item had failures:
   1 of  47 in sage.parallel.map_reduce
[296 tests, 1 failure, 15.80 s]

However, running 
sage -t --long src/sage/parallel/map_reduce.py
resulted in 
All tests passed!

Eric.



-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.