Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Warning: Library :/script_system/space_math.j

Users
Manal
2012-04-27
2012-10-10
  • Manal
    Manal
    2012-04-27

    Hi,

    I am new to meshlabserver, and trying to run it from Fedora 16. I tried to
    compile the files from MeshLabSrc_AllInc_v131.tgz downloaded from your
    website, but had many problems, and then found the program downloadable from
    yum.

    I am calling it from shell script command line using the following arguments:

    /usr/bin/meshlabserver -i
    $HOME/proj/test/results.nvm.cmvs/00/models/option-0000.ply -o
    $HOME/proj/meshlab/test/test.ply -s $HOME/proj/meshlab/prepare.mlx -om vc vn
    fc ff fq fn wc

    I get this output:


    Input mesh /home/mhelal/proj/test/results.nvm.cmvs/00/models/option-0000.ply
    output mesh /home/mhelal/proj/meshlab/test/test.ply
    script /home/mhelal/proj/meshlab/prepare.mlx
    Output mask:
    vertex color, vertex normals, face color, face flags, face quality, face
    normals, wedge color, Loading Plugins:
    Current Plugins Dir is: /usr/lib/meshlab/plugins
    Warning: Library :/script_system/space_math.js has not been loaded.
    Code:
    function __mergeOptions(argOptions, defaultOptions)
    { var ret = { };
    argOptions = argOptions || { };
    for (var p in defaultOptions)
    ret

    = argOptions.hasOwnProperty(p) ? argOptions

    : defaultOptions

    ;
    return ret;
    }
    Plugins = { };

    Total 227 filtering actions
    Total 14 io plugins
    Opening a file with extention ply
    Mesh option-0000.ply loaded has 77222 vn 0 fn
    Apply FilterScript: '/home/mhelal/AR/reconD/4.meshlab/prepare.mlx'
    FilterScript
    Reading filter with name Surface Reconstruction: Poisson
    Reading Param with name OctDepth : RichInt
    Reading Param with name SolverDivide : RichInt
    Reading Param with name SamplesPerNode : RichFloat
    Reading Param with name Offset : RichFloat
    Reading filter with name Vertex Attribute Transfer
    Reading Param with name SourceMesh : RichMesh
    Reading Param with name TargetMesh : RichMesh
    Reading Param with name GeomTransfer : RichBool
    Reading Param with name NormalTransfer : RichBool
    Reading Param with name ColorTransfer : RichBool
    Reading Param with name QualityTransfer : RichBool
    Reading Param with name SelectionTransfer : RichBool
    Reading Param with name QualityDistance : RichBool
    Reading Param with name UpperBound : RichAbsPerc
    Starting Script of 2 actionsfilter: Surface Reconstruction: Poisson
    Samples: 77222
    Setting sample weights
    Adding Points and Normals
    Leaves/Nodes: 276669/316193
    Tree Size: 8.443 MB
    Leaves/Nodes: 264664/302473
    Leaves/Nodes: 266302/304345
    Depth: 1/10
    Matrix entries: 36 / 8^2 = 56.2500%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 2/10
    Matrix entries: 1404 / 64^2 = 34.2773%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 3/10
    Matrix entries: 7440 / 232^2 = 13.8228%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 4/10
    Matrix entries: 16971 / 528^2 = 6.0875%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 5/10
    Matrix entries: 45213 / 1280^2 = 2.7596%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 6/10
    Matrix entries: 117585 / 3224^2 = 1.1313%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 7/10
    Matrix entries: 259629 / 7376^2 = 0.4772%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 8/10
    Matrix entries: 851074 / 23752^2 = 0.1509%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 9/10
    Nodes: 6024
    Matrix entries: 238782 / 6024^2 = 0.6580%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 8888
    Matrix entries: 349946 / 8888^2 = 0.4430%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 13176
    Matrix entries: 488049 / 13176^2 = 0.2811%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 12336
    Matrix entries: 516187 / 12336^2 = 0.3392%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 9536
    Matrix entries: 361340 / 9536^2 = 0.3974%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 18072
    Matrix entries: 731034 / 18072^2 = 0.2238%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 14168
    Matrix entries: 500195 / 14168^2 = 0.2492%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 4576
    Matrix entries: 153945 / 4576^2 = 0.7352%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Depth: 10/10
    Nodes: 17464
    Matrix entries: 736776 / 17464^2 = 0.2416%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 23232
    Matrix entries: 983647 / 23232^2 = 0.1822%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 176
    Matrix entries: 5179 / 176^2 = 16.7194%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 30344
    Matrix entries: 1218102 / 30344^2 = 0.1323%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 30192
    Matrix entries: 1285362 / 30192^2 = 0.1410%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 4120
    Matrix entries: 158737 / 4120^2 = 0.9352%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 25016
    Matrix entries: 1016129 / 25016^2 = 0.1624%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 47616
    Matrix entries: 2000635 / 47616^2 = 0.0882%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 856
    Matrix entries: 27207 / 856^2 = 3.7131%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 28384
    Matrix entries: 1085271 / 28384^2 = 0.1347%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 2256
    Matrix entries: 82077 / 2256^2 = 1.6127%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    Nodes: 2336
    Matrix entries: 82163 / 2336^2 = 1.5057%
    Got / Solved / Updated in: 0.000 / 0.000 / 0.000
    IsoValue is 214.951003
    IsoValue is 214.951004


    Then, it doesn't return and hangs there for a long time (I waited a few
    minutes).

    I am not sure about the warning "Warning: Library
    :/script_system/space_math.js has not been loaded.", I can see the
    "script_system/space_math.js" in the downloaded MeshLabSrc_AllInc_v131.tgz in
    src/common, I tried to copy the folder to the /usr/bin and to the /use/lib
    where it can be found by the executables downloaded from yum, and no luck,

    can you please help resolve this problem, or advice on where to find help,

    thank you very much,

     
  • Hello. I was running Meshlabserver with a script doing decimation with poisson
    dik sampling (opening in ptx and saving in ply). everytime it runs it gives
    also the same error you got with "Current Plugins Dir is:
    /usr/lib/meshlab/plugins Warning: Library :/script_system/space_math.js has
    not been loaded.".
    I am running Meshlab 1.3.1 64bits in Windows 7 (downloaded straight from
    sourceforge).
    It is a problem of meshlabserver in this version, or something else?
    Is the missing space_math.js needed for poisson disk subsampling?
    Victor Ferreira