Re: [sage-support] Weird bug in libgap?

2020-08-19 Thread Dima Pasechnik
On Wed, Aug 19, 2020 at 11:22 AM Dima Pasechnik wrote: > > I double-checked this, and it is in fact a bug in GAP (GAP 4.10). And in the current GAP master and in GAP 4.11.0 this example works just fine. So it's fixed there, now we need to work on https://trac.sagemath.org/ticket/29314 &

Re: [sage-support] Weird bug in libgap?

2020-08-19 Thread Dima Pasechnik
uit to outer loop, or you can 'return;' to continue brk> On Sat, Aug 15, 2020 at 12:13 AM Dima Pasechnik wrote: > > it is not libgap, it is pexpect GAP that is used here - something we should > get rid of. > > > On Fri, 14 Aug 2020, 23:39 'Peter Mueller' via sage-su

Re: [sage-support] Subgroups of subgroups aren't subgroups?

2020-08-16 Thread Dima Pasechnik
On Sun, Aug 16, 2020 at 11:44 AM 'Peter Mueller' via sage-support wrote: > > I had a hard to track down error which eventually relied on sage permutation > groups behave odd in regard to subgroups. A subgroup y of a subgroup x of g > isn't always considered as a subgroup of g. Compare > > sage:

Re: [sage-support] Weird bug in libgap?

2020-08-14 Thread Dima Pasechnik
it is not libgap, it is pexpect GAP that is used here - something we should get rid of. On Fri, 14 Aug 2020, 23:39 'Peter Mueller' via sage-support, < sage-support@googlegroups.com> wrote: > The following code yields a Traceback for no (to me) obvious reason. The > same happens on sagecell too.

[sage-support] Re: sagetex update ready for review

2020-08-12 Thread Dima Pasechnik
please test the new update: https://trac.sagemath.org/ticket/30342 On Sunday, January 6, 2019 at 4:10:56 AM UTC Dima Pasechnik wrote: > Dear sagetex users, > > please test > https://trac.sagemath.org/ticket/27024 > > Thanks, > Dima > -- You received

Re: [sage-support] sage build failing on 9.2beta7, failure during make

2020-08-02 Thread Dima Pasechnik
building with make build should always work. We are overhauling the build system, makefiles might need to be regenerated, and "sage -b" does not do it. On Mon, 3 Aug 2020, 00:55 'Stefan Grosser' via sage-support, < sage-support@googlegroups.com> wrote: > On my develop branch for sage,

Re: [sage-support] make command Error 127

2020-07-28 Thread Dima Pasechnik
Tue, Jul 28, 2020 at 12:02 PM Dima Pasechnik wrote: > >> >> >> On Tue, 28 Jul 2020, 07:13 Karima Shahzad, >> wrote: >> >>> Hello, >>> I am Installing SageMath from the source code on my Ubuntu20.04. I had >>> installed it success

Re: [sage-support] make command Error 127

2020-07-28 Thread Dima Pasechnik
On Tue, 28 Jul 2020, 07:13 Karima Shahzad, wrote: > Hello, > I am Installing SageMath from the source code on my Ubuntu20.04. I had > installed it successfully but, due to some issues in my system, I > reinstalled Ubuntu, and now following the same step for sage installation I > get an Error in

Re: [sage-support] Sage could not find a kernel under Windows10

2020-07-11 Thread Dima Pasechnik
It could be that your antivirus software acts up. I suggest to disable it and try again. See https://cygwin.com/faq/faq.html#faq.using.bloda On Sat, 11 Jul 2020, 09:04 Cyrille Piatecki, wrote: > As I have no answer I try again to reinstall all my distribution and > things get wrongest with a

Re: [sage-support] Pillow compilation fails to find zlib headers

2020-07-10 Thread Dima Pasechnik
what version of Sage are you using? We were fixing pillow issues lately. Could you try the latest beta? On Fri, 10 Jul 2020, 15:42 Maxime Boissonneault, < maxime.boissonnea...@calculquebec.ca> wrote: > Hi, > I am compiling Sage from source on Linux, on a supercomputer. Libraries > and headers

Re: [sage-support] Sage could not find a kernel under Windows10

2020-07-10 Thread Dima Pasechnik
On Fri, 10 Jul 2020, 07:15 Cyrille Piatecki, wrote: > > Since yesterday, I have the following problem : my notebooks cannot be > connected to Sage. I have completely erased Sage and Python of my computer > and then reinstalled them. So I work, under Windows 10, with the last > version of both of

Re: [sage-support] speakers of FR/PT/ES/JP sought to check edits in src/doc on #30076

2020-07-07 Thread Dima Pasechnik
On Tue, Jul 7, 2020 at 2:27 PM 'Reimundo Heluani' via sage-support wrote: > > On Jul 07, Dima Pasechnik wrote: > >On Tue, Jul 7, 2020 at 12:58 PM 'Reimundo Heluani' via sage-support > > wrote: > >> > >> On Jul 07, Dima Pasechnik wrote: > >> >On Tue

Re: [sage-support] Re: MILP using Sage

