Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Another problem with 'var' in cloud.sagemath

I have some code that does fine on my local machine, and it used to work on cloud.sagemath, but currently it gives an error. The error is listed below. I believe that it has to do with the declaration of variables at the top of my worksheet.

But again, copying this to my local installation doesn't give the error.

Thanks!

Error in lines 14-56 Traceback (most recent call last): File "/projects/4f1d0d75-55b1-4a27-a977-593efeabe994/.sagemathcloud/sage_server.py", line 828, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "", line 2, in initialize File "", line 2, in ina File "/projects/4f1d0d75-55b1-4a27-a977-593efeabe994/.sagemathcloud/sage_salvus.py", line 2633, in var return var0(args, *kwds) File "/projects/4f1d0d75-55b1-4a27-a977-593efeabe994/.sagemathcloud/sage_salvus.py", line 2605, in var0 v = sage.all.SR.var(args, *kwds) File "ring.pyx", line 595, in sage.symbolic.ring.SymbolicRing.var (build/cythonized/sage/symbolic/ring.cpp:7887) TypeError: var() takes at most 3 positional arguments (18 given)

Another problem with 'var' in cloud.sagemath

I have some code that does fine on my local machine, and it used to work on cloud.sagemath, but currently it gives an error. The error is listed below. I believe that it has to do with the declaration of variables at the top of my worksheet.

But again, copying this to my local installation doesn't give the error.

Thanks!

Error in lines 14-56
Traceback (most recent call last):
  File "/projects/4f1d0d75-55b1-4a27-a977-593efeabe994/.sagemathcloud/sage_server.py", line 828, in execute
    exec compile(block+'\n', '', 'single') in namespace, locals
  File "", line 1, in <module>
  File "", line 2, in initialize
  File "", line 2, in ina
  File "/projects/4f1d0d75-55b1-4a27-a977-593efeabe994/.sagemathcloud/sage_salvus.py", line 2633, in var
    return var0(args, *kwds)
var0(*args, **kwds)
  File "/projects/4f1d0d75-55b1-4a27-a977-593efeabe994/.sagemathcloud/sage_salvus.py", line 2605, in var0
    v = sage.all.SR.var(args, *kwds)
sage.all.SR.var(*args, **kwds)
  File "ring.pyx", line 595, in sage.symbolic.ring.SymbolicRing.var (build/cythonized/sage/symbolic/ring.cpp:7887)
TypeError: var() takes at most 3 positional arguments (18 given)

given)