Re: [sage-devel] trouble with packages

2015-12-27 Thread Francois Bissey
I am guessing that the pexpect upgrade is behind this particular problem. `sage/interface/gap.py` will probably need to be inspected for the case of gap3. François > On 28/12/2015, at 11:19, Anne Schilling wrote: > > Hi! > > I upgraded to the newest development version of sage and I am now hav

[sage-devel] Re: Possible bug: Equality of divisor classes in Jacobians of hyperelliptic curves

2015-12-27 Thread Nils Bruin
On Sunday, December 27, 2015 at 9:19:31 AM UTC-8, Daniel Lännström wrote: > > # BUT THIS FAILS > assert J2(0) == J1(0) > Equality of elements of point sests of different jacobians is indeed inconsistent, but with something else than what you note: sage: J1(x,1)+J2(x,1) (x^2, y + 6) Apparently

[sage-devel] Re: trouble with packages

2015-12-27 Thread Anne Schilling
Also, how do I now install old packages that I still need? For example sage -i sage-mode does not work. Thank you! Anne On Monday, December 28, 2015 at 12:02:11 PM UTC+11, Anne Schilling wrote: > > I can run > > sage: gap=Gap3('/Applications/gap3r4p4/bin/gap') > sage: gap.an_element() > 2 > >

Re: [sage-devel] Possible bug: Equality of divisor classes in Jacobians of hyperelliptic curves

2015-12-27 Thread Justin C. Walker
> On Dec 27, 2015, at 11:47, Daniel Lännström > wrote: > > There seems to be something wrong with equality in > sage.schemes.hyperelliptic_curves.jacobian_morphism.JacobianMorphism_divisor_class_field > > This code demonstrates the weird behavior: > > x = GF(7)['x'].gen() > H1 = Hyperellipti

[sage-devel] Re: trouble with packages

2015-12-27 Thread Anne Schilling
I can run sage: gap=Gap3('/Applications/gap3r4p4/bin/gap') sage: gap.an_element() 2 Is that what you meant? On Monday, December 28, 2015 at 10:35:32 AM UTC+11, Volker Braun wrote: > > Can you run gap3 on the command line? > -- You received this message because you are subscribed to the Google

[sage-devel] trouble with packages

2015-12-27 Thread Volker Braun
Can you run gap3 on the command line? -- 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, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to

[sage-devel] trouble with packages