2020-07-07 Thread Dima Pasechnik
On Tue, Jul 7, 2020 at 12:17 PM chandra chowdhury wrote: > > For max=1, there is no solution but for max=2 it has solution. > How can we find upper bound of max using loop for similar > problem? > > p = MixedIntegerLinearProgram(solver='GLPK') > x = p.new_variable() > p.set_binary(x) >

Re: [sage-support] speakers of FR/PT/ES/JP sought to check edits in src/doc on #30076

2020-07-07 Thread Dima Pasechnik
On Tue, Jul 7, 2020 at 12:58 PM 'Reimundo Heluani' via sage-support wrote: > > On Jul 07, Dima Pasechnik wrote: > >On Tue, Jul 7, 2020 at 12:02 PM 'Reimundo Heluani' via sage-support > > wrote: > >> > >> Hi Dima, "Interfaz" doesn't have an accent in

Re: [sage-support] speakers of FR/PT/ES/JP sought to check edits in src/doc on #30076

2020-07-07 Thread Dima Pasechnik
ge.git/tree/src/doc/es/tutorial/introduction.rst?id=a9ca087205be1db6db8a8d9cd527eb765f3c8442 > > Cheers, > > R. > > On Jul 07, Dima Pasechnik wrote: > >The ticket https://trac.sagemath.org/ticket/30076 > >does few changes to docs to remove information on to be remove

[sage-support] speakers of FR/PT/ES/JP sought to check edits in src/doc on #30076

2020-07-07 Thread Dima Pasechnik
The ticket https://trac.sagemath.org/ticket/30076 does few changes to docs to remove information on to be removed in 9.1 sagenb and its worksheets (sws format). I had to touch files in src/doc/*/tutorial/, and while managing this for en/de/ru, the remaining languages are done with help of google

Re: [sage-support] MILP using Sage

2020-07-07 Thread Dima Pasechnik
On Mon, Jul 6, 2020 at 6:36 PM chandra chowdhury wrote: > > Hi, > I am trying to solve MILP using Sage. Problem is if there is no solution > it gives an error. Instead of an error, I want to change constraints > (like if initial max=100 which does not give solution, new max=101 which may >

Re: [sage-support] bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread Dima Pasechnik
On Mon, 29 Jun 2020, 18:59 Dima Pasechnik, wrote: > On Mon, Jun 29, 2020 at 6:25 PM David Joyner wrote: > > > > Hi: > > > > In SageMath version 9.1.beta3, I get > > > > sage: Gamma1 = graphs.CirculantGraph(10,[2,4]) > > > > sage: Gamma1.is_con

Re: [sage-support] bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread Dima Pasechnik
On Mon, Jun 29, 2020 at 6:25 PM David Joyner wrote: > > Hi: > > In SageMath version 9.1.beta3, I get > > sage: Gamma1 = graphs.CirculantGraph(10,[2,4]) > > sage: Gamma1.is_connected() > > False > > > My understanding is that all circulant graphs are connected. no, why? e.g.

Re: [sage-support] Polynomial comparison

2020-06-27 Thread Dima Pasechnik
On Sat, Jun 27, 2020 at 10:38 AM Rob H. wrote: > > > > Hi all, > > So I was surprised to find out that asking if a polynomial is > 0 doesn't > raise an error. many Sage objects compare in a totally non-mathematical way, just to be able to sort them. Polynomials are no exception. One day we

Re: [sage-support] Sage 9.1 installation for OSX failing: .../giac/doc/el/casinter/Makefile not found

2020-06-24 Thread Dima Pasechnik
Please specify your version of macOS, and which dmg file you are using. On Wed, 24 Jun 2020, 17:18 Noah White, wrote: > I've downloaded the latest Sage 9.1 dmg file for OSX and when running for > the first time I encounter the following error: > > patching

Re: [sage-support] No reply to my sage-trac-account request

2020-06-21 Thread Dima Pasechnik
Dear David, this method relies on few voluntor eers, which might be busy, or just gone AWOL. Yes, I (and several other people who read this) probably have enough admin permissions to create an account for you, but this e.g. would take a hour of otime, as I don't know how it works. Unless you are

Re: [sage-support] space sign in 'show'

2020-06-18 Thread Dima Pasechnik
On Thu, 18 Jun 2020, 08:05 Bert Henry, wrote: > Hallo, I have a simple question: > > If I code > reset() > g(x,y)=x^2+y^3-8*x-3*y > gx(x,y)=diff(g(x,y),x); show('gx = ',gx(x,y)) > > the result is > gx =2x−8 > > How can I place a space BEHIND the =? > Python's print() function allows you to do

Re: [sage-support] summing infinite series

2020-06-12 Thread Dima Pasechnik
On Fri, Jun 12, 2020 at 10:23 AM John Cremona wrote: > > I never deliberately use the Symbolic Ring since I believe in algebra. > But I wanted to simplify some quite complicated expressions involving > infinite series in one variable called 'p', nothing more complicated > that geometric series,

Re: [sage-support] Sage crash (probably caused by a Debian system upgrade)

2020-06-08 Thread Dima Pasechnik
the end of your attachment suggests sage -f random for some reason On Mon, 8 Jun 2020, 08:10 Emmanuel Charpentier, < emanuel.charpent...@gmail.com> wrote: > > > Le lundi 8 juin 2020 09:00:43 UTC+2, Dima Pasechnik a écrit : >> >> any update of a library used in Sag

Re: [sage-support] nauty/genbg apparently hitting 32-bit limit, failing silently

2020-06-07 Thread Dima Pasechnik
done, please review On Sun, Jun 7, 2020 at 7:41 PM Dima Pasechnik wrote: > > will be fixed on https://trac.sagemath.org/ticket/29821 > > On Sun, Jun 7, 2020 at 3:01 PM slelievre wrote: > > > > Le samedi 6 juin 2020 22:53:13 UTC+2, Dima Pasechnik a écrit : > > >

Re: [sage-support] nauty/genbg apparently hitting 32-bit limit, failing silently

2020-06-07 Thread Dima Pasechnik
will be fixed on https://trac.sagemath.org/ticket/29821 On Sun, Jun 7, 2020 at 3:01 PM slelievre wrote: > > Le samedi 6 juin 2020 22:53:13 UTC+2, Dima Pasechnik a écrit : > > > > The code in question calls nauty's genbg program, and hypergraphs are > > encoded as vert

Re: [sage-support] ask.sagemath.org dow

2020-06-07 Thread Dima Pasechnik
On Sun, Jun 7, 2020 at 6:33 PM Emmanuel Charpentier wrote: > > Since about 18h (usage hour in Paris = UTC+2 in summer), ask.sagemath.org is > inaccessible from my place. > > Is that general ? I can't reach it either > > -- > You received this message because you are subscribed to the Google

Re: [sage-support] nauty/genbg apparently hitting 32-bit limit, failing silently

2020-06-06 Thread Dima Pasechnik
The code in question calls nauty's genbg program, and hypergraphs are encoded as vertex-(hyper)edge incidence graphs. It seem that one needs to read its source code (e.g. here: https://github.com/lonnen/nauty/blob/nauty27/genbg.c) to understand how the limits are controlled, there are parameters

Re: [sage-support] Re: Multiprocessing for Tensors is not working for Macintosh. (SageMath 9.0)

2020-05-30 Thread Dima Pasechnik
if you change *.py files in src/sage/ it's enough to do ./sage -b to install the changed files in local/ (it's trickier with Cython files) On Sat, May 30, 2020 at 10:07 PM 'Alan Stafford' via sage-support wrote: > > How do I make sure the changes I have made to the code are present. > Do I

