Error: zimlet description not found: com_zimbra_sms.xml

Interested in talking about Mash-up's? This is the place.
Post Reply
crossany
Advanced member
Advanced member
Posts: 52
Joined: Fri Sep 12, 2014 10:06 pm

Error: zimlet description not found: com_zimbra_sms.xml

Post by crossany »

I edit the com_zimbra_sms in my window OS, I use the WinRAR to zip the

com_zimbra_sms folder to com_zimbra_sms.zip and use the WinSCP to my zimbra server .I su - zimbra and zmzimletctl deploy com_zimbra_sms.zip

the error display like this : Error: zimlet description not found: com_zimbra_sms.xml. I just zip the com_zimbra_sms.xml to the com_zimbra_sms.zip,and I use chown -R zimbra:zimbra com_zimbra_sms.

So I hope somebody cam tell us why ?

I just try to do something for zimlet
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Error: zimlet description not found: com_zimbra_sms.xml

Post by 14319KevinH »

Sounds like your zip file missed the XML file, or you forgot to zip up the directory as a whole.
fostah
Posts: 5
Joined: Mon Oct 24, 2016 8:53 pm

Re: Error: zimlet description not found: com_zimbra_sms.xml

Post by fostah »

I ran into this same problem, however on a Mac. For those of you googling like I did, I resolved this by making sure you use the command line zip program to create your zips. When using the GUI zip program you will get extra DS_Store and __MACOSX folders.

Bad Zip:

Code: Select all

$ zipinfo com_zimbra_example_simpletab.zip
Archive:  com_zimbra_example_simpletab.zip   2158 bytes   5 files
-r--r--r--  2.1 unx     2078 bX defN  9-Feb-10 07:56 com_zimbra_example_simpletab.js
drwxrwxr-x  2.1 unx        0 bx stor 24-Oct-16 14:42 __MACOSX/
-r--r--r--  2.1 unx      226 bX defN  9-Feb-10 07:56 __MACOSX/._com_zimbra_example_simpletab.js
-r-xr-xr-x  2.1 unx      245 bX defN  9-Feb-10 07:56 com_zimbra_example_simpletab.xml
-r--r--r--  2.1 unx      226 bX defN  9-Feb-10 07:56 __MACOSX/._com_zimbra_example_simpletab.xml
5 files, 2775 bytes uncompressed, 1238 bytes compressed:  55.4%
Instead do the following: (Replace "com_zimbra_example_simpletab" with your zimlet)

Code: Select all

cd com_zimbra_example_simpletab 
zip -r  com_zimbra_example_simpletab.zip .
It should look like the following now:

Code: Select all

$ zipinfo com_zimbra_example_simpletab.zip
Archive:  com_zimbra_example_simpletab.zip   1348 bytes   2 files
-r--r--r--  3.0 unx     2078 tx defN  9-Feb-10 07:56 com_zimbra_example_simpletab.js
-r-xr-xr-x  3.0 unx      245 tx defN  9-Feb-10 07:56 com_zimbra_example_simpletab.xml
2 files, 2323 bytes uncompressed, 944 bytes compressed:  59.4%
Post Reply