技术文章 - CS300115

无法将扩展导入 ThingWorx,并出现错误“扩展包导入失败”

已修改: 15-Nov-2024   


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

适用于

  • ThingWorx Platform 8.5 to 9.6
  • ThingWorx Manufacturing Apps Family 8.5.0 to 9.1
  • ThingWorx Analytics 8.5 to 9.6
  • ThingWorx Real-Time Production Performance Monitoring 2.0.3

说明

  • 尝试在 ThingWorx 中导入任何扩展时,在 Composer 中收到错误:
Extension package import failed
  • ExtensionPackageImportPolicy已在\ThingworxPlatform\platform-settings.json中配置
  • \ThingworxPlatform\platform-settings.json已修改,将导入设置为 true,但扩展导入仍然失败
  • \ThingworxStorage\logs\ApplicationLog.log报告:
[context: Extension Exception][message: Extension package import failed.  See error log for more details.]
[L: ERROR] [O: c.t.w.ExtensionPackageUploader] [I: ] [U: ####] [S: ] [P: ] [T: http-nio-80-exec-2] Extension Exception
  • \ThingworxStorage\logs\ErrorLog.log报告:
java.lang.Exception: ExtensionPackageImportPolicy: ExtensionPackage upload attempted while import disabled. Check the ExtensionPackageImportPolicy.
  • ThingWorx Manufacturing Apps 导入失败, \ThingworxStorage\logs\ApplicationLog.log中出现扩展异常错误
  • 无法导入 ThingWorx Analytics Extension
  • ThingWorx Analytics 安装程序失败,原因如下:
Problem running post-installation step. Installation may not complete correctly. Error running C:\Progra~2\ThingW~1\ThingW~1\scripts\import-extension\import-extension.exe -hostname=XXXX -hostport=YYYY -appkey=ZZZZ -extension=C:\Progra~2\ThingW~1\ThingW~1\AnalyticsExtApp\ThingWorx-Analytics-8.4.0-r4-Extension.zip -ssl=0 406
  • 无法导入/导出扩展
  • 尝试安装 ThingWorx 实时生产性能监控 (RTPPM) 2.0.3 但失败并出现错误:
Install Missing Dependencies - Importing PTC.Base.zip
Install Missing Dependencies - Error Code: 25003 
Failed to import PTC.Base.zip
Caused by: Response was not formatted as an Infotable: Not acceptable
这是文章 300115 的 PDF 版本,可能已过期。最新版本 CS300115