模型转化出问题,失败 Unrecoverable exit code from extractor: -1073741829
使用nodejs作为后台转模型,
上传是
path = '/oss/v2/buckets/tongyuanshuzi20170118/objects/' + fileName;
options = {
host: 'developer.api.autodesk.com',
path: path,
method: 'put',
// headers : {'Authorization': 'Bearer ' + token},
headers : {'Authorization': 'Bearer ' + token, "Content-Type": 'application/octet-stream', 'Content-Length': fileSize}
};
上传没有问题
转化
fieldData = '{"input":{"urn":"'+objectId64+'"},"output": {"formats": [{"type": "svf","views": ["2d","3d"]}]}}';
path = '/modelderivative/v2/designdata/job';
options = {
host: 'developer.api.autodesk.com',
path: path,
method: 'post',
headers : {'Authorization': 'Bearer ' + token, 'Content-Type': 'application/json'}
};
查看转化进度
path = '/modelderivative/v2/designdata/'+objectId64+'/manifest';
path += '?v=v2.15';
options = {
host: 'developer.api.autodesk.com',
path: path,
method: 'GET',
headers : {'Authorization': 'Bearer ' + token},
};
报错的错是
{
"type": "manifest",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"region": "US",
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6dG9uZ3l1YW5zaHV6aTIwMTcwMTE4LzMyMTExLm53Yw",
"version": "1.0",
"derivatives": [
{
"name": "LMV Bubble",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Unrecoverable exit code from extractor: -1073741829",
"code": "TranslationWorker-InternalFailure"
}
],
"outputType": "svf"
}
]
}
跟上传的文件没有关系,试了很多,不清楚原因在哪。。。求大神指导
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题已解决,原因是自己一个bug。。。蠢死了。。。
上面的那些东西都是没毛病的 可以正常运行