Question

Code: Package has dynamic resources missing. Rejecting incomplete {}-{} package jar

  • 25 January 2023
  • 6 replies
  • 116 views

Userlevel 2
Badge +8

Hello,

 

I’m facing an issue when trying to import a bot (with packages) that has the following package: bot-command-recorder-2.1.0-20210311-002508

 

The error is the following:

 

 

Any ideas how to upload this package?

 

Thanks


6 replies

Userlevel 5
Badge +10

@Andoni seems this package corrupted, will you be able to move the same package from other environment, I tried to attach here but size is more than 5mb hence unable to attach..

here is the path :: D:\AutomationAnywhere\public\package

Userlevel 2
Badge +8

Hi @rbkadiyam ,

 

I already did that (I’ve taken the .jar file from ...\AutomationAnywhere\public\package) and it does not work either, I can’t import the recorder package due to some “dynamic resources” missing. If you look at the package folder you will see that there is a folder named “dynamic-resources”

Userlevel 5
Badge +10

@Andoni  I don’t see any files or folder 

here is the dynamic-resource.json

{
  "resources": [{
    "resourceName": "222baca2-bf55-495a-88c2-938416396456.zip",
    "fileHash": "ea1b9f0e3bb9fd2cc67c5ebb5c39ff1260bd9af61a92eaef9c97917b631c0e7d"
  }, {
    "resourceName": "fe6c26e0-8f6a-4181-b04d-07220e436686.zip",
    "fileHash": "bf5e9b1047de4936155b976747a39424a73f1f450c4e0cb458ef02eb3c92186a"
  }, {
    "resourceName": "e19beef4-9705-45bc-a1a5-96d95d678db9.zip",
    "fileHash": "306e402c5fa1861dc7b1c60f0520c6c38402004dc80bee65ae763f7de8caea62"
  }, {
    "resourceName": "dce7fe3a-cdd8-4304-8c50-57ecb01d53c7.zip",
    "fileHash": "8a378a95ce7d83fe4753562f7260a36d2f000a6899936b36a7073ef9f2a71a19"
  }]
}

 

can you validate if you have entries in json  ?

Userlevel 2
Badge +8

Hi @rbkadiyam ,

 

Where did you take that screenshot from??

 

Here are screenshots of mine (these screenshots are from a A360 v23 single node web server):

 

Within my packages repository I don’t see a folder for the package, just the package itself

On top of that, within this same folder there is another folder named “dynamic-resources”:

 

 

However, when I query the database there are some dynamic_resources referred to this recorder package (however I cannot find those resource_filename .zip files anywhere in the server, they are just not present):

 

 

Badge +7

Hello, 

 

Any update of this issue?

 

I am facing the same issue .

Userlevel 2
Badge +8

Hello, 

 

Any update of this issue?

 

I am facing the same issue .

No updates. You have to update all the exported bots Recorder packages to a version greater than 2.1.0-20210311-002508

If you want, feel free to use this python utility that I coded, you might have to change the code a bit but it should helphttps://github.com/aagirre92/A360_RECORDER_PACKAGE_CHANGER

Reply