terminate called after throwing an instance of 'std::logic_error'

  • I upgraded my servers krpanotools today.. and my code is broken now.

    Command
    /////////////////////
    /home/xxx/krpanotools/krpanotools transform view 360_equi.jpg /home/seeit360/public_html/tmp/360_equi 0 0 0 70 -outsize=150x75
    /////////////////////

    Working Dir: /home/xxx/public_html/files2

    OUTPUT NEW KRPANOTOOLS
    /////////////////////
    krpano spheretocube 1.20.8 - 64bit (build 2020-09-15)
    loading inputimage ...
    terminate called after throwing an instance of 'std::logic_error'
    what(): basic_string::_S_construct null not valid
    Aborted
    /////////////////////


    OUTPUT OLD KRPANOTOOLS
    /////////////////////
    /home/xxx/krpanotools/krpanotools_old transform view 360_equi.jpg /home/xxx/public_html/tmp/360_equi 0 0 0 70 -outsize=150x75

    ktransform 1.19 Pre Release 4 - 64bit (build 2016-04-07)
    loading inputimage ...
    done. (input imagesize 12000x6000)
    making view... 150x75
    done.
    /////////////////////


    ****EDIT GOT IT WORKING EDIT******
    Looks like the syntax was updated to
    /home/xxx/krpanotools/krpanotools spheretocube view360_equi.jpg /home/xxx/public_html/tmp/360_equi -fov=70 -outsize=150x75

  • Hi,

    thanks for reporting!

    Right the syntax was been changed, but the old syntax is also still supported. Unfortunately there was a small bug in the argument parsing in the old-syntax case. Will be fixed in 1.20.9.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!