Re: [sage-support] I can't open sage-9.1-OSX_10.11.6-x86_64.app on macOS Catalania

2020-05-30 Thread Dima Pasechnik
On Sat, 30 May 2020, 14:50 Haydar Uncu, wrote: > > > Hello, > > I have downloaded sage-9.1-OSX_10.11.6-x86_64.app.dmg > > on > my mac desktop and then run it. Then I copied the resulting

Re: [sage-support] Re: Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-30 Thread Dima Pasechnik
| ^~~ > [numpy-1.16.6] compilation terminated. > > On Friday, May 29, 2020 at 1:38:39 PM UTC-4, Matthias Koeppe wrote: >> >> >> >> On Thursday, May 28, 2020 at 2:13:30 PM UTC-7, Dima Pasechnik wrote: >>> >>> On Thu, May 28, 2020 at 7:1

Re: [sage-support] Sage 9.1 Debian 9 (Buster) binaries not available?

2020-05-29 Thread Dima Pasechnik
On Fri, May 29, 2020 at 6:07 PM pong wrote: > > I am looking for the binaries of Sage 9.1 for Debian Buster but it's notably > missing from the download list. Will it be there any time soon? they are there - note that Buster is Debian 10: e.g. I see

Re: [sage-support] Re: Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-28 Thread Dima Pasechnik
On Thu, May 28, 2020 at 7:10 PM Matthias Koeppe wrote: > > On Thursday, May 28, 2020 at 7:21:35 AM UTC-7, ilyub wrote: >> >> The cygwin people seemed to have removed the physical file (xlocale.h) from >> the cygwin distribution starting with version 3.1.1-1 >>

Re: [sage-support] Can't Open SageMath Program on Lxde

2020-05-28 Thread Dima Pasechnik
r machine, which has nothing to do with the one that is supposed to be in the tarfile. Anyhow, what is the output of find / -name sage | grep sage > > > On Thursday, May 28, 2020 at 11:46:50 AM UTC-4, Dima Pasechnik wrote: >> >> oh, sorry, better version: >&

Re: [sage-support] Can't Open SageMath Program on Lxde

2020-05-28 Thread Dima Pasechnik
rmission denied > find: ‘/root’: Permission denied > > > > > On Thursday, May 28, 2020 at 10:17:25 AM UTC-4, Dima Pasechnik wrote: >> >> try running >> >> find / -name sage >> >> and post the output >> >> On Thu, 28 May 2020,

Re: [sage-support] Can't Open SageMath Program on Lxde

