Article - CS311736

Model Target projects fail to publish in Vuforia Studio 8.4.6

Modified: 11-Sep-2019   


Applies To

  • Vuforia Experience Service 8.4.6
  • Linux systems only

Description

  • Publishing Model Target projects fail in Vuforia Studio
  • Vuforia Studio error:
    • Uh-oh! Publish failed. Check the log for errors.
      {"message":"An error occured while generating targets","errorCode":"","error":{}}
  • Vuforia Experience Service error:
    • error: [vxs:tg:cad-import-filters] spawn /opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/bin/pvaroptimizer ENOENT
      [2019-08-07T19:07:03.322Z] error: [vxs:tg:cad-import-filters] [object Object]
      [2019-08-07T19:07:03.323Z] error: [vxs:tg:tgt-gen.img] Failed to generate the data set for model /opt/ptc/studio-es/projects/<project name>/app/resources/Uploaded/<pvz file> { Error: spawn /opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/bin/pvaroptimizer ENOENT
          at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
          at onErrorNT (internal/child_process.js:362:16)
          at _combinedTickCallback (internal/process/next_tick.js:139:11)
          at process._tickCallback (internal/process/next_tick.js:181:9)
        errno: 'ENOENT',
        code: 'ENOENT',
        syscall: 'spawn /opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/bin/pvaroptimizer',
        path: '/opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/bin/pvaroptimizer',
        spawnargs:
         [ '-vc1',
           '-p',
           '/opt/ptc/studio-es/projects/<project>/WEB-INF/resource_cache/mtg',
           '-o',
           '7300ZTYAAA00230',
           '-r',
           '/opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/recipe/pvaroptimizer_gltf_mtg.rcp',
           '/opt/ptc/studio-es/projects/<project name>/app/resources/Uploaded/<pvz file>' ],
        level: 'error',
        timestamp: '2019-08-07T19:07:03.321Z',
        label: 'vxs:tg:cad-import-filters',
        [Symbol(level)]: 'error',
        [Symbol(message)]: '[2019-08-07T19:07:03.321Z] error: [vxs:tg:cad-import-filters] spawn /opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/bin/pvaroptimizer ENOENT' }
      *** Terminating upload POST (500). Error: spawn /opt/ptc/studio-es/studio-ed/node_modules/cad-import-filters/import_filters/bin/pvaroptimizer ENOENT
          at _Error (/opt/ptc/studio-es/studio-ed/node_modules/target-generator/lib/modelTargets.js:26:17)
          at ModelTargetGenerator.generateDataSet (/opt/ptc/studio-es/studio-ed/node_modules/target-generator/lib/modelTargets.js:205:13)
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:189:7)
      10.128.2.1 - thingworx_user [2019-08-07T19:07:03.392Z] "POST /ExperienceService/content/projects?replace=true HTTP/1.1" 500 82 "-" "-" 2304 ms <ExperienceServiceURL> 8621849 [2019-08-07T19:07:01.088Z] 153 ms 441 ms - ms 1607 ms
    • info: [vxs:tg:cad-import-filters] [CADTargetPackager] /opt/ptc/studio-es/studio-ed/node_modules/target-generator/bin/model-target-generator/CADTargetPackager: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

      [2019-08-08T19:08:17.612Z] debug: [vxs:tg:cad-import-filters] Program exit code 127
      [2019-08-08T19:08:17.613Z] error: [vxs:tg:tgt-gen.img] Failed to generate the data set for model /opt/ptc/studio-es/projects/<project name>/app/resources/Uploaded/<pvz file> 127
        vxs:tg.fork masking original error { Error: 127
          at _Error (/opt/ptc/studio-es/studio-ed/node_modules/target-generator/lib/modelTargets.js:26:17)
          at ModelTargetGenerator.generateDataSet (/opt/ptc/studio-es/studio-ed/node_modules/target-generator/lib/modelTargets.js:205:13)
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:189:7) i18n: true } +115ms
      [2019-08-08T19:08:17.615Z] debug: [vxs:tg:cad-import-filters] Program exit code 127
        vxs:tg target generation time: 1024 ms +1s
      *** Terminating upload POST (500). Error: 127
          at _Error (/opt/ptc/studio-es/studio-ed/node_modules/target-generator/lib/modelTargets.js:26:17)
          at ModelTargetGenerator.generateDataSet (/opt/ptc/studio-es/studio-ed/node_modules/target-generator/lib/modelTargets.js:205:13)
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:189:7)
        vxs:cds Removing: /opt/ptc/studio-es/projects/<project name> +1s
        vxs:tg promise settled. processing skipped for { code: 0, signal: null } +10ms
        vxs:cds Deleted directory:  /opt/ptc/studio-es/projects/<project name> +63ms
        vxs:cds No old version of directory to restore +0ms

       
This is a printer-friendly version of Article 311736 and may be out of date. For the latest version click CS311736