2015-12-27 Thread Anne Schilling
Hi! I upgraded to the newest development version of sage and I am now having trouble with many of the packages I was using before (and now do not seem to work any longer). Most importantly, the following worked for me before and now raises an error: sage: gap=Gap3('/Applications/gap3r4p4/bin/

Re: [sage-devel] Re: Poset plotting

2015-12-27 Thread Travis Scrimshaw
With dot2tex. Best, Travis On Sunday, December 27, 2015 at 10:58:46 AM UTC-6, Jori Mäntysalo wrote: > > On Sun, 27 Dec 2015, Travis Scrimshaw wrote: > > >> Poset({1:[2], 2:[3], 4:[5]}).show() > > > I have straight lines for each cover relation with 7.0.beta1 > > With or without dot2tex? I hav

[sage-devel] Possible bug: Equality of divisor classes in Jacobians of hyperelliptic curves

2015-12-27 Thread Daniel Lännström
There seems to be something wrong with equality in sage.schemes.hyperelliptic_curves.jacobian_morphism.JacobianMorphism_divisor_class_field This code demonstrates the weird behavior: x = GF(7)['x'].gen() H1 = HyperellipticCurve(x^5+1) H2 = HyperellipticCurve(x^5+1) J1 = H1.jacobian() J2 = H2.jac

Re: [sage-devel] Re: Poset plotting

2015-12-27 Thread Jori Mäntysalo
On Sun, 27 Dec 2015, Travis Scrimshaw wrote: Poset({1:[2], 2:[3], 4:[5]}).show() I have straight lines for each cover relation with 7.0.beta1 With or without dot2tex? I have it installed. -- Jori Mäntysalo

Re: [sage-devel] Poset plotting

2015-12-27 Thread Volker Braun
Unless you are unsure of how to use git: You don't need an additional code review just for resolving merge conflicts. On Sunday, December 27, 2015 at 5:32:31 PM UTC+1, Jori Mäntysalo wrote: > > On Sun, 27 Dec 2015, William Stein wrote: > > > touch this code, then it should split the pose

[sage-devel] Re: Poset plotting

2015-12-27 Thread Travis Scrimshaw
Hey Jori, I have straight lines for each cover relation with 7.0.beta1, which is essentially this but rotated 90 degrees: 1 --> 2 --> 3 4 --> 5 I also believe it is as Nathann says, it builds it essentially level-by-level (or at least as well-defined as that is). Best, Travis On Sunday, D

Re: [sage-devel] Poset plotting

2015-12-27 Thread Jori Mäntysalo
On Sun, 27 Dec 2015, William Stein wrote: touch this code, then it should split the poset to connected components, draw them, and then adjoin the pictures. You should put this in a trac ticket.  In principle, yes. But it will propably just be buried in nice-to-have enhancements,

Re: [sage-devel] Poset plotting

2015-12-27 Thread William Stein
On Sunday, December 27, 2015, Jori Mäntysalo wrote: > On Sun, 27 Dec 2015, Nathann Cohen wrote: > > I expect to have two direct lines, but instead longer line bends at element >>> 2. Is there some reason for this? >>> >> >> You incorrectly believe that the poset code computes the layout >> compon

Re: [sage-devel] Poset plotting

2015-12-27 Thread Nathann Cohen
Yo, > Your explanation is very good. So if somebody (not me!) wants to touch this > code, then it should split the poset to connected components, draw them, and > then adjoin the pictures. Yes, my Lord. Of course, my Lord. I'll make sure that when somebody will use his time to work on this piece

Re: [sage-devel] Poset plotting

2015-12-27 Thread Jori Mäntysalo
On Sun, 27 Dec 2015, Nathann Cohen wrote: I expect to have two direct lines, but instead longer line bends at element 2. Is there some reason for this? You incorrectly believe that the poset code computes the layout component by component. It does not. I don't think I ever read it, but I belie

Re: [sage-devel] Re: ImportError: libpari-gmp-2.8.so.0

2015-12-27 Thread Jori Mäntysalo
On Sun, 27 Dec 2015, Dima Pasechnik wrote: make distclean && make Thanks, that worked. -- Jori Mäntysalo

Re: [sage-devel] Poset plotting

2015-12-27 Thread Nathann Cohen
> I expect to have two direct lines, but instead longer line bends at element > 2. Is there some reason for this? You incorrectly believe that the poset code computes the layout component by component. It does not. I don't think I ever read it, but I believe that it partitions the vertex set accor

[sage-devel] Re: error building sage

2015-12-27 Thread jhonrubia6
Hi. Everything worked fine after the second 'make'. now version is 7.0.beta1 thank you all El viernes, 25 de diciembre de 2015, 20:37:07 (UTC+1), jhonrubia6 escribió: > > Hi, > this is the first time I try to contribute. I began making a single change > in the comments, here is the diff > MacBoo

[sage-devel] Re: ImportError: libpari-gmp-2.8.so.0

2015-12-27 Thread Dima Pasechnik
On Sunday, 27 December 2015 09:11:24 UTC, Dima Pasechnik wrote: > > make distclean && make > (in some cases even 'make distclean' won't work. Volker posted here a git command to use instead...) > > is the only way to switch from 6.10 to 7.0... > > On Sunday, 27 December 2015 07:40:08 UTC, Jor

[sage-devel] Re: ImportError: libpari-gmp-2.8.so.0

2015-12-27 Thread Dima Pasechnik
make distclean && make is the only way to switch from 6.10 to 7.0... On Sunday, 27 December 2015 07:40:08 UTC, Jori Mäntysalo wrote: > > I did git checkout develop and git pull. Now I can make build but both > make (i.e. building docs also) and ./sage gives > > ImportError: libpari-gmp-2.8.so.0