uav4geo / NodeCM

GPU-enabled photogrammetry pipeline to generate point clouds, orthophotos and elevation models from aerial images using COLMAP.
GNU Affero General Public License v3.0
39 stars 9 forks source link

Running via command line works, but NodeCM errors out if sent tasks from WebODM #3

Open smathermather opened 4 years ago

smathermather commented 4 years ago

Running via command line works, but NodeCM errors out if sent tasks from WebODM:

info: About to run: /app/run.sh --project-path /app/NodeODM/data f92715d3-a579-4462-87af-13dc6d1d5700
/app/NodeODM/libs/odmRunner.js:79
        childProcess.stdout.on('data', chunk => outputReceived(chunk.toString()));
                            ^

TypeError: Cannot read property 'on' of undefined
    at Object.run (/app/NodeODM/libs/odmRunner.js:79:29)
    at Task.start (/app/NodeODM/libs/Task.js:476:50)
    at TaskManager.processNextTask (/app/NodeODM/libs/TaskManager.js:200:22)
    at TaskManager.addNew (/app/NodeODM/libs/TaskManager.js:229:14)
    at Task (/app/NodeODM/libs/taskNew.js:387:53)
    at Task.async.series.err (/app/NodeODM/libs/Task.js:87:13)
    at /app/NodeODM/node_modules/async/dist/async.js:3888:9
    at /app/NodeODM/node_modules/async/dist/async.js:473:16
    at replenish (/app/NodeODM/node_modules/async/dist/async.js:1006:25)
    at iterateeCallback (/app/NodeODM/node_modules/async/dist/async.js:995:17)