Re: [sage-devel] Users can permanently modify GF(5).list()

2016-06-04 Thread 'Martin R' via sage-devel
A suggestion for a behaviour of "x.list()": as a user I'd hope for sage: x = C.random_element(); p = x.list(); C(p) == x True Martin -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it

Re: [sage-devel] Users can permanently modify GF(5).list()

2016-06-04 Thread William Stein
On Sat, Jun 4, 2016 at 6:11 PM, Kwankyu Lee wrote: > As the discussion of this thread seems to converge to the conclusion that we > need to transfer the function of X.list() to X.elements() or like to avoid > confusion, I still like to add to the following separate issue > >> >> (For matrix X), X.

Re: [sage-devel] Users can permanently modify GF(5).list()

2016-06-04 Thread Kwankyu Lee
As the discussion of this thread seems to converge to the conclusion that we need to transfer the function of X.list() to X.elements() or like to avoid confusion, I still like to add to the following separate issue >> (For matrix X), X.list() returns a list of all the > >> entries of the matri

Re: [sage-devel] Re: Re: Re: notebook does not work

2016-06-04 Thread Sándor Czirbusz
You are the winner; I installed the python3 version too. Uninstall, and it seems, everything is OK. I tried with two notebook folder. MANY MANY THANKS. 2016-06-04 20:06 GMT+02:00 Antonio Rojas : > Sándor Czirbusz wrote: > > > Ah, sorry > > #!/usr/bin/python2 > > > > > > That looks OK. Are you

[sage-devel] Re: Re: Re: notebook does not work

2016-06-04 Thread Antonio Rojas
Sándor Czirbusz wrote: > Ah, sorry > #!/usr/bin/python2 > > That looks OK. Are you sure you don't have any other 'twistd' executable lying around on your system? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group a

Re: [sage-devel] Re: Re: notebook does not work

2016-06-04 Thread Sándor Czirbusz
Ah, sorry #!/usr/bin/python2 2016-06-04 19:51 GMT+02:00 Antonio Rojas : > Sándor Czirbusz wrote: > > > This is the answer > > > > # Copyright (c) Twisted Matrix Laboratories. > > # See LICENSE for details. > > import os, sys > > > > try: > > import _preamble > > except ImportError: > > t

[sage-devel] Re: Re: notebook does not work

2016-06-04 Thread Antonio Rojas
Sándor Czirbusz wrote: > This is the answer > > # Copyright (c) Twisted Matrix Laboratories. > # See LICENSE for details. > import os, sys > > try: > import _preamble > except ImportError: > try: > sys.exc_clear() > except AttributeError: > # exc_clear() (and the requ

Re: [sage-devel] Re: notebook does not work

2016-06-04 Thread Sándor Czirbusz
This is the answer # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. import os, sys try: import _preamble except ImportError: try: sys.exc_clear() except AttributeError: # exc_clear() (and the requirement for it) has been removed from Py3

Re: [sage-devel] Re: notebook does not work

2016-06-04 Thread Sándor Czirbusz
sage -i twisted make: *** No rule to make target 'all-toolchain'. Stop. 2016-06-04 19:23 GMT+02:00 Dima Pasechnik : > Is your Sage built from source, or you downloaded a binary installation? > > Anyway, I see what happens. For some strange reason it picks up wrong > Twisted, the one for Python

[sage-devel] Re: notebook does not work

2016-06-04 Thread Antonio Rojas
Dima Pasechnik wrote: > Is your Sage built from source, or you downloaded a binary installation? > > Anyway, I see what happens. For some strange reason it picks up wrong > Twisted, the one for Python 3. > You can see it from the log below, and the error message is the one you > get by trying to

[sage-devel] Re: notebook does not work

2016-06-04 Thread Dima Pasechnik
Is your Sage built from source, or you downloaded a binary installation? Anyway, I see what happens. For some strange reason it picks up wrong Twisted, the one for Python 3. You can see it from the log below, and the error message is the one you get by trying to use Python 2 style print statemen

Re: [sage-devel] Re: notebook does not work

2016-06-04 Thread Sándor Czirbusz
more precisly ' starts the table at 100% of the page width This is the first cell info 'this closes the first cell 'this is the start of the second "cell" This is the second cell info 'this closes the second cell 'this is the start of the third "cell" This is the first third info 'this

Re: [sage-devel] Re: notebook does not work

2016-06-04 Thread Sándor Czirbusz
Hi, I use Antergos (arch linux), and sagemath is fresh, namely 7.2 (Release Date: 2016-05-15 ). At 2016-05-15 I have saved some worksheets, but from this time the notebook does not work. CzS 2016-06-04 16:18 GMT+02:00 Dima Pasechnik : > what Sage version is this? > > > On Saturday, June 4, 20

[sage-devel] Re: notebook does not work

2016-06-04 Thread Dima Pasechnik
what Sage version is this? On Saturday, June 4, 2016 at 2:14:15 PM UTC+1, czsan wrote: > > After upgrading de notebook indicates the following error: > > sage: notebook() > The notebook files are stored in: sage_notebook.sagenb > ┌┐ > │

[sage-devel] Re: 7.3beta 2: Compilation failed with gcc

2016-06-04 Thread Dima Pasechnik
probably you rather keep the compiler, and apply the patch for brial (look up recent discussions on it on sage-*). On Saturday, June 4, 2016 at 8:14:25 AM UTC+1, Arpit Merchant wrote: > > Hello, > > I am facing trouble compiling Sage 7.3beta 2 on Linux Mint 17 Qiana, > 64-bit, 4GB RAM. It has so

[sage-devel] notebook does not work

2016-06-04 Thread czsan
After upgrading de notebook indicates the following error: sage: notebook() The notebook files are stored in: sage_notebook.sagenb ┌┐ ││ │ Open your web browser to http://localhost:8080 │ │

Re: [sage-devel] 7.3beta 2: Compilation failed with gcc

2016-06-04 Thread Jeroen Demeyer
On 2016-06-04 09:14, Arpit Merchant wrote: Hello, I am facing trouble compiling Sage 7.3beta 2 on Linux Mint 17 Qiana, 64-bit, 4GB RAM. It has something do with the gcc compiler. I'm attaching the corresponding log file. I'm on gcc (Ubuntu 6.1.1-3ubuntu11~14.04.1) 6.1.1 20160511. Yes, this is