Error using Cartesian product of function spaces

Hi all,

I can’t use Cartesian product of function spaces not by V*W nor by MixedFunctionSpace([V,W]).

I have installed FEniCS 2019.2.0.dev0 on Ubuntu (wsl on Windows), and checked for all the requirements and recommended packages mentioned here.

The error message for:

mesh = UnitCubeMesh(8,8,8)
P1 = FunctionSpace(mesh, “CG”, 1)
P2v = VectorFunctionSpace(mesh, “CG”, 1)
ME = MixedFunctionSpace([P2v, P1])

Is:
RuntimeError: Cannot create product of function spaces, expecting a list of function spaces

And the error message for:

mesh = UnitCubeMesh(8,8,8)
P1 = FunctionSpace(mesh, “CG”, 1)
P2v = VectorFunctionSpace(mesh, “CG”, 1)
ME = P2v * P1

Is:
TypeError: unsupported operand type(s) for *: ‘FunctionSpace’ and ‘FunctionSpace’

I would appreciate your help,

Yaron

See: Unsupported Operand for FunctionSpace Type
To create the vector element, use VectorElement

Thanks!
Is it because I used out-of-date references? If so, where can I see syntax differences from old versions?

The newest syntax is highlighted in the demos
And the API