2020-05-28 Thread Dima Pasechnik
try running find / -name sage and post the output On Thu, 28 May 2020, 14:33 Joshua Meadowcroft, wrote: > Just tried it with cap M. Same result. No such file or directory > > > On Thursday, May 28, 2020 at 8:58:42 AM UTC-4, Dima Pasechnik wrote: >> >> >>

Re: [sage-support] Re: Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-28 Thread Dima Pasechnik
em. I think the > change we need is to include xlocale.h in the next Cygwin-devel package. > Unless there was another change to Cygwin in March this year? > > On Thursday, May 28, 2020 at 3:35:39 AM UTC-4, Dima Pasechnik wrote: >> >> On Thu, May 28, 2020 at 1:56 AM ilyub w

Re: [sage-support] Can't Open SageMath Program on Lxde

2020-05-28 Thread Dima Pasechnik
On Thu, 28 May 2020, 13:04 Joshua Meadowcroft, wrote: > It's saying "bash: cd: Sagemath: No such file or directory" now. Same > issue as yesterday. We definitely unpacked the files. It's just not > finding the directory. > case matters - it is SageMath not Sagemath > > > On Thursday,

Re: [sage-support] Re: Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-28 Thread Dima Pasechnik
On Thu, May 28, 2020 at 1:56 AM ilyub wrote: > > Yes please put it back, so it can build on latest cygwin It should be back in cygwin soon, see https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=90e35b1eb3df4070e68afc5e7060665214d586be

Re: [sage-support] Sage 9.1 build fails on cygwin due to lack of xlocale.h in the new cygwin-devel package

2020-05-27 Thread Dima Pasechnik
On Wed, May 27, 2020 at 10:39 PM ilyub wrote: > > (Cygwin 64: cygwin-devel package version: 3.1.4-1 | SageMath version 9.1, > Release Date: 2020-05-20) > > Building Sage fails when compiling numpy with "fatal error: xlocale.h: No > such file or directory". We used to have a patch for this:

Re: [sage-support] RuntimeWarning cypari2 leaked 6097768 bytes

2020-05-21 Thread Dima Pasechnik
We have Sage 9.1 now - could you please check if this can be reproduced? On Thu, May 21, 2020 at 2:36 PM Rolandb wrote: > > Hi, > > Is it relevant to further investigate the background of this error message? > > >

Re: [sage-support] Problem with sagetex and fancyhdr

2020-05-14 Thread Dima Pasechnik
On Thursday, May 14, 2020 at 12:14:36 PM UTC+1, Dima Pasechnik wrote: > > Hi David, > > On Wed, May 13, 2020 at 11:53 PM David Sevilla <> wrote: > > > Hi, I have been trying to use SageTeX in a document where I also use the > fancyhdr package, and I am not

Re: [sage-support] Problem with sagetex and fancyhdr

2020-05-14 Thread Dima Pasechnik
Hi David, On Wed, May 13, 2020 at 11:53 PM David Sevilla wrote: > Hi, I have been trying to use SageTeX in a document where I also use the > fancyhdr package, and I am not able to put Sage computations in the header > (or the footer). A minimal example follows. > > \documentclass{article} >

[sage-support] porting Sage to OpenBSD

2020-05-12 Thread Dima Pasechnik
Please see https://trac.sagemath.org/ticket/29677 An immediate task would be to add many missing on OpenBSD packages. (Note that OpenBSD has a relatively rapid turnaround in adding new packages, as opposed to e.g. Debian) -- You received this message because you are subscribed to the Google

Re: [sage-support] Efficiency in Symbolic Matrix calculation?

2020-05-12 Thread Dima Pasechnik
On Tue, May 12, 2020 at 9:38 AM James wrote: > > Hi > > I've recently started using SageMath as part my Masters Research into > Mutually Unbiased Bases. I'm able to generate these Basis using finite fields > traces and complex roots of unity, but I am running into efficiency issue. I > would

Re: [sage-support] How to import sagemath into repl.it

2020-05-07 Thread Dima Pasechnik
you basically need to extend repl.it's python with the corresponding extensions. Do you know if repl.it allow you to install extra modules using pip (or in some other way)? (pip would not be quite enough yet, as sagemath needs more than this) On Thu, 7 May 2020, 20:16 Madison Adams, wrote: >

Re: [sage-support] Sagemath saving results

