using Oscar

#Error should occur when you call this function
function poly_error()
    ps = [[0,1]]
    pa = Polymake.group.PermutationAction(GENERATORS = ps)
    G = Polymake.group.Group(RAYS_ACTION = pa)
    vgens = [[1,0],[0,1]]
    genmat = Polymake.Matrix(permutedims(stack(vgens)))
    c = Polymake.polytope.Cone(RAYS = genmat, GROUP = G) 
    for i in 1:10001     
        Polymake.polytope.representation_conversion_up_to_symmetry(c)     
    end
end