mitch@mitch-laptop-mint ~/lib/NRP/gzweb $ ./deploy.sh -m local
Build a local model database.
Only local models.
Now using node v0.10.48 (npm v2.15.1)
npm WARN package.json gzweb@1.0.0 No license field.
./deploy.sh: line 80: bower: command not found
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- gzweb version 1.1.0
CMake Warning (dev) at CMakeLists.txt:23 (set):
Policy CMP0053 is not set: Simplify variable reference and escape sequence
evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
For input:
'@PROJECT_NAME@-@GZWEB_VERSION_FULL@'
the old evaluation rules produce:
'gzweb-1.1.0'
but the new evaluation rules produce:
'@PROJECT_NAME@-@GZWEB_VERSION_FULL@'
Using the old result for compatibility since the policy is not set.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Build type not selected: Release selected by default
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gazebo>=1.9.0'
-- Found gazebo, version 7.2.0.hbp.1.2.1
-- Checking for module 'jansson'
-- Found jansson, version 2.7
-- Checking for module 'gts'
-- Found gts, version 0.7.6
-- Boost version: 1.58.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- regex
-- thread
-- chrono
-- date_time
-- atomic
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Looking for tinyxml.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mitch/lib/NRP/gzweb/build
Scanning dependencies of target gzcoarse
[ 50%] Building CXX object tools/CMakeFiles/gzcoarse.dir/gzcoarse.cc.o
[100%] Linking CXX executable gzcoarse
[100%] Built target gzcoarse
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@0.10.48 | linux | x64
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/mitch/lib/NRP/gzweb/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/mitch/lib/NRP/gzweb/gzbridge/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/mitch/lib/NRP/gzweb/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/mitch/.node-gyp/0.10.48/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/mitch/.node-gyp/0.10.48',
gyp info spawn args '-Dnode_gyp_dir=/home/mitch/lib/NRP/gzweb/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/mitch/.node-gyp/0.10.48/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/mitch/lib/NRP/gzweb/gzbridge',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@0.10.48 | linux | x64
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/mitch/lib/NRP/gzweb/gzbridge/build'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/mitch/lib/NRP/gzweb/gzbridge/build'
gyp info ok
Gather all models on the local machine
copying local models to /home/mitch/lib/NRP/gzweb/http/client/assets
model path: [/home/mitch/.gazebo/models]
.overriding model /home/mitch/.gazebo/models/sun
.overriding model /home/mitch/.gazebo/models/ground_plane
local models transfered
copying local resources to /home/mitch/lib/NRP/gzweb/http/client/assets
resource path: [/home/mitch/miro/cache]
local resources transfered
Processing: /home/mitch/lib/NRP/gzweb/http/client/assets/media/materials/programs/deferred_rendering/deferred_lighting/ambient_psProcessing: /home/mitch/lib/NRP/gzweb/http/client/assets/media/materials/programs/deferred_rendering/deferred_shading/light_materProcessing: /home/mitch/lib/NRP/gzweb/http/client/assets/media/materials/programs/deferred_rendering/deferred_shading/ambient_ps.Processing: /home/mitch/lib/NRP/gzweb/http/client/assets/media/materials/programs/deferred_rendering/deferred_shading/ShadowCasteProcessing: /home/mitch/lib/NRP/gzweb/http/client/assets/media/materials/programs/deferred_rendering/deferred_shading/ShadowCasteProcessing: /home/mitch/lib/NRP/gzweb/http/client/assets/media/materials/programs/deferred_rendering/deferred_shading/light_materProcessing: /home/mitch/lib/NRP/gzweb/http/client/assets/materials/black.materialGenerating a thumbnail for each model. Make sure gazebo is not running
Creating thumbnail for ground_plane
gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::rendering::Scene; typename boost::detail::sp_member_access<T>::type = gazebo::rendering::Scene*]: Assertion `px != 0' failed.
./tools/gzthumbnails.sh: line 6: 13259 Aborted gzserver -s libModelPropShop.so $DIR/green.world --propshop-save "$ASSETS/${dir##*/}/thumbnails" --propshop-model "$ASSETS/${dir##*/}/noplugins.sdf"
convert: unable to open image `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/1.png': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: unable to open file `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/1.png' @ error/png.c/ReadPNGImage/3919.
convert: no images defined `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/0.png' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/0.png': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: unable to open file `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/0.png' @ error/png.c/ReadPNGImage/3919.
convert: no images defined `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/0.png' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/0.png': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: unable to open file `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails/0.png' @ error/png.c/ReadPNGImage/3919.
convert: image sequence is required `+clone' @ error/convert.c/ConvertImageCommand/967.
Creating thumbnail for materials
Creating thumbnail for media
Creating thumbnail for sun
gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::rendering::Scene; typename boost::detail::sp_member_access<T>::type = gazebo::rendering::Scene*]: Assertion `px != 0' failed.
./tools/gzthumbnails.sh: line 6: 13291 Aborted gzserver -s libModelPropShop.so $DIR/green.world --propshop-save "$ASSETS/${dir##*/}/thumbnails" --propshop-model "$ASSETS/${dir##*/}/noplugins.sdf"
convert: unable to open image `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/1.png': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: unable to open file `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/1.png' @ error/png.c/ReadPNGImage/3919.
convert: no images defined `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/0.png' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/0.png': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: unable to open file `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/0.png' @ error/png.c/ReadPNGImage/3919.
convert: no images defined `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/0.png' @ error/convert.c/ConvertImageCommand/3210.
convert: unable to open image `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/0.png': No such file or directory @ error/blob.c/OpenBlob/2712.
convert: unable to open file `/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/sun/thumbnails/0.png' @ error/png.c/ReadPNGImage/3919.
convert: image sequence is required `+clone' @ error/convert.c/ConvertImageCommand/967.
Done
mitch@mitch-laptop-mint ~/lib/NRP/gzweb $
I identified the command that is actually running, and run it directly:
mitch@mitch-laptop-mint ~/lib/NRP/gzweb $ gzserver -s libModelPropShop.so /home/mitch/lib/NRP/gzweb/tools/green.world --propshop-save /home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/thumbnails --propshop-model /home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/noplugins.sdf
Error: Unable to open file[/home/mitch/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/noplugins.sdf]
gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::rendering::Scene; typename boost::detail::sp_member_access<T>::type = gazebo::rendering::Scene*]: Assertion `px != 0' failed.
Aborted
mitch@mitch-laptop-mint ~/lib/NRP/gzweb $ ls ~/lib/NRP/gzweb/tools/../http/client/assets/ground_plane/
model-1_2.sdf model-1_3.sdf model-1_4.sdf model.config model.sdf thumbnails