Search Engine: Elastic

Article ID: 133384, created on Nov 8, 2018, last review on Nov 8, 2018

  • Applies to:
  • Operations Automation 7.3

Symptoms

Importing localization as per Importing PO Files fails after step 4:

4. On the application Add-ons tab, click Import locale and import the updated PO file.

The corresponding task "APS application 'APS_APP_ANEM', id 220 : importing APS package <APS_APP_ANEM>-nl_NL-<VERSION>.app.zip" fails with:

Package is not valid accordingly to APS specification: file 'images/wbb-icon.png' is missing

The following error could be observed in /var/log/pa/core.log:

Package is not valid accordingly to APS specification: file 'images/ICON.png' is missing.

Cause

This issue has been recognized by Odin R&D Team as APS-39316.

Resolution

Please contact your TAM or PTA to trace the status of the issue.

As a workaround, repack the intermediate package from localization import task in the following way (please use "Web Business Builder - localization nl_NL-2.0-1.app.zip"):

1. #cp -p "/usr/local/pem/APS/packages/Web Business Builder - localization nl_NL-2.0-1.app.zip" .
2. #unzip Web Business Builder - localization nl_NL-2.0-1.app.zip -d wbb
3. #cd wbb && vim APP-META.xml

4. Please remove the following "icon path" lines from APP-META.xml:

          1     <application xmlns="http://aps-standard.org/ns/2"
          2     packaged="2017-12-18T11:06:33" version="2.0">
          3     <id>http://odin.com/wbb/i18n/nl_NL</id>
          4     <name>Web Business Builder - localization nl_NL</name>
          5     <version>2.0</version>
          6     <release>1</release>
          7     <homepage>http://www.odin.com/</homepage>
          8     <master-package>
          9         <package id="http://odin.com/wbb"/>
         10     </master-package>
         11     <vendor>
         12         <name>Odin</name>
         13         <homepage>http://www.odin.com/products/web-business-builder/</homepage>
    >>>  14         <icon path="images/wbb-icon.png"/>
         15     </vendor>
         16     <packager>
         17         <name>Odin</name>
         18         <homepage>http://www.odin.com/</homepage>
    >>>  19         <icon path="images/odin-icon.png"/>
         20         <uri>http://www.odin.com</uri>
         21     </packager>


5. And pack the package to:

zip -r /usr/local/pem/APS/packages/Web_Business_Builder-nl_NL-2.0-1.app.zip *

6. Then resubmit the localization import task, it will complete with success.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 dd79f16c76b9dca75205ab5e9f5465ea 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF