Posts by MiCH

    Hi all,

    I have a problem with license.
    I insert the license on server with this command:

    krpanotool register xxxxxx

    If I launch from command line, it works, but if I launch from site, I see the watermark on image and when i clicked the key "o" to view the info, result registered, but i see always the watermark

    where is the problem?

    thanks a lot,
    MiCH

    Hi Karl,

    the sys admin say that segmentation fault comes by GLIBC 2.14.

    This the output:
    ./libffmpegsumo.so: /lib/libc.so.6: version `GLIBC_2.14' not found (required by ./libffmpegsumo.so)
    linux-vdso.so.1 => (0x00007fff175fe000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8662799000)
    libc.so.6 => /lib/libc.so.6 (0x00007f8662437000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f8662b84000)

    Is it really this the problem? The libraries GLIBC?

    The sys ask the correct procedure to install GLIBC.

    Can you help me?

    Cheers,
    MiCH

    Hi Karl,

    he tested in Debian and in Ubuntu and he make me a question regard a librairies hormis glibc.

    He ask me in which Linux distribution krpanotools is tested.


    This is the reply from the sys admin:

    nos admin unix ont testé la commande donnée sous Debian 7.8 (Wheezy, ldd (Debian EGLIBC 2.13-38+deb7u6) 2.13) et Ubuntu 14.04 (ldd (Ubuntu EGLIBC 2.19-0ubuntu6.5) 2.19), et obtiennent un segmentation fault à chaque fois. Avec quelles distributions ça a été testé et approuvé?

    Vous pouvez aussi essayer de lancer la version 32 bit pour voir ...

    Est-ce que le développeur peut indiquer ce qu'il faut comme librairies hormis glibc ?

    strace sur Debian 6 Squeeze :
    execve("./krpanotools", ["./krpanotools", "makepano", "-config=templates/vtour-normal.c"..., "R0010001.JPG"], [/ 18 vars /]) = 0
    brk(0) = 0xffc000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd558fd1000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd558fd0000
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd558fcf000
    arch_prctl(ARCH_SET_FS, 0x7fd558fd06a0) = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++


    Best regards,
    MiCH

    Hi all,

    I have this situation.

    Folder krpano. In this folder I have the krpanotools and one image for testing the tools.

    I launch this comand on server Linux (Debian GNU/Linux 6.0.10):

    ./krpanotools makepano -config=templates/vtour-normal.config R0010001.JPG
    and display this message:

    segmentation fault

    any idea?

    Many thanks,
    MiCH

    Hi all,

    I’m new in this forum and my english is not so good.

    I’m trying to use a command line for run krpanotools on server Linux but the result on log file is: “Not a folder”. I’ve follow the tutorial for Linux version.

    On my computer, with Mac OSX run without problem

    This is the code that i have found on this forum:

    $panotype = 0;
    $pathToPanoImg = public_path() . '/panoramic_images/' . $id_user . '/' . $id_object . '/*';

    $pn = ($panotype == 0 ? "3" : "2");


    ON MAC OSX:
    $cmd = public_path() . "/krpano/MAKE_VTOUR_MULTIRES_droplet.app/../krpanotools makepano -config=".public_path()."/krpano/MAKE_VTOUR_MULTIRES_droplet.app/../templates/vtour-multires.config $pathToPanoImg";

    ON LINUX SERVER:
    $cmd = public_path() . "/krpano/krpanotools makepano -config=".public_path()."/krpano/templates/vtour-multires.config $pathToPanoImg";

    $descriptorspec = array
    (
    0 => array("pipe", "r"), // stdin is a pipe that the child will read from
    1 => array("pipe", "w"), // stdout is a pipe that the child will write to
    2 => array("file", public_path() . "/tmp/error-output.txt", "a") // stderr is a file to write to
    );

    $process = proc_open($cmd, $descriptorspec, $pipes);

    if (is_resource($process)) {

    fwrite($pipes[0], "$pn\n");
    fwrite($pipes[0], "360\n");
    fclose($pipes[0]);

    $eOut = stream_get_contents($pipes[1]);

    fclose($pipes[1]);

    $status = proc_get_status($process);
    $pid = $status["pid"];

    $res = proc_close($process);
    }

    Where i wrong? *huh*

    Thank a lot for any help
    MiCH