2020-05-07 Thread Dima Pasechnik
On Thu, May 7, 2020 at 11:38 AM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > Le 06/05/2020 à 00:10, Mauro Weber a écrit : > > for G in I: > > > > if G.is_tree(): > > If you want to iterate over trees don't filter them by generating all > graphs. This is a huge waste of time > > #

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-07 Thread Dima Pasechnik
gt; >>> Thanks for the help Dima, but sadly, even this did not work :-( Is there a >>> simple way to set up the kernel manually? >>> >>> On Wed, 6 May 2020 at 20:32, Dima Pasechnik wrote: >>>> >>>> this looks like a conflict between t

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Dima Pasechnik
lhost:/?token= where you should ge the correct jupyter kernel (hopefully) On Wed, May 6, 2020 at 7:19 PM Szabolcs Horvát wrote: > > > > On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote: >> >> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát wrote: >

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Dima Pasechnik
On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát wrote: > > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would gain > access to other ILP solvers than GLPK. > > They work fine in command line mode. But if I start Sage 9.0 as sage > --notebook, it gives me an interface to

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Dima Pasechnik
your case? > > Can you tell me: are there other things in SAGE_LOCAL that are needed besides > the binary? Maybe the tex libraries or something? the bulk, about 70%, is SAGE_LOCAL/lib/ followed by SAGE_LOCAL/share/ (about 20%) the rest is very small. Both lib/ and share/ are largely needed

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Dima Pasechnik
GE_LOCAL $ ls -l $SAGE_LOCAL/bin/sage (if sage -sh won't start you'd need to do some debugging to dig up $SAGE_LOCAL) HTH Dima > > On Tue, May 5, 2020 at 11:53 AM Dima Pasechnik wrote: >> >> On Tue, May 5, 2020 at 4:00 PM Christopher Duston >> wrote: >> >

Re: [sage-support] After fresh compile, sage starts fine. Upon restart, it doesn't know it was installed

2020-05-05 Thread Dima Pasechnik
On Tue, May 5, 2020 at 4:00 PM Christopher Duston wrote: > > I'm working on an install script for Slackware, which seems to work - at > least, running "sage" after compiling everything gets sage to run as expected. > > However, a few days later: > > $ sage >

Re: [sage-support] Re: Is log_html() deprecated?

2020-04-29 Thread Dima Pasechnik
Yes, it is a bug. I opened https://trac.sagemath.org/ticket/29621 On Wed, Apr 29, 2020 at 10:02 PM Jin Guu wrote: > > Apology for more stupid questions. I imported and it loaded, but still failed: > > sage: from sage.misc.log import log_html > sage: log_html > > sage: log_html() >

Re: [sage-support] Is log_html() deprecated?

2020-04-29 Thread Dima Pasechnik
you need to import it before using: from sage.misc.log import log_html On Wed, 29 Apr 2020, 15:09 Jin Guu, wrote: > I'd like to log my entire session in sage into a file. The best solution I > found is to use log_html(). > http://doc.sagemath.org/html/en/reference/misc/sage/misc/log.html >

Re: [sage-support] Sage Crash Report

2020-04-23 Thread Dima Pasechnik
On Thu, Apr 23, 2020 at 9:42 PM Jean-Florent Raymond wrote: > > Hello, > > Did you try to rebuild since the upgrade? > If you upgraded a package that sage needs, then sage might complain that > it cannot find the version it was used to. > > It seems to be the case with libntl according to the

Re: [sage-support] Re: equation solution in integer

2020-04-18 Thread Dima Pasechnik
On Sun, Apr 19, 2020 at 7:41 AM Bert Henry wrote: > > > wow, I didn‘t expect, that may „simple“ problem needs such deep math. I will > look for the math of polyhedrons to understand, what you wrote, because in > some number-crosswords (I don‘t know the correct english word) you search for >

Re: [sage-support] Building on Catalina

2020-04-09 Thread Dima Pasechnik
On Fri, Apr 10, 2020 at 5:23 AM David Einstein wrote: > > Sorry, that was a side effect of me running one of the internal scripts from > the command line in a vainglorious attempt to figure out what was going on. > > After running the osx upgrade, everything built (even with the funky paths) >

Re: [sage-support] Apparently Sage lost Python

2020-04-09 Thread Dima Pasechnik
On Thu, Apr 9, 2020 at 9:43 PM Anita Rojas wrote: > > Thanks. It did work! It has recovered almost all his previous capabilities. > Although, I still do not know how to add the SmallGroup Data base directly to > sage. > > Currently it is working by doing, for instance: > g=gap.SmallGroup(6,2) >

Re: [sage-support] yet another crash report

2020-04-09 Thread Dima Pasechnik
Ubuntu 18.04 has a quite old version of Sage, 8.1, iirc. Your best bet might be building from source, or using conda. http://doc.sagemath.org/html/en/installation/conda.html On Thu, Apr 9, 2020 at 3:36 PM Barry von Tobel wrote: > > Ok, > so i downloaded from ubuntu 18.04 Synaptic repository.

Re: [sage-support] Building on Catalina

2020-04-08 Thread Dima Pasechnik
Einstein wrote: > > Here is the config.log. > > On Wednesday, April 8, 2020 at 10:32:51 PM UTC-4, Dima Pasechnik wrote: >> >> Hi David, >> It might help if you posted the top-level config.log, thanks. >> >> Dima >> >> On Thu, Apr 9, 2020 at 9:58 AM

Re: [sage-support] Sage Crash report

2020-04-08 Thread Dima Pasechnik
On Thu, Apr 9, 2020 at 10:30 AM hbetx9 wrote: > > Hi Matthias, > > Boy what a mess this is. I didn't realize the rabbit hole went down that far. > Do you think I could skip this and after upgrading sage later stable versions > (I see you and others are working on it), this can be resolved? > >

Re: [sage-support] Building on Catalina

2020-04-08 Thread Dima Pasechnik
Hi David, It might help if you posted the top-level config.log, thanks. Dima On Thu, Apr 9, 2020 at 9:58 AM David Einstein wrote: > > I am trying to build on OSX Catalina, and everything seems to go well until > it builds sagelib, and I get a libpng not found. > > Everything built nicely a few

Re: [sage-support] Sage Crash report

2020-04-07 Thread Dima Pasechnik
stalled on your Mint, from PPA or otherwise. Perhaps you can ask on a Mint forum. HTH Dima > Best, > Lance > > On Saturday, April 4, 2020 at 9:49:09 PM UTC-5, Dima Pasechnik wrote: >> >> On Sun, Apr 5, 2020 at 7:44 AM Lance Edward Miller wrote: >> > >> &

Re: [sage-support] another naive question

2020-04-06 Thread Dima Pasechnik
On Tue, Apr 7, 2020 at 2:29 AM Fernando Gouvea wrote: > > I'm working with ideals in the polynomial ring in three variables. > > sage> R.=QQ[] > sage> f=u*v-w > sage> g=u^2-v > sage> I=Ideal(f,g) > sage> I.is_prime() > True > sage> I.associated_primes() > [Ideal (v^2 - u*w, u*v - w, u^2 -

Re: [sage-support] Apparently Sage lost Python

2020-04-06 Thread Dima Pasechnik
On Tue, Apr 7, 2020 at 2:37 AM rana-aere wrote: > > Dear Dima, > > I found something strange in this error message. > > anirojas@MacBook-de-Anita ~ % /Applications/SageMath/sage --notebook=export > --list > > File "/Applications/SageMath/local/bin/sagenb-export" > > File >

Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Dima Pasechnik
happens if you open http://localhost:/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47 as suggested in the message above? > > > I am downloading sage 8.8 (sorry!) > > > Thanks again > > > > > > On Sun, Apr 5, 2020 at 10:31 AM Dima Pasechnik wrote:

Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Dima Pasechnik
ct = getattr(__import__(self._module, {}, {}, > [self._name]), self._name) > > 221 name = self._as_name > > 222 if self._deprecation is not None: > > > ModuleNotFoundError: No module named 'sagenb' > > > > > > > > On Sat, Apr 4, 20

Re: [sage-support] Sage Crash report

2020-04-04 Thread Dima Pasechnik
On Sun, Apr 5, 2020 at 7:44 AM Lance Edward Miller wrote: > > After install on Linux Mint 19.3, I got the following crash report. Any help > is appreciated. What exactly have you installed? A binary installation, or done a build from sources? > >

Re: [sage-support] Apparently Sage lost Python

2020-04-04 Thread Dima Pasechnik
y and paste one of these URLs: http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2 Please post what you're seeing. As well, you might try running sage -n jupyter which should directly launch a jupyter notebook > Sorry and deep thanks. > >

Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Dima Pasechnik
p > Anita > > > > > > On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik wrote: > >> yes, this is an issue due to Apple "improving" their security in the >> latest MacOS. >> >> I believe there are instructions on >> >> https://ask.s

Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Dima Pasechnik
nd I do > not want to lose it. > Best, > Anita > > > > On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik wrote: > >> >> >> On Sat, 4 Apr 2020, 11:11 Anita Rojas, wrote: >> >>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE >>&g

Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Dima Pasechnik
On Sat, 4 Apr 2020, 11:11 Anita Rojas, wrote: > Hi! I am far away of being a OSX guru, but I managed to get my SAGE > working. > > It use to work properly but now I got the following message: > > > Error: Tried to use Sage's Python which was not yet installed. > > If this was called from an

Re: [sage-support] Sage Issue

2020-04-02 Thread Dima Pasechnik
ou'd need to re-install Sage. > > -Anna > > On Tue, Mar 31, 2020 at 8:17 PM Dima Pasechnik wrote: >> >> Dear Anna, >> we need to know more details >> >> - what is the OS you are using? >> - how have you tried to install Sage? >> >

Re: [sage-support] Sage Issue

2020-03-31 Thread Dima Pasechnik
Dear Anna, we need to know more details - what is the OS you are using? - how have you tried to install Sage? Thanks, Dima On Wed, 1 Apr 2020, 03:42 Anna Chlopecki, wrote: > Hello, > > > I have recently tried to run Sage on my computer, which used to work. > However, for some reason, it no

Re: [sage-support] Sage Crash Report

2020-03-25 Thread Dima Pasechnik
Also, sqlite has been updated in sagemath 9.0, as well as we have there https://trac.sagemath.org/ticket/28511 which is meant to help with skew clock issues. On Wed, 25 Mar 2020, 14:42 Dima Pasechnik, wrote: > > > On Wed, 25 Mar 2020, 14:19 Kashif Bari, wrote: > >> I do no

Re: [sage-support] Sage Crash Report

2020-03-25 Thread Dima Pasechnik
stall any software that I wish > to use. The home directory that I have is not large enough to install > anything. > > On Tue, Mar 24, 2020 at 8:43 PM Dima Pasechnik wrote: > >> >> >> On Wed, 25 Mar 2020, 02:21 Kashif Bari, wrote: >> >>> Hi Dima, >>>

Re: [sage-support] Sage Crash Report

2020-03-24 Thread Dima Pasechnik
create executables > > Best, > Kash > > On Tue, Mar 24, 2020 at 7:53 AM Dima Pasechnik wrote: > >> On Tue, Mar 24, 2020 at 4:51 PM Kashif Bari wrote: >> > >> > I believe I was able to resolve the issue with mpc-1.1.0 by loading a >> more

Re: [sage-support] Problem of Sage 9.0 and Maxima powerseries

2020-03-24 Thread Dima Pasechnik
On Tue, Mar 24, 2020 at 9:13 PM mendes wrote: > > Dear all, > > In previous versions of Sagemath, this worked fine: > > f= 1/(1-x) > print( maxima(f,x).powerseries(x,0) ) > > Now, in Sage 9.0, this raises the error: > > TypeError: new_name must be a string is there any reason you cannot simply

Re: [sage-support] Sage Crash Report

2020-03-24 Thread Dima Pasechnik
disable-maintainer-mode and try again running make again. (This change should make sqlite's ./configure less sensitive to skew clock) HTH, Dima > It seems CentOS doesn't like when I install Sage! Thank you all once again > for all your helpful comments! > > On Wed, Mar 18, 2020 a

Re: [sage-support] Re: Sage 9.0 macOS Jupyter Server failed to start

2020-03-20 Thread Dima Pasechnik
> I believe you can use the usual Google Groups interface to request membership there, no? HTH Dmitrii > > 2020年3月20日金曜日 17時08分40秒 UTC+9 Dima Pasechnik: >> >> >> >> On Friday, March 20, 2020 at 3:27:18 AM UTC+8, rana-aere wrote: >>> >>>

Re: [sage-support] Re: Sage 9.0 macOS Jupyter Server failed to start

2020-03-20 Thread Dima Pasechnik
may prerequisites or dependencies. > The patch you propose is now on https://trac.sagemath.org/ticket/29371 Would be great if someone reviewed it. > > 2020年3月20日金曜日 3時39分05秒 UTC+9 Dima Pasechnik: >> >> as a matter of fact, we might currently be lacking developers with >

Re: [sage-support] Re: Sage 9.0 macOS Jupyter Server failed to start

2020-03-19 Thread Dima Pasechnik
as a matter of fact, we might currently be lacking developers with knowledge of these MacOS-specific things. (I suggest that SageMath-*.app should not be used, instead use terminal-based ways to start Sage) On Fri, Mar 20, 2020 at 2:35 AM rana-aere wrote: > > I think SageMath-9.0.app has less

Re: [sage-support] Sage Crash Report

2020-03-18 Thread Dima Pasechnik
now makeinfo installed, it should be a different issue. > > I currently have sage 8.9 installed on my personal laptop, so I figured I > would stick with the same version that I know my code runs on. > > On Wed, Mar 18, 2020 at 9:56 PM Dima Pasechnik wrote: >> >> mpfr

Re: [sage-support] Sage Crash Report

2020-03-18 Thread Dima Pasechnik
mpfr needs makeinfo program to be installed. This is a pretty standard thing, which on Centos is in texinfo package https://centos.pkgs.org/7/centos-x86_64/texinfo-5.1-5.el7.x86_64.rpm.html By the way, why are you building Sage 8.9, and not 9.0? On Thu, Mar 19, 2020 at 7:00 AM Kashif Bari

Re: [sage-support] Optional package cunningham_tables unavailable (version 9.0)

2020-03-12 Thread Dima Pasechnik
r. On Thu, Mar 12, 2020 at 4:32 PM Dima Pasechnik wrote: > > it (with -p option) does work on a recent Sage 9.1 beta. > Specfically, I got the file here: > > > http://www.mirrorservice.org/sites/www.sagemath.org//spkg/optional/cunningham_tables-1.0.spkg > > On Thu, Mar

Re: [sage-support] Optional package cunningham_tables unavailable (version 9.0)

2020-03-12 Thread Dima Pasechnik
it (with -p option) does work on a recent Sage 9.1 beta. Specfically, I got the file here: http://www.mirrorservice.org/sites/www.sagemath.org//spkg/optional/cunningham_tables-1.0.spkg On Thu, Mar 12, 2020 at 4:15 PM 'Peter Mueller' via sage-support wrote: > > Locally compiled versions of

[sage-support] defining (partial) inverse image of a ring homomorphism

2020-03-10 Thread Dima Pasechnik
Suppose I have R.=QQ[] K.=QQ[] f=R.hom([u*v,u^2,v^2-u^2]) then for any even degree p in K one can compute a preimage under f (e.g. u^4-u*v goes to y^2+x, etc) Does Sage support this kind of maps? Yes, I can write the code that will for an even degree monomial in K compute the corresponding

Re: [sage-support] naive question

2020-03-06 Thread Dima Pasechnik
On Fri, Mar 6, 2020 at 1:44 PM Fernando Gouvea wrote: > > OK, so I'm doing a computation and my result is something I called thirdroot. > I'm trying to test whether it's equal to a particular expression. Can someone > explain what is wrong here? > > (s*t+1)^2/(s+t)^2 > > (s*t + 1)^2/(s + t)^2 >

Re: [sage-support] Re: Plotting algebraic curves

2020-03-05 Thread Dima Pasechnik
at 5:13 PM Dima Pasechnik wrote: > > In fact, substituting x and y directly into the equation of the curve > to plot, and clearing denominators, > produces something pretty good,IMHO: > > implicit_plot(v^2*3*sqrt(1-u^2-v^2)-u^3*9+u*(1-u^2-v^2),(u,-1,1),(v,-1,1)) > > >

Re: [sage-support] Re: Plotting algebraic curves

2020-03-05 Thread Dima Pasechnik
In fact, substituting x and y directly into the equation of the curve to plot, and clearing denominators, produces something pretty good,IMHO: implicit_plot(v^2*3*sqrt(1-u^2-v^2)-u^3*9+u*(1-u^2-v^2),(u,-1,1),(v,-1,1)) On Thu, Mar 5, 2020 at 4:51 PM Dima Pasechnik wrote: > > On Thu, Mar 5

Re: [sage-support] Re: Plotting algebraic curves

2020-03-05 Thread Dima Pasechnik
te a plot in polar coordinates and then transform it. > Fernando > > On 3/5/2020 8:22 AM, Dima Pasechnik wrote: > > The easiest way is to use Python functions rather than symbolic ones; > define a function that is 1 outside the unit disk, and implicitly plot it. > > sage: def f_uv(u,v

[sage-support] FAQ: building Sage on debian or ubuntu

2020-03-05 Thread Dima Pasechnik
Here are the currently recommended lists of system packages to be installed with apt-get, as of https://trac.sagemath.org/ticket/29273 $ sudo apt-get install bc binutils bzip2 ca-certificates cliquer curl g++ g++ gcc gcc gfan gfortran git glpk-utils gmp-ecm lcalc libboost-dev libbz2-dev

Re: [sage-support] Re: Plotting algebraic curves

2020-03-03 Thread Dima Pasechnik
how it's possible. > > I still think implicit_plot should be smarter about values that do not make > sense. > > Fernando > > On 3/3/2020 6:26 PM, Dima Pasechnik wrote: > > even better: > > sage: var('x y u v r phi') > : u=r*cos(phi) > : v=r*sin(phi) >

Re: [sage-support] Re: Plotting algebraic curves

2020-03-03 Thread Dima Pasechnik
even better: sage: var('x y u v r phi') : u=r*cos(phi) : v=r*sin(phi) : x=u*sqrt(9/(1-r^2)) : y=v*sqrt(9/(1-r^2)) : implicit_plot(y^2-x^3+x==0,(r,0,999/1000),(phi,-pi,pi)) On Tue, Mar 3, 2020 at 10:28 PM Dima Pasechnik wrote: > > On Tue, Mar 3, 2020 at 10:10 PM Fe

Re: [sage-support] Re: Plotting algebraic curves

2020-03-03 Thread Dima Pasechnik
d writing a loop, ideally) > > Fernando > > On 3/3/2020 4:15 PM, Dima Pasechnik wrote: > > On Tue, Mar 3, 2020 at 8:20 PM Fernando Gouvea wrote: > > Here's what I ended up trying, with r=3: > > var('x y u v') > x=u*sqrt(9/(1-u^2-v^2)) > y=v*sqrt(9/(1-u^2-v^2))

Re: [sage-support] Re: Plotting algebraic curves

2020-03-03 Thread Dima Pasechnik
On Tue, Mar 3, 2020 at 9:15 PM Dima Pasechnik wrote: > > On Tue, Mar 3, 2020 at 8:20 PM Fernando Gouvea wrote: > > > > Here's what I ended up trying, with r=3: > > > > var('x y u v') > > x=u*sqrt(9/(1-u^2-v^2)) > > y=v*sqrt(9/(1-u^2-v^2)) >

Re: [sage-support] Re: Plotting algebraic curves

2020-03-03 Thread Dima Pasechnik
On Tue, Mar 3, 2020 at 8:20 PM Fernando Gouvea wrote: > > Here's what I ended up trying, with r=3: > > var('x y u v') > x=u*sqrt(9/(1-u^2-v^2)) > y=v*sqrt(9/(1-u^2-v^2)) > implicit_plot(y^2-x^3+x==0,(u,-1,1),(v,-1,1)) > > That gives an error: > >

Re: [sage-support] Error building sage on Xubuntu 18.04.4 LTS

2020-03-03 Thread Dima Pasechnik
ling several versions of R : > 3.6.2-1bionic > 3.6.3-1bionic > > But None of them are recognized, and the configure still says: > r-3.6.2.p0: no suitable system package; will > be installed as an SPKG > > > > On Tuesday, 3 March 20

<    1   2   3   4   5   6   7   8   9   10   >