技术文章 - CS395798

Studio 项目有时发布失败并出现错误:“Vuforia Studio 中重试 10 次后出现移动/重命名错误。EPERM:不允许操作”

已修改: 11-Dec-2023   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Vuforia Experience Service 9.6.0 to 9.9.0
  • Vuforia Studio 9.6.0 to 9.15.0

说明

  • Studio 项目有时发布失败并出现错误:重试 10 次后出现移动/重命名错误。 EPERM:不允许操作
  • Studio.log包含:
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Response statusText  Internal Server Error
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Response body  {"message":"Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\\VuforiaExperienceService\\studio-es-store\\projects\\<project_name>' -> 'D:\\VuforiaExperienceService\\studio-es-store\\projects\\<project_name>_1687854267446'","errorCode":"","error":{}}
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Response error  undefined
[2023-06-27T08:24:28.184Z] error: [twx-studio:ves-publish:1687854254084:<project_name>] Failed to upload to the Experience Service. undefined
[2023-06-27T08:24:28.185Z] error: [twx-studio:projectHelper] publishTask error for project <project_name> {"statusCode":500,"message":"{\"message\":\"Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>' -&gt; 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>_1687854267446'\",\"errorCode\":\"\",\"error\":{}}"}
[2023-06-27T08:24:28.186Z] error: [twx-studio:api] Error occured while publishing project <project_name> {
[2023-06-27T08:24:28.185Z] error:   statusCode: 500,
[2023-06-27T08:24:28.185Z] error:   message: `{"message":"Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>' -> 'D:\\\\VuforiaExperienceService\\\\studio-es-store\\\\projects\\\\<project_name>_1687854267446'","errorCode":"","error":{}}`
[2023-06-27T08:24:28.185Z] error: }
  • 体验服务日志包含以下消息:
(node:2252) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'selectWithParams' of undefined
    at Object.exports.getExistingRecordForAnExperience (D:\VuforiaExperienceService\services\advancedmtg\trainingDatabaseService.js:76:22)
    at Object.cancelObsoleteHMTGJob (D:\VuforiaExperienceService\services\advancedmtg\hmtgHelperModule.js:472:51)
    at getFileInfos (D:\VuforiaExperienceService\routes\handlers\target-generation\eventHandler.js:86:16)
    at D:\VuforiaExperienceService\routes\handlers\target-generation\eventHandler.js:63:24
    at _fulfilled (D:\VuforiaExperienceService\node_modules\q\q.js:854:54)
    at D:\VuforiaExperienceService\node_modules\q\q.js:883:30
    at Promise.promise.promiseDispatch (D:\VuforiaExperienceService\node_modules\q\q.js:816:13)
    at D:\VuforiaExperienceService\node_modules\q\q.js:624:44
    at runSingle (D:\VuforiaExperienceService\node_modules\q\q.js:137:13)
    at flush (D:\VuforiaExperienceService\node_modules\q\q.js:125:13)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
(node:2252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 14)
*** Terminating upload POST (500). Error: Move/Rename error after 10 retries. EPERM: operation not permitted, rename 'D:\VuforiaExperienceService\studio-es-store\projects\<project_name>' -> 'D:\VuforiaExperienceService\studio-es-store\projects\project_name_1687853758234'
这是文章 395798 的 PDF 版本,可能已过期。最新版本 CS395798