(I have posted this question on the ask.sagemath forum also.) I am trying to compute an invariant ring for a finite group using Singular through Sagemath, but I get an error. Here is a minimal example.
Code:
singular.lib('finvar.lib')
R = singular.ring(3,'(x0, x1)', 'dp')
g = singular.matrix(2,2,'1,0,1,1')
singuslar.invariant_ring(g)
However I get an error:
Code:
File "/usr/lib/python2.7/dist-packages/sage/interfaces/singular.py", line 653, in eval
raise SingularError('Singular error:\n%s'%s)
TypeError: Singular error:
? assign not impl.
? error occurred in or before STDIN line 16: ` return(P,S);`
(This happens in Debian 9, with sagemath and Singular installed using apt, and in Debian 10, both installed the same way, and on the Sage Cell server.)
How do I fix this problem?