I am not sure whether my "problem" has anything to do with the topic of
this thread...
I want to define a Power Series Ring over QQ. The following code works
perfectly fine on my local computer (Ubuntu 11.10, Sage Version 4.7.1,
Release Date: 2011-08-11), whereas if I give the same on sagenb.org it
gives me an error.
I am defining the ring via:
R.<x,y,z> = PowerSeriesRing(QQ);
The error on sagenb:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_5.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding:
utf-8 -*-\\n" +
_support_.preparse_worksheet_cell(base64.b64decode("Ui48eCx5LHo+ID0gUG93ZXJTZXJpZXNSaW5nKFFRKQpS"),globals())+"\\n");
execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpHLLnj7/___code___.py", line 2, in <module>
R = PowerSeriesRing(QQ, names=('x', 'y', 'z',)); (x, y, z,) =
R._first_ngens(3)
File
"/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/rings/power_series_ring.py",
line 183, in PowerSeriesRing
name = gens.normalize_names(1, name)
File "parent_gens.pyx", line 213, in
sage.structure.parent_gens.normalize_names
(sage/structure/parent_gens.c:2311)
IndexError: the number of names must equal the number of generators
My observation is if I fedine a Power Series Ring in 1 variable, then
sagenb accepts, but it seems it doesnt like multiple variables. In fact
none of the example in the documentation work for that matter. Please let
me know if there is some other issue involved...
Thanks and regards
-- VInay
On 28 October 2011 01:36, leif <[email protected]> wrote:
> On 27 Okt., 19:12, Volker Braun <[email protected]> wrote:
> > On Thursday, October 27, 2011 11:01:19 AM UTC-4, leif wrote:
> > > Setting MAKE to "make -jN" when (re-)building Sage doesn't limit the
> > > *total* number of build jobs to N;
> >
> > It does limit the total number of build jobs within the current make.
>
> Provided the communication to the jobserver (through inherited file
> descriptors, whose numbers are passed in MAKEFLAGS) isn't broken,
> which currently apparently isn't always the case during the build.
>
>
> > Of
> > course it doesn't take into account make jobs that are run by different
> > users, that run on different computers, that were invoked at a different
> > time, etc.
>
> :-) I thought the number referred to all simultaneous 'make' jobs in
> the Milky Way.
>
>
> -leif
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org