Skip to content

Another case of: "Can't locate object method "code" via package "-1"  #322

@IvanSpirandelli

Description

@IvanSpirandelli

For the following code I get a similar error message as in issue #246 but the fix suggested there does not work.


points = rand(Float64, (10,2))
vd = polytope.VoronoiPolyhedron(SITES=points)
Polymake.call_method(vd, :VISUAL_NN_CRUST)

Produces a warning:
polymake: WARNING: rule VORONOI_GRAPH.BOUNDING_BOX : SITES, VERTICES, FAR_FACE, N_VERTICES failed: block matrix - col dimension mismatch at /home/ivan/.julia/packages/Polymake/qn5DS/deps/usr/share/polymake/apps/polytope/rules/voronoi.rules line 110.

And an error:

Stacktrace:
 [1] internal_call_method(::String, ::Polymake.BigObjectAllocated, ::Array{Any,1}) at /home/ivan/.julia/packages/CxxWrap/hEmjg/src/CxxWrap.jl:558
 [2] #22 at /home/ivan/.julia/packages/Polymake/qn5DS/src/call_function.jl:46 [inlined]
 [3] disable_sigint at ./c.jl:446 [inlined]
 [4] call_method(::Type{Polymake.PropertyValue}, ::Polymake.BigObjectAllocated, ::Symbol; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/ivan/.julia/packages/Polymake/qn5DS/src/call_function.jl:45
 [5] call_method at /home/ivan/.julia/packages/Polymake/qn5DS/src/call_function.jl:43 [inlined]
 [6] #call_method#24 at /home/ivan/.julia/packages/Polymake/qn5DS/src/call_function.jl:51 [inlined]
 [7] call_method(::Polymake.BigObjectAllocated, ::Symbol) at /home/ivan/.julia/packages/Polymake/qn5DS/src/call_function.jl:51
 [8] top-level scope at In[7]:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions