minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

Unable to run 'python3 main.py --env_type indoor --env_name pointgoal_suncg_se' #150

Closed jsdd25 closed 5 years ago

jsdd25 commented 5 years ago

Hi,

I have downloaded SUNCG in $HOME/work/suncg and tried to run MINOS with python3 main.py --env_type indoor --env_name pointgoal_suncg_se. After I run that command, the following errors occur consecutively: 2019-01-29 14:05:42,802 WARNING localhost:43317/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=43317): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1548741942799-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c1d93ec50>: Failed to establish a new connection: [Errno 111] Connection refused',))

I am using 0.6.0 branch. My platform is Linux - Ubuntu 16.04 LTS with Python 3.6.4 |Anaconda custom (64-bit). The socketio version is socketIO-client-2 0.7.4 and websocket-client 0.54.0. Node version: 'v10.13.0'. Npm version: '6.4.1'.

here is my logs/sim01/ simserver.logs file status. kindly guide me what to do...

2019-01-29 13:51:38,115 INFO b'Configuration { fileCache: { size: 50 },'
2019-01-29 13:51:38,115 INFO b'  imageCache: { size: 200 },'
2019-01-29 13:51:38,115 INFO b'  imageQueue: { concurrency: 4 },'
2019-01-29 13:51:38,115 INFO b"  base_url: '/home/jin/work/',"
2019-01-29 13:51:38,115 INFO b'  assets_url:'
2019-01-29 13:51:38,116 INFO b"   'file:///home/jin/minos-0.6.0/minos/server/node_modules/sstk/ssc/../server/static' }"
2019-01-29 13:51:38,260 INFO b'Waiting for client connection on port 21010'
2019-01-29 13:51:38,271 ERROR b'Cannot register unknown asset 2d3ds'
2019-01-29 13:51:38,271 INFO b'register ../server/static/data/matterport/matterport3d.json'
2019-01-29 13:51:38,273 INFO b'Registered asset group: mp3d'
2019-01-29 13:51:38,275 INFO b'Got 90 assets'
2019-01-29 13:51:38,317 INFO b'register ../server/static/data/suncg/suncg.planner5d.models.json'
2019-01-29 13:51:38,317 INFO b'Replace asset group p5d'
2019-01-29 13:51:38,317 INFO b'Registered asset group: p5d'
2019-01-29 13:51:38,373 INFO b'Got 2623 assets'
2019-01-29 13:51:38,950 INFO b'Loaded lightSpecs for 202 models.'
2019-01-29 13:51:38,950 INFO b'register ../server/static/data/suncg/suncg.planner5d.textures.json'
2019-01-29 13:51:38,952 INFO b'Replace asset group p5dTexture'
2019-01-29 13:51:38,952 INFO b'Registered asset group: p5dTexture'
2019-01-29 13:51:39,122 INFO b'Got 67072 assets'
2019-01-29 13:51:39,241 INFO b'Client L9VJMWWPlLZ9nV6kAAAA connected on port 21010'
2019-01-29 13:51:39,312 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,313 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,313 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,313 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,313 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,313 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,322 INFO b"Creating Simulator with options { simulator: 'room_simulator',"
2019-01-29 13:51:39,322 INFO b'  numSimulators: 1,'
2019-01-29 13:51:39,322 INFO b"  modalities: [ 'color', 'measurements' ],"
2019-01-29 13:51:39,322 INFO b"  outputs: [ 'color', 'measurements', 'rewards', 'terminals' ],"
2019-01-29 13:51:39,322 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,322 INFO b'  frameSkip: 1,'
2019-01-29 13:51:39,322 INFO b"  host: 'localhost',"
2019-01-29 13:51:39,322 INFO b'  logActionTrace: false,'
2019-01-29 13:51:39,322 INFO b'  autoStart: true,'
2019-01-29 13:51:39,322 INFO b"  collisionDetection: { mode: 'navgrid' },"
2019-01-29 13:51:39,322 INFO b'  navmap:'
2019-01-29 13:51:39,323 INFO b'   { refineGrid: true,'
2019-01-29 13:51:39,323 INFO b'     autoUpdate: true,'
2019-01-29 13:51:39,323 INFO b'     allowDiagonalMoves: true,'
2019-01-29 13:51:39,323 INFO b'     reverseEdgeOrder: false },'
2019-01-29 13:51:39,323 INFO b"  rewardType: 'dist_time',"
2019-01-29 13:51:39,323 INFO b'  observations:'
2019-01-29 13:51:39,323 INFO b'   { color: true,'
2019-01-29 13:51:39,323 INFO b'     forces: false,'
2019-01-29 13:51:39,323 INFO b'     audio: false,'
2019-01-29 13:51:39,323 INFO b'     objects: false,'
2019-01-29 13:51:39,323 INFO b'     depth: false,'
2019-01-29 13:51:39,323 INFO b'     map: false,'
2019-01-29 13:51:39,323 INFO b'     rgb: true,'
2019-01-29 13:51:39,323 INFO b'     normal: false,'
2019-01-29 13:51:39,323 INFO b'     objectType: false,'
2019-01-29 13:51:39,323 INFO b'     objectId: false,'
2019-01-29 13:51:39,323 INFO b'     roomType: false,'
2019-01-29 13:51:39,323 INFO b'     roomId: false },'
2019-01-29 13:51:39,323 INFO b"  colorEncoding: 'rgba',"
2019-01-29 13:51:39,323 INFO b'  scene:'
2019-01-29 13:51:39,323 INFO b'   { archOnly: false,'
2019-01-29 13:51:39,323 INFO b'     retexture: true,'
2019-01-29 13:51:39,323 INFO b'     emptyRoom: true,'
2019-01-29 13:51:39,323 INFO b"     dataset: 'p5dScene',"
2019-01-29 13:51:39,323 INFO b'     replaceModels:'
2019-01-29 13:51:39,323 INFO b"      { '73': '73_2',"
2019-01-29 13:51:39,323 INFO b"        '122': '122_2',"
2019-01-29 13:51:39,323 INFO b"        '133': '133_2',"
2019-01-29 13:51:39,323 INFO b"        '214': '214_2',"
2019-01-29 13:51:39,323 INFO b"        '246': '246_2',"
2019-01-29 13:51:39,323 INFO b"        '247': '247_2',"
2019-01-29 13:51:39,323 INFO b"        '326': '327',"
2019-01-29 13:51:39,324 INFO b"        '331': '327',"
2019-01-29 13:51:39,324 INFO b"        '502': '502_2',"
2019-01-29 13:51:39,324 INFO b"        '622': '625',"
2019-01-29 13:51:39,324 INFO b"        '756': '756_2',"
2019-01-29 13:51:39,324 INFO b"        '757': '757_2',"
2019-01-29 13:51:39,324 INFO b"        '758': '758_2',"
2019-01-29 13:51:39,324 INFO b"        '759': '759_2',"
2019-01-29 13:51:39,324 INFO b"        '760': '760_2',"
2019-01-29 13:51:39,324 INFO b"        '761': '761_2',"
2019-01-29 13:51:39,324 INFO b"        '762': '762_2',"
2019-01-29 13:51:39,324 INFO b"        '763': '763_2',"
2019-01-29 13:51:39,324 INFO b"        '764': '764_2',"
2019-01-29 13:51:39,324 INFO b"        '768': '768_2',"
2019-01-29 13:51:39,324 INFO b"        '769': '769_2',"
2019-01-29 13:51:39,324 INFO b"        '770': '770_2',"
2019-01-29 13:51:39,324 INFO b"        s1762: 's__1762_2',"
2019-01-29 13:51:39,324 INFO b"        s1763: 's__1763_2',"
2019-01-29 13:51:39,324 INFO b"        s1764: 's__1764_2',"
2019-01-29 13:51:39,324 INFO b"        s1765: 's__1765_2',"
2019-01-29 13:51:39,324 INFO b"        s1766: 's__1766_2',"
2019-01-29 13:51:39,324 INFO b"        s1767: 's__1767_2',"
2019-01-29 13:51:39,324 INFO b"        s1768: 's__1768_2',"
2019-01-29 13:51:39,324 INFO b"        s1769: 's__1769_2',"
2019-01-29 13:51:39,324 INFO b"        s1770: 's__1770_2',"
2019-01-29 13:51:39,324 INFO b"        s1771: 's__1771_2',"
2019-01-29 13:51:39,324 INFO b"        s1772: 's__1772_2',"
2019-01-29 13:51:39,324 INFO b"        s1773: 's__1773_2' },"
2019-01-29 13:51:39,324 INFO b"     defaultModelFormat: 'obj',"
2019-01-29 13:51:39,324 INFO b"     defaultSceneFormat: 'suncg' },"
2019-01-29 13:51:39,324 INFO b"  config: '',"
2019-01-29 13:51:39,324 INFO b"  colorMode: 'GRAY',"
2019-01-29 13:51:39,324 INFO b"  maps: [ 'MAP01' ],"
2019-01-29 13:51:39,324 INFO b'  switchMaps: false,'
2019-01-29 13:51:39,325 INFO b"  gameArgs: '',"
2019-01-29 13:51:39,325 INFO b"  task: 'point_goal',"
2019-01-29 13:51:39,325 INFO b"  goal: { type: 'position', position: 'random', radius: 0.25 },"
2019-01-29 13:51:39,325 INFO b'  scenesFile:'
2019-01-29 13:51:39,325 INFO b"   '/home/jin/minos-0.6.0/minos/config/../data/scenes.multiroom.csv',"
2019-01-29 13:51:39,325 INFO b'  statesFile:'
2019-01-29 13:51:39,325 INFO b"   '/home/jin/minos-0.6.0/minos/config/../data/episode_states.suncg.csv.bz2',"
2019-01-29 13:51:39,325 INFO b'  roomtypesFile:'
2019-01-29 13:51:39,325 INFO b"   '/home/jin/minos-0.6.0/minos/config/../data/roomTypes.suncg.csv',"
2019-01-29 13:51:39,325 INFO b'  numEpisodesPerRestart: 1000,'
2019-01-29 13:51:39,325 INFO b'  numEpisodesPerScene: 10,'
2019-01-29 13:51:39,325 INFO b'  maxStatesPerScene: 1,'
2019-01-29 13:51:39,325 INFO b'  episodesPerSceneTest: 1,'
2019-01-29 13:51:39,325 INFO b'  episodesPerSceneTrain: 10,'
2019-01-29 13:51:39,325 INFO b"  episodeSchedule: 'train',"
2019-01-29 13:51:39,325 INFO b"  nonserializable: [ 'measure_fun', 'scene_filter', 'episode_filter' ],"
2019-01-29 13:51:39,325 INFO b'  agent: { radialClearance: 0.2 },'
2019-01-29 13:51:39,325 INFO b'  objectiveSize: 4,'
2019-01-29 13:51:39,325 INFO b"  logdir: './logs/sim02',"
2019-01-29 13:51:39,325 INFO b"  id: 'sim02',"
2019-01-29 13:51:39,325 INFO b"  simPath: '/home/jin/minos-0.6.0/minos/lib/../',"
2019-01-29 13:51:39,325 INFO b"  nodeBaseUrl: '/home/jin/work/',"
2019-01-29 13:51:39,325 INFO b'  port: 21010,'
2019-01-29 13:51:39,325 INFO b'  audio:'
2019-01-29 13:51:39,325 INFO b'   { port: 32809,'
2019-01-29 13:51:39,325 INFO b"     datapath: 'data/wav',"
2019-01-29 13:51:39,325 INFO b"     wallpath: '/home/jin/work/suncg/wall' },"
2019-01-29 13:51:39,325 INFO b'  width: 84,'
2019-01-29 13:51:39,325 INFO b'  height: 84,'
2019-01-29 13:51:39,325 INFO b"  sensorsConfig: '../config/sensors.yml',"
2019-01-29 13:51:39,325 INFO b"  outputDir: '/home/jin/minos-0.6.0/logs/sim02',"
2019-01-29 13:51:39,325 INFO b'  semanticEncodings:'
2019-01-29 13:51:39,325 INFO b'   { roomType: { mapping: [Object], maxIndex: 8, defaultIndex: 0 } },'
2019-01-29 13:51:39,325 INFO b'  sensors:'
2019-01-29 13:51:39,326 INFO b"   [ { name: 'group',"
2019-01-29 13:51:39,326 INFO b"       type: 'group',"
2019-01-29 13:51:39,326 INFO b'       modes: [Array],'
2019-01-29 13:51:39,326 INFO b'       near: 0.001,'
2019-01-29 13:51:39,326 INFO b'       far: 20,'
2019-01-29 13:51:39,326 INFO b'       fov: 45,'
2019-01-29 13:51:39,326 INFO b"       configuration: 'positional',"
2019-01-29 13:51:39,326 INFO b'       position: [Array],'
2019-01-29 13:51:39,326 INFO b'       orientation: [Array],'
2019-01-29 13:51:39,326 INFO b'       resolution: [Array],'
2019-01-29 13:51:39,326 INFO b'       resize: true,'
2019-01-29 13:51:39,326 INFO b'       active: true },'
2019-01-29 13:51:39,326 INFO b"     { name: 'depth',"
2019-01-29 13:51:39,326 INFO b"       type: 'depth',"
2019-01-29 13:51:39,326 INFO b"       configuration: 'positional',"
2019-01-29 13:51:39,326 INFO b'       position: [Array],'
2019-01-29 13:51:39,326 INFO b'       orientation: [Array],'
2019-01-29 13:51:39,326 INFO b'       resolution: [Array],'
2019-01-29 13:51:39,326 INFO b'       resize: true,'
2019-01-29 13:51:39,326 INFO b"       encoding: 'depth',"
2019-01-29 13:51:39,326 INFO b"       datatype: 'float32',"
2019-01-29 13:51:39,326 INFO b'       near: 0.1,'
2019-01-29 13:51:39,326 INFO b'       far: 20,'
2019-01-29 13:51:39,326 INFO b'       fov: 45,'
2019-01-29 13:51:39,326 INFO b'       metersToUnit: 1,'
2019-01-29 13:51:39,326 INFO b'       noise_model: [Object],'
2019-01-29 13:51:39,326 INFO b'       noise: false,'
2019-01-29 13:51:39,326 INFO b'       active: true },'
2019-01-29 13:51:39,326 INFO b"     { name: 'audio',"
2019-01-29 13:51:39,326 INFO b"       type: 'audio',"
2019-01-29 13:51:39,326 INFO b"       configuration: 'radial',"
2019-01-29 13:51:39,326 INFO b'       position: [Array],'
2019-01-29 13:51:39,326 INFO b'       orientation: [Array],'
2019-01-29 13:51:39,327 INFO b'       resolution: [Array],'
2019-01-29 13:51:39,327 INFO b"       encoding: 'pcm',"
2019-01-29 13:51:39,327 INFO b'       active: true },'
2019-01-29 13:51:39,327 INFO b"     { name: 'force',"
2019-01-29 13:51:39,327 INFO b"       type: 'force',"
2019-01-29 13:51:39,327 INFO b"       configuration: 'radial-group',"
2019-01-29 13:51:39,327 INFO b'       position: [Array],'
2019-01-29 13:51:39,327 INFO b'       orientation: [Array],'
2019-01-29 13:51:39,327 INFO b'       radial: [Array],'
2019-01-29 13:51:39,327 INFO b'       resolution: [Array],'
2019-01-29 13:51:39,327 INFO b"       encoding: 'raw_contact',"
2019-01-29 13:51:39,327 INFO b'       active: true } ],'
2019-01-29 13:51:39,327 INFO b"  start: 'random',"
2019-01-29 13:51:39,327 INFO b'  unit: 1,'
2019-01-29 13:51:39,327 INFO b'  timeStep: 0.1,'
2019-01-29 13:51:39,327 INFO b'  assetCacheSize: 100,'
2019-01-29 13:51:39,327 INFO b'  useSky: true }'
2019-01-29 13:51:39,330 INFO b"modeConfig { name: 'color',"
2019-01-29 13:51:39,330 INFO b"  type: 'color',"
2019-01-29 13:51:39,330 INFO b"  renderer: 'main',"
2019-01-29 13:51:39,330 INFO b"  encoding: 'gray',"
2019-01-29 13:51:39,330 INFO b'  near: 0.001,'
2019-01-29 13:51:39,330 INFO b'  far: 20,'
2019-01-29 13:51:39,330 INFO b'  fov: 45,'
2019-01-29 13:51:39,330 INFO b"  configuration: 'positional',"
2019-01-29 13:51:39,330 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-01-29 13:51:39,330 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-01-29 13:51:39,330 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,330 INFO b'  resize: true,'
2019-01-29 13:51:39,330 INFO b'  active: true }'
2019-01-29 13:51:39,331 ERROR b'[sensors] colorEncoding rgba is set, overriding encoding gray'
2019-01-29 13:51:39,331 INFO b"modeConfig { name: 'objectId',"
2019-01-29 13:51:39,331 INFO b"  type: 'semantic',"
2019-01-29 13:51:39,332 INFO b"  encoding: 'objectId',"
2019-01-29 13:51:39,332 INFO b'  countPixels: true,'
2019-01-29 13:51:39,332 INFO b'  near: 0.001,'
2019-01-29 13:51:39,332 INFO b'  far: 20,'
2019-01-29 13:51:39,332 INFO b'  fov: 45,'
2019-01-29 13:51:39,332 INFO b"  configuration: 'positional',"
2019-01-29 13:51:39,332 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-01-29 13:51:39,332 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-01-29 13:51:39,332 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,332 INFO b'  resize: true,'
2019-01-29 13:51:39,332 INFO b'  active: true }'
2019-01-29 13:51:39,332 INFO b"Creating new renderer objectId { configSet: 'simple',"
2019-01-29 13:51:39,332 INFO b'  isOffscreen: true,'
2019-01-29 13:51:39,332 INFO b'  useAmbientOcclusion: false,'
2019-01-29 13:51:39,332 INFO b'  useLights: false,'
2019-01-29 13:51:39,332 INFO b'  useShadows: false,'
2019-01-29 13:51:39,332 INFO b'  width: 84,'
2019-01-29 13:51:39,332 INFO b'  height: 84,'
2019-01-29 13:51:39,332 INFO b'  reuseBuffers: true }'
2019-01-29 13:51:39,338 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,338 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,338 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,338 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,338 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,338 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,340 INFO b"modeConfig { name: 'objectType',"
2019-01-29 13:51:39,340 INFO b"  type: 'semantic',"
2019-01-29 13:51:39,340 INFO b"  encoding: 'objectType',"
2019-01-29 13:51:39,340 INFO b'  near: 0.001,'
2019-01-29 13:51:39,340 INFO b'  far: 20,'
2019-01-29 13:51:39,340 INFO b'  fov: 45,'
2019-01-29 13:51:39,340 INFO b"  configuration: 'positional',"
2019-01-29 13:51:39,340 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-01-29 13:51:39,340 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-01-29 13:51:39,340 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,340 INFO b'  resize: true,'
2019-01-29 13:51:39,340 INFO b'  active: true }'
2019-01-29 13:51:39,340 INFO b"Creating new renderer objectType { configSet: 'simple',"
2019-01-29 13:51:39,340 INFO b'  isOffscreen: true,'
2019-01-29 13:51:39,340 INFO b'  useAmbientOcclusion: false,'
2019-01-29 13:51:39,340 INFO b'  useLights: false,'
2019-01-29 13:51:39,340 INFO b'  useShadows: false,'
2019-01-29 13:51:39,340 INFO b'  width: 84,'
2019-01-29 13:51:39,340 INFO b'  height: 84,'
2019-01-29 13:51:39,340 INFO b'  reuseBuffers: true }'
2019-01-29 13:51:39,356 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,356 INFO b"modeConfig { name: 'roomId',"
2019-01-29 13:51:39,356 INFO b"  type: 'semantic',"
2019-01-29 13:51:39,356 INFO b"  encoding: 'roomId',"
2019-01-29 13:51:39,356 INFO b'  near: 0.001,'
2019-01-29 13:51:39,356 INFO b'  far: 20,'
2019-01-29 13:51:39,356 INFO b'  fov: 45,'
2019-01-29 13:51:39,356 INFO b"  configuration: 'positional',"
2019-01-29 13:51:39,357 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-01-29 13:51:39,357 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-01-29 13:51:39,357 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,357 INFO b'  resize: true,'
2019-01-29 13:51:39,357 INFO b'  active: true }'
2019-01-29 13:51:39,357 INFO b"Creating new renderer roomId { configSet: 'simple',"
2019-01-29 13:51:39,357 INFO b'  isOffscreen: true,'
2019-01-29 13:51:39,357 INFO b'  useAmbientOcclusion: false,'
2019-01-29 13:51:39,357 INFO b'  useLights: false,'
2019-01-29 13:51:39,357 INFO b'  useShadows: false,'
2019-01-29 13:51:39,357 INFO b'  width: 84,'
2019-01-29 13:51:39,357 INFO b'  height: 84,'
2019-01-29 13:51:39,357 INFO b'  reuseBuffers: true }'
2019-01-29 13:51:39,357 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,357 INFO b"modeConfig { name: 'roomType',"
2019-01-29 13:51:39,357 INFO b"  type: 'semantic',"
2019-01-29 13:51:39,357 INFO b"  encoding: 'roomType',"
2019-01-29 13:51:39,357 INFO b'  near: 0.001,'
2019-01-29 13:51:39,357 INFO b'  far: 20,'
2019-01-29 13:51:39,357 INFO b'  fov: 45,'
2019-01-29 13:51:39,357 INFO b"  configuration: 'positional',"
2019-01-29 13:51:39,357 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-01-29 13:51:39,357 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-01-29 13:51:39,357 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,357 INFO b'  resize: true,'
2019-01-29 13:51:39,357 INFO b'  active: true }'
2019-01-29 13:51:39,357 INFO b"Creating new renderer roomType { configSet: 'simple',"
2019-01-29 13:51:39,357 INFO b'  isOffscreen: true,'
2019-01-29 13:51:39,357 INFO b'  useAmbientOcclusion: false,'
2019-01-29 13:51:39,358 INFO b'  useLights: false,'
2019-01-29 13:51:39,358 INFO b'  useShadows: false,'
2019-01-29 13:51:39,358 INFO b'  width: 84,'
2019-01-29 13:51:39,358 INFO b'  height: 84,'
2019-01-29 13:51:39,358 INFO b'  reuseBuffers: true }'
2019-01-29 13:51:39,358 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,360 INFO b"modeConfig { name: 'normal',"
2019-01-29 13:51:39,360 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,365 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,365 INFO b"  type: 'normal',"
2019-01-29 13:51:39,365 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,365 INFO b"  encoding: 'xyza',"
2019-01-29 13:51:39,365 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,366 INFO b'  near: 0.001,'
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,366 INFO b'  far: 20,'
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,366 INFO b'  fov: 45,'
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,366 INFO b"  configuration: 'positional',"
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,366 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,366 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,366 INFO b'  resolution: [ 84, 84 ],'
2019-01-29 13:51:39,366 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,366 INFO b'  resize: true,'
2019-01-29 13:51:39,367 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,367 INFO b'  active: true }'
2019-01-29 13:51:39,369 INFO b"Creating new renderer normal { configSet: 'simple',"
2019-01-29 13:51:39,369 INFO b'  isOffscreen: true,'
2019-01-29 13:51:39,369 INFO b'  useAmbientOcclusion: false,'
2019-01-29 13:51:39,369 INFO b'  useLights: false,'
2019-01-29 13:51:39,369 INFO b'  useShadows: false,'
2019-01-29 13:51:39,369 INFO b'  width: 84,'
2019-01-29 13:51:39,369 INFO b'  height: 84,'
2019-01-29 13:51:39,369 INFO b'  reuseBuffers: true }'
2019-01-29 13:51:39,367 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,372 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,372 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,375 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,375 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,375 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,375 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,375 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,376 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,376 INFO b"Creating new renderer depth { configSet: 'simple',"
2019-01-29 13:51:39,376 INFO b'  isOffscreen: true,'
2019-01-29 13:51:39,376 INFO b'  useAmbientOcclusion: false,'
2019-01-29 13:51:39,376 INFO b'  useLights: false,'
2019-01-29 13:51:39,376 INFO b'  useShadows: false,'
2019-01-29 13:51:39,376 INFO b'  width: 84,'
2019-01-29 13:51:39,376 INFO b'  height: 84,'
2019-01-29 13:51:39,377 INFO b'  reuseBuffers: true }'
2019-01-29 13:51:39,381 INFO b'THREE.WebGLRenderer 84'
2019-01-29 13:51:39,381 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-01-29 13:51:39,395 INFO b'Seeding simulator rng with 12114895'
2019-01-29 13:51:39,395 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-01-29 13:51:39,397 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-01-29 13:51:39,397 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-01-29 13:51:39,397 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-01-29 13:51:39,397 INFO b'starting memory= { rss: 189353984,'
2019-01-29 13:51:39,397 INFO b'  heapTotal: 118910976,'
2019-01-29 13:51:39,397 INFO b'  heapUsed: 86579024,'
2019-01-29 13:51:39,398 INFO b'  external: 353577 }'
2019-01-29 13:51:39,398 INFO b'preloadData { loadSceneStatistics: true, loadSounds: false }'
2019-01-29 13:51:39,407 INFO b'Loaded LightSpecs for 202 models'
2019-01-29 13:51:39,413 INFO b'imported relation indices'
2019-01-29 13:51:40,184 INFO b'imported relation counts'
2019-01-29 13:51:40,184 INFO b'importRelationCsvs: 784.473ms'
2019-01-29 13:51:41,265 INFO b'imported material indices'
2019-01-29 13:51:43,321 INFO b'imported material counts'
2019-01-29 13:51:43,322 INFO b'Removing subscribers for event ready [ 0 ]'
2019-01-29 13:51:43,322 INFO b'importMaterialCsvs: 3922.806ms'
2019-01-29 13:51:43,325 INFO b'Loading scene  p5dScene.40666d3bde3d0c0dba48550a5e24314a'
2019-01-29 13:51:43,342 ERROR b'/home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108260'
2019-01-29 13:51:43,342 ERROR b'\t  if (this.opts.scene && this.opts.scene.fullId.startsWith("mp3d")) {'
2019-01-29 13:51:43,342 ERROR b'\t                                                ^'
2019-01-29 13:51:43,342 ERROR b''
2019-01-29 13:51:43,342 ERROR b"TypeError: Cannot read property 'startsWith' of undefined"
2019-01-29 13:51:43,342 ERROR b'    at Simulator.__loadScene (/home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108260:50)'
2019-01-29 13:51:43,342 ERROR b'    at /home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108212:14'
2019-01-29 13:51:43,342 ERROR b'    at /home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108133:8'
2019-01-29 13:51:43,342 ERROR b'    at /home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:39080:17'
2019-01-29 13:51:43,342 ERROR b'    at next (/home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:43936:30)'
2019-01-29 13:51:43,342 ERROR b'    at /home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:39576:17'
2019-01-29 13:51:43,342 ERROR b'    at Timeout._onTimeout (/home/jin/minos-0.6.0/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108129:35)'
2019-01-29 13:51:43,343 ERROR b'    at ontimeout (timers.js:436:11)'
2019-01-29 13:51:43,343 ERROR b'    at tryOnTimeout (timers.js:300:5)'
2019-01-29 13:51:43,343 ERROR b'    at listOnTimeout (timers.js:263:5)'
2019-01-29 13:51:43,396 INFO Finished simserver stderr
2019-01-29 13:51:43,396 INFO Finished simserver stdout

Please help me out here. Many thanks once again!

angelxuanchang commented 5 years ago

Thanks for reporting this issue. We have made a small fix. Please try again by refreshing the sstk modules in the minos/server directory

cd minos/server
rm package-lock.json
rm -rf node_modules/sstk
npm install
jsdd25 commented 5 years ago

Thanks @angelxuanchang . I have followed your instructions. However, it didn't work. here is my logs/sim01/ simserver.logs file status. kindly guide me what to do...

2019-02-01 18:43:50,968 INFO b'Configuration { fileCache: { size: 50 },'
2019-02-01 18:43:50,968 INFO b'  imageCache: { size: 200 },'
2019-02-01 18:43:50,968 INFO b'  imageQueue: { concurrency: 4 },'
2019-02-01 18:43:50,968 INFO b"  base_url: '/home/jin/work/',"
2019-02-01 18:43:50,968 INFO b'  assets_url:'
2019-02-01 18:43:50,968 INFO b"   'file:///home/jin/minos/minos/server/node_modules/sstk/ssc/../server/static' }"
2019-02-01 18:43:51,123 INFO b'Waiting for client connection on port 45186'
2019-02-01 18:43:51,134 ERROR b'Cannot register unknown asset 2d3ds'
2019-02-01 18:43:51,135 INFO b'register ../server/static/data/matterport/matterport3d.json'
2019-02-01 18:43:51,136 INFO b'Registered asset group: mp3d'
2019-02-01 18:43:51,139 INFO b'Got 90 assets'
2019-02-01 18:43:51,182 INFO b'register ../server/static/data/suncg/suncg.planner5d.models.json'
2019-02-01 18:43:51,182 INFO b'Replace asset group p5d'
2019-02-01 18:43:51,182 INFO b'Registered asset group: p5d'
2019-02-01 18:43:51,235 INFO b'Got 2623 assets'
2019-02-01 18:43:51,800 INFO b'Loaded lightSpecs for 202 models.'
2019-02-01 18:43:51,801 INFO b'register ../server/static/data/suncg/suncg.planner5d.textures.json'
2019-02-01 18:43:51,803 INFO b'Replace asset group p5dTexture'
2019-02-01 18:43:51,803 INFO b'Registered asset group: p5dTexture'
2019-02-01 18:43:52,007 INFO b'Got 67072 assets'
2019-02-01 18:43:52,140 INFO b'Client 5JDPFwye7JyizwxSAAAA connected on port 45186'
2019-02-01 18:43:52,142 INFO b'Loaded LightSpecs for 202 models'
2019-02-01 18:43:52,261 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,261 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,261 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,261 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,262 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,262 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,268 INFO b"Creating Simulator with options { simulator: 'room_simulator',"
2019-02-01 18:43:52,268 INFO b'  numSimulators: 1,'
2019-02-01 18:43:52,268 INFO b"  modalities: [ 'color', 'measurements' ],"
2019-02-01 18:43:52,268 INFO b"  outputs: [ 'color', 'measurements', 'rewards', 'terminals' ],"
2019-02-01 18:43:52,268 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,268 INFO b'  frameSkip: 1,'
2019-02-01 18:43:52,269 INFO b"  host: 'localhost',"
2019-02-01 18:43:52,269 INFO b'  logActionTrace: false,'
2019-02-01 18:43:52,269 INFO b'  autoStart: true,'
2019-02-01 18:43:52,269 INFO b"  collisionDetection: { mode: 'navgrid' },"
2019-02-01 18:43:52,269 INFO b'  navmap:'
2019-02-01 18:43:52,269 INFO b'   { refineGrid: true,'
2019-02-01 18:43:52,269 INFO b'     autoUpdate: true,'
2019-02-01 18:43:52,269 INFO b'     allowDiagonalMoves: true,'
2019-02-01 18:43:52,269 INFO b'     reverseEdgeOrder: false },'
2019-02-01 18:43:52,270 INFO b"  rewardType: 'dist_time',"
2019-02-01 18:43:52,270 INFO b'  observations:'
2019-02-01 18:43:52,270 INFO b'   { color: true,'
2019-02-01 18:43:52,270 INFO b'     forces: false,'
2019-02-01 18:43:52,270 INFO b'     audio: false,'
2019-02-01 18:43:52,270 INFO b'     normal: false,'
2019-02-01 18:43:52,270 INFO b'     depth: false,'
2019-02-01 18:43:52,270 ERROR b'[sensors] colorEncoding rgba is set, overriding encoding gray'
2019-02-01 18:43:52,271 INFO b'     objectId: false,'
2019-02-01 18:43:52,271 INFO b'     objectType: false,'
2019-02-01 18:43:52,271 INFO b'     roomType: false,'
2019-02-01 18:43:52,271 INFO b'     roomId: false,'
2019-02-01 18:43:52,271 INFO b'     map: false,'
2019-02-01 18:43:52,271 INFO b'     rgb: true },'
2019-02-01 18:43:52,271 INFO b"  colorEncoding: 'rgba',"
2019-02-01 18:43:52,271 INFO b'  scene:'
2019-02-01 18:43:52,271 INFO b'   { archOnly: false,'
2019-02-01 18:43:52,271 INFO b'     retexture: true,'
2019-02-01 18:43:52,271 INFO b'     emptyRoom: true,'
2019-02-01 18:43:52,271 INFO b"     dataset: 'p5dScene',"
2019-02-01 18:43:52,271 INFO b'     replaceModels:'
2019-02-01 18:43:52,271 INFO b"      { '73': '73_2',"
2019-02-01 18:43:52,271 INFO b"        '122': '122_2',"
2019-02-01 18:43:52,271 INFO b"        '133': '133_2',"
2019-02-01 18:43:52,271 INFO b"        '214': '214_2',"
2019-02-01 18:43:52,271 INFO b"        '246': '246_2',"
2019-02-01 18:43:52,271 INFO b"        '247': '247_2',"
2019-02-01 18:43:52,272 INFO b"        '326': '327',"
2019-02-01 18:43:52,272 INFO b"        '331': '327',"
2019-02-01 18:43:52,272 INFO b"        '502': '502_2',"
2019-02-01 18:43:52,272 INFO b"        '622': '625',"
2019-02-01 18:43:52,272 INFO b"        '756': '756_2',"
2019-02-01 18:43:52,272 INFO b"        '757': '757_2',"
2019-02-01 18:43:52,272 INFO b"        '758': '758_2',"
2019-02-01 18:43:52,272 INFO b"        '759': '759_2',"
2019-02-01 18:43:52,272 INFO b"        '760': '760_2',"
2019-02-01 18:43:52,272 INFO b"        '761': '761_2',"
2019-02-01 18:43:52,272 INFO b"        '762': '762_2',"
2019-02-01 18:43:52,272 INFO b"        '763': '763_2',"
2019-02-01 18:43:52,272 INFO b"        '764': '764_2',"
2019-02-01 18:43:52,272 INFO b"        '768': '768_2',"
2019-02-01 18:43:52,272 INFO b"        '769': '769_2',"
2019-02-01 18:43:52,272 INFO b"        '770': '770_2',"
2019-02-01 18:43:52,272 INFO b"        s1762: 's__1762_2',"
2019-02-01 18:43:52,272 INFO b"        s1763: 's__1763_2',"
2019-02-01 18:43:52,272 INFO b"        s1764: 's__1764_2',"
2019-02-01 18:43:52,272 INFO b"        s1765: 's__1765_2',"
2019-02-01 18:43:52,272 INFO b"        s1766: 's__1766_2',"
2019-02-01 18:43:52,272 INFO b"        s1767: 's__1767_2',"
2019-02-01 18:43:52,272 INFO b"        s1768: 's__1768_2',"
2019-02-01 18:43:52,272 INFO b"        s1769: 's__1769_2',"
2019-02-01 18:43:52,272 INFO b"        s1770: 's__1770_2',"
2019-02-01 18:43:52,272 INFO b"        s1771: 's__1771_2',"
2019-02-01 18:43:52,272 INFO b"        s1772: 's__1772_2',"
2019-02-01 18:43:52,272 INFO b"        s1773: 's__1773_2' },"
2019-02-01 18:43:52,272 INFO b"     defaultModelFormat: 'obj',"
2019-02-01 18:43:52,272 INFO b"     defaultSceneFormat: 'suncg' },"
2019-02-01 18:43:52,272 INFO b"  config: '',"
2019-02-01 18:43:52,272 INFO b"  colorMode: 'GRAY',"
2019-02-01 18:43:52,272 INFO b"  maps: [ 'MAP01' ],"
2019-02-01 18:43:52,272 INFO b'  switchMaps: false,'
2019-02-01 18:43:52,272 INFO b"  gameArgs: '',"
2019-02-01 18:43:52,272 INFO b"  task: 'point_goal',"
2019-02-01 18:43:52,272 INFO b"  goal: { type: 'position', position: 'random', radius: 0.25 },"
2019-02-01 18:43:52,272 INFO b"  scenesFile: '/home/jin/minos/minos/config/../data/scenes.multiroom.csv',"
2019-02-01 18:43:52,272 INFO b'  statesFile:'
2019-02-01 18:43:52,272 INFO b"   '/home/jin/minos/minos/config/../data/episode_states.suncg.csv.bz2',"
2019-02-01 18:43:52,272 INFO b"  roomtypesFile: '/home/jin/minos/minos/config/../data/roomTypes.suncg.csv',"
2019-02-01 18:43:52,272 INFO b'  numEpisodesPerRestart: 1000,'
2019-02-01 18:43:52,272 INFO b'  numEpisodesPerScene: 10,'
2019-02-01 18:43:52,272 INFO b'  maxStatesPerScene: 1,'
2019-02-01 18:43:52,272 INFO b'  episodesPerSceneTest: 1,'
2019-02-01 18:43:52,272 INFO b'  episodesPerSceneTrain: 10,'
2019-02-01 18:43:52,272 INFO b"  episodeSchedule: 'train',"
2019-02-01 18:43:52,272 INFO b"  nonserializable: [ 'measure_fun', 'scene_filter', 'episode_filter' ],"
2019-02-01 18:43:52,272 INFO b'  agent: { radialClearance: 0.2 },'
2019-02-01 18:43:52,272 INFO b'  objectiveSize: 4,'
2019-02-01 18:43:52,272 INFO b"  logdir: './logs/sim01',"
2019-02-01 18:43:52,273 INFO b"  id: 'sim01',"
2019-02-01 18:43:52,273 INFO b"  simPath: '/home/jin/minos/minos/lib/../',"
2019-02-01 18:43:52,273 INFO b"  nodeBaseUrl: '/home/jin/work/',"
2019-02-01 18:43:52,273 INFO b'  port: 45186,'
2019-02-01 18:43:52,273 INFO b'  audio:'
2019-02-01 18:43:52,273 INFO b'   { port: 53020,'
2019-02-01 18:43:52,273 INFO b"     datapath: 'data/wav',"
2019-02-01 18:43:52,273 INFO b"     wallpath: '/home/jin/work/suncg/wall' },"
2019-02-01 18:43:52,273 INFO b'  width: 84,'
2019-02-01 18:43:52,273 INFO b'  height: 84,'
2019-02-01 18:43:52,273 INFO b"  sensorsConfig: '../config/sensors.yml',"
2019-02-01 18:43:52,273 INFO b"  outputDir: '/home/jin/minos/logs/sim01',"
2019-02-01 18:43:52,273 INFO b'  semanticEncodings:'
2019-02-01 18:43:52,273 INFO b'   { roomType: { mapping: [Object], maxIndex: 8, defaultIndex: 0 } },'
2019-02-01 18:43:52,273 INFO b'  sensors:'
2019-02-01 18:43:52,273 INFO b"   [ { name: 'group',"
2019-02-01 18:43:52,273 INFO b"       type: 'group',"
2019-02-01 18:43:52,273 INFO b'       modes: [Array],'
2019-02-01 18:43:52,273 INFO b'       near: 0.001,'
2019-02-01 18:43:52,273 INFO b'       far: 20,'
2019-02-01 18:43:52,273 INFO b'       fov: 45,'
2019-02-01 18:43:52,273 INFO b"       configuration: 'positional',"
2019-02-01 18:43:52,274 INFO b'       position: [Array],'
2019-02-01 18:43:52,274 INFO b'       orientation: [Array],'
2019-02-01 18:43:52,274 INFO b'       resolution: [Array],'
2019-02-01 18:43:52,274 INFO b'       resize: true,'
2019-02-01 18:43:52,274 INFO b'       active: true },'
2019-02-01 18:43:52,274 INFO b"     { name: 'depth',"
2019-02-01 18:43:52,274 INFO b"       type: 'depth',"
2019-02-01 18:43:52,274 INFO b"       configuration: 'positional',"
2019-02-01 18:43:52,274 INFO b'       position: [Array],'
2019-02-01 18:43:52,274 INFO b'       orientation: [Array],'
2019-02-01 18:43:52,274 INFO b'       resolution: [Array],'
2019-02-01 18:43:52,274 INFO b'       resize: true,'
2019-02-01 18:43:52,274 INFO b"       encoding: 'depth',"
2019-02-01 18:43:52,274 INFO b"       datatype: 'float32',"
2019-02-01 18:43:52,274 INFO b'       near: 0.1,'
2019-02-01 18:43:52,274 INFO b'       far: 20,'
2019-02-01 18:43:52,274 INFO b'       fov: 45,'
2019-02-01 18:43:52,274 INFO b'       metersToUnit: 1,'
2019-02-01 18:43:52,274 INFO b'       noise_model: [Object],'
2019-02-01 18:43:52,274 INFO b'       noise: false,'
2019-02-01 18:43:52,274 INFO b'       active: true },'
2019-02-01 18:43:52,274 INFO b"     { name: 'audio',"
2019-02-01 18:43:52,274 INFO b"       type: 'audio',"
2019-02-01 18:43:52,274 INFO b"       configuration: 'radial',"
2019-02-01 18:43:52,274 INFO b'       position: [Array],'
2019-02-01 18:43:52,274 INFO b'       orientation: [Array],'
2019-02-01 18:43:52,274 INFO b'       resolution: [Array],'
2019-02-01 18:43:52,274 INFO b"       encoding: 'pcm',"
2019-02-01 18:43:52,274 INFO b'       active: true },'
2019-02-01 18:43:52,274 INFO b"     { name: 'force',"
2019-02-01 18:43:52,274 INFO b"       type: 'force',"
2019-02-01 18:43:52,274 INFO b"       configuration: 'radial-group',"
2019-02-01 18:43:52,275 INFO b'       position: [Array],'
2019-02-01 18:43:52,275 INFO b'       orientation: [Array],'
2019-02-01 18:43:52,275 INFO b'       radial: [Array],'
2019-02-01 18:43:52,275 INFO b'       resolution: [Array],'
2019-02-01 18:43:52,275 INFO b"       encoding: 'raw_contact',"
2019-02-01 18:43:52,275 INFO b'       active: true } ],'
2019-02-01 18:43:52,275 INFO b"  start: 'random',"
2019-02-01 18:43:52,275 INFO b'  unit: 1,'
2019-02-01 18:43:52,275 INFO b'  timeStep: 0.1,'
2019-02-01 18:43:52,275 INFO b'  assetCacheSize: 100,'
2019-02-01 18:43:52,275 INFO b'  useSky: true }'
2019-02-01 18:43:52,275 INFO b"modeConfig { name: 'color',"
2019-02-01 18:43:52,275 INFO b"  type: 'color',"
2019-02-01 18:43:52,275 INFO b"  renderer: 'main',"
2019-02-01 18:43:52,275 INFO b"  encoding: 'gray',"
2019-02-01 18:43:52,275 INFO b'  near: 0.001,'
2019-02-01 18:43:52,275 INFO b'  far: 20,'
2019-02-01 18:43:52,275 INFO b'  fov: 45,'
2019-02-01 18:43:52,275 INFO b"  configuration: 'positional',"
2019-02-01 18:43:52,275 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-02-01 18:43:52,275 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-02-01 18:43:52,275 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,275 INFO b'  resize: true,'
2019-02-01 18:43:52,275 INFO b'  active: true }'
2019-02-01 18:43:52,275 INFO b"modeConfig { name: 'objectId',"
2019-02-01 18:43:52,275 INFO b"  type: 'semantic',"
2019-02-01 18:43:52,275 INFO b"  encoding: 'objectId',"
2019-02-01 18:43:52,275 INFO b'  countPixels: true,'
2019-02-01 18:43:52,275 INFO b'  near: 0.001,'
2019-02-01 18:43:52,275 INFO b'  far: 20,'
2019-02-01 18:43:52,275 INFO b'  fov: 45,'
2019-02-01 18:43:52,275 INFO b"  configuration: 'positional',"
2019-02-01 18:43:52,275 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-02-01 18:43:52,275 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-02-01 18:43:52,275 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,275 INFO b'  resize: true,'
2019-02-01 18:43:52,276 INFO b'  active: true }'
2019-02-01 18:43:52,276 INFO b"Creating new renderer objectId { configSet: 'simple',"
2019-02-01 18:43:52,276 INFO b'  isOffscreen: true,'
2019-02-01 18:43:52,276 INFO b'  useAmbientOcclusion: false,'
2019-02-01 18:43:52,276 INFO b'  useLights: false,'
2019-02-01 18:43:52,276 INFO b'  useShadows: false,'
2019-02-01 18:43:52,276 INFO b'  width: 84,'
2019-02-01 18:43:52,276 INFO b'  height: 84,'
2019-02-01 18:43:52,276 INFO b'  reuseBuffers: true }'
2019-02-01 18:43:52,284 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,285 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,285 INFO b"modeConfig { name: 'objectType',"
2019-02-01 18:43:52,285 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,285 INFO b"  type: 'semantic',"
2019-02-01 18:43:52,285 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,285 INFO b"  encoding: 'objectType',"
2019-02-01 18:43:52,285 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,285 INFO b'  near: 0.001,'
2019-02-01 18:43:52,285 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,285 INFO b'  far: 20,'
2019-02-01 18:43:52,285 INFO b'  fov: 45,'
2019-02-01 18:43:52,285 INFO b"  configuration: 'positional',"
2019-02-01 18:43:52,285 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-02-01 18:43:52,285 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-02-01 18:43:52,285 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,285 INFO b'  resize: true,'
2019-02-01 18:43:52,285 INFO b'  active: true }'
2019-02-01 18:43:52,285 INFO b"Creating new renderer objectType { configSet: 'simple',"
2019-02-01 18:43:52,285 INFO b'  isOffscreen: true,'
2019-02-01 18:43:52,285 INFO b'  useAmbientOcclusion: false,'
2019-02-01 18:43:52,285 INFO b'  useLights: false,'
2019-02-01 18:43:52,285 INFO b'  useShadows: false,'
2019-02-01 18:43:52,285 INFO b'  width: 84,'
2019-02-01 18:43:52,285 INFO b'  height: 84,'
2019-02-01 18:43:52,285 INFO b'  reuseBuffers: true }'
2019-02-01 18:43:52,292 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,292 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,292 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,292 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,292 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,292 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,292 INFO b"modeConfig { name: 'roomId',"
2019-02-01 18:43:52,293 INFO b"  type: 'semantic',"
2019-02-01 18:43:52,293 INFO b"  encoding: 'roomId',"
2019-02-01 18:43:52,293 INFO b'  near: 0.001,'
2019-02-01 18:43:52,293 INFO b'  far: 20,'
2019-02-01 18:43:52,293 INFO b'  fov: 45,'
2019-02-01 18:43:52,293 INFO b"  configuration: 'positional',"
2019-02-01 18:43:52,293 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-02-01 18:43:52,293 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-02-01 18:43:52,293 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,293 INFO b'  resize: true,'
2019-02-01 18:43:52,293 INFO b'  active: true }'
2019-02-01 18:43:52,293 INFO b"Creating new renderer roomId { configSet: 'simple',"
2019-02-01 18:43:52,293 INFO b'  isOffscreen: true,'
2019-02-01 18:43:52,293 INFO b'  useAmbientOcclusion: false,'
2019-02-01 18:43:52,293 INFO b'  useLights: false,'
2019-02-01 18:43:52,293 INFO b'  useShadows: false,'
2019-02-01 18:43:52,293 INFO b'  width: 84,'
2019-02-01 18:43:52,293 INFO b'  height: 84,'
2019-02-01 18:43:52,293 INFO b'  reuseBuffers: true }'
2019-02-01 18:43:52,301 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,301 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,301 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,301 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,301 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,301 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,301 INFO b"modeConfig { name: 'roomType',"
2019-02-01 18:43:52,302 INFO b"  type: 'semantic',"
2019-02-01 18:43:52,302 INFO b"  encoding: 'roomType',"
2019-02-01 18:43:52,302 INFO b'  near: 0.001,'
2019-02-01 18:43:52,302 INFO b'  far: 20,'
2019-02-01 18:43:52,302 INFO b'  fov: 45,'
2019-02-01 18:43:52,302 INFO b"  configuration: 'positional',"
2019-02-01 18:43:52,302 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-02-01 18:43:52,302 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-02-01 18:43:52,302 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,302 INFO b'  resize: true,'
2019-02-01 18:43:52,302 INFO b'  active: true }'
2019-02-01 18:43:52,302 INFO b"Creating new renderer roomType { configSet: 'simple',"
2019-02-01 18:43:52,302 INFO b'  isOffscreen: true,'
2019-02-01 18:43:52,302 INFO b'  useAmbientOcclusion: false,'
2019-02-01 18:43:52,302 INFO b'  useLights: false,'
2019-02-01 18:43:52,302 INFO b'  useShadows: false,'
2019-02-01 18:43:52,302 INFO b'  width: 84,'
2019-02-01 18:43:52,302 INFO b'  height: 84,'
2019-02-01 18:43:52,302 INFO b'  reuseBuffers: true }'
2019-02-01 18:43:52,310 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,310 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,310 INFO b"modeConfig { name: 'normal',"
2019-02-01 18:43:52,311 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,311 INFO b"  type: 'normal',"
2019-02-01 18:43:52,311 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,311 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,311 INFO b"  encoding: 'xyza',"
2019-02-01 18:43:52,311 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,311 INFO b'  near: 0.001,'
2019-02-01 18:43:52,311 INFO b'  far: 20,'
2019-02-01 18:43:52,311 INFO b'  fov: 45,'
2019-02-01 18:43:52,311 INFO b"  configuration: 'positional',"
2019-02-01 18:43:52,311 INFO b'  position: [ Vector3 { x: 0, y: 0.6, z: 0 } ],'
2019-02-01 18:43:52,311 INFO b'  orientation: [ Vector3 { x: 0, y: 0, z: -1 } ],'
2019-02-01 18:43:52,312 INFO b'  resolution: [ 84, 84 ],'
2019-02-01 18:43:52,312 INFO b'  resize: true,'
2019-02-01 18:43:52,312 INFO b'  active: true }'
2019-02-01 18:43:52,312 INFO b"Creating new renderer normal { configSet: 'simple',"
2019-02-01 18:43:52,312 INFO b'  isOffscreen: true,'
2019-02-01 18:43:52,312 INFO b'  useAmbientOcclusion: false,'
2019-02-01 18:43:52,312 INFO b'  useLights: false,'
2019-02-01 18:43:52,312 INFO b'  useShadows: false,'
2019-02-01 18:43:52,312 INFO b'  width: 84,'
2019-02-01 18:43:52,312 INFO b'  height: 84,'
2019-02-01 18:43:52,312 INFO b'  reuseBuffers: true }'
2019-02-01 18:43:52,319 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,319 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,320 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,320 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,320 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,320 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,320 INFO b"Creating new renderer depth { configSet: 'simple',"
2019-02-01 18:43:52,320 INFO b'  isOffscreen: true,'
2019-02-01 18:43:52,320 INFO b'  useAmbientOcclusion: false,'
2019-02-01 18:43:52,320 INFO b'  useLights: false,'
2019-02-01 18:43:52,321 INFO b'  useShadows: false,'
2019-02-01 18:43:52,321 INFO b'  width: 84,'
2019-02-01 18:43:52,321 INFO b'  height: 84,'
2019-02-01 18:43:52,321 INFO b'  reuseBuffers: true }'
2019-02-01 18:43:52,330 INFO b'THREE.WebGLRenderer 84'
2019-02-01 18:43:52,330 ERROR b'THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.'
2019-02-01 18:43:52,330 ERROR b'THREE.WebGLRenderer: OES_texture_float_linear extension not supported.'
2019-02-01 18:43:52,330 ERROR b'THREE.WebGLRenderer: OES_texture_half_float extension not supported.'
2019-02-01 18:43:52,330 ERROR b'THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.'
2019-02-01 18:43:52,330 ERROR b'THREE.WebGLRenderer: OES_standard_derivatives extension not supported.'
2019-02-01 18:43:52,340 INFO b'Seeding simulator rng with 12818830'
2019-02-01 18:43:52,346 INFO b'starting memory= { rss: 193486848,'
2019-02-01 18:43:52,348 INFO b'  heapTotal: 119435264,'
2019-02-01 18:43:52,348 INFO b'  heapUsed: 86751080,'
2019-02-01 18:43:52,348 INFO b'  external: 367792 }'
2019-02-01 18:43:52,348 INFO b'preloadData { loadSceneStatistics: true, loadSounds: false }'
2019-02-01 18:43:52,355 INFO b'imported relation indices'
2019-02-01 18:43:53,065 INFO b'imported relation counts'
2019-02-01 18:43:53,066 INFO b'importRelationCsvs: 719.075ms'
2019-02-01 18:43:54,199 INFO b'imported material indices'
2019-02-01 18:43:56,311 INFO b'imported material counts'
2019-02-01 18:43:56,312 INFO b'Removing subscribers for event ready [ 0 ]'
2019-02-01 18:43:56,312 INFO b'importMaterialCsvs: 3965.560ms'
2019-02-01 18:43:56,314 INFO b'Loading scene  p5dScene.40666d3bde3d0c0dba48550a5e24314a'
2019-02-01 18:43:56,328 ERROR b'/home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108260'
2019-02-01 18:43:56,328 ERROR b'\t  if (this.opts.scene && this.opts.scene.fullId.startsWith("mp3d")) {'
2019-02-01 18:43:56,328 ERROR b'\t                                                ^'
2019-02-01 18:43:56,328 ERROR b''
2019-02-01 18:43:56,328 ERROR b"TypeError: Cannot read property 'startsWith' of undefined"
2019-02-01 18:43:56,328 ERROR b'    at Simulator.__loadScene (/home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108260:50)'
2019-02-01 18:43:56,328 ERROR b'    at /home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108212:14'
2019-02-01 18:43:56,328 ERROR b'    at /home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108133:8'
2019-02-01 18:43:56,328 ERROR b'    at /home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:39080:17'
2019-02-01 18:43:56,328 ERROR b'    at next (/home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:43936:30)'
2019-02-01 18:43:56,328 ERROR b'    at /home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:39576:17'
2019-02-01 18:43:56,328 ERROR b'    at Timeout._onTimeout (/home/jin/minos/minos/server/node_modules/sstk/client/build/STK-core.bundle.js:108129:35)'
2019-02-01 18:43:56,328 ERROR b'    at ontimeout (timers.js:436:11)'
2019-02-01 18:43:56,328 ERROR b'    at tryOnTimeout (timers.js:300:5)'
2019-02-01 18:43:56,328 ERROR b'    at listOnTimeout (timers.js:263:5)'
2019-02-01 18:43:56,380 INFO Finished simserver stderr
2019-02-01 18:43:56,380 INFO Finished simserver stdout

Please help me out here. Thank you very much!

angelxuanchang commented 5 years ago

Sorry, I was confused which version of minos you were using. This issue is also fixed for the v0.6.x branch. Please checkout the latest v0.6.x (or master) branch of minos, make sure to do npm install in minos/server and try again and let us know if you still have issues.

jsdd25 commented 5 years ago

I have fixed this problem. Thank you very much!!!

chenwydj commented 5 years ago

@jsdd25 How did you solve this problem? I also met the error 'THREE.WebGLRenderer: Error creating WebGL context.' Thanks!!!