Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: where are my zimlets ?

  1. #21
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    74
    Rep Power
    8

    Default

    If you add xmlns:html="http://www.w3.org/1999/xhtml" to the first line in the name_of_the_zimlet.xml it works.

    I had to do that because I loaded the files from the gallery and copied them into zimlets-extra folder

  2. #22
    Join Date
    Jun 2006
    Location
    Indianapolis, IN
    Posts
    51
    Rep Power
    9

    Default Zimlets installed, see them in UI ... but can't get configs

    When I got in today, it was evident that my coworker installed a ton of Zimlets overnight. I read in the wiki how to configure the asterisk Zimlet, and I seem to be having issues. It thinks the zimlet is not found...when it clearly was.

    OK...nevermind. Evidently, if you're not in /opt/zimbra/zimlets-extra, you can't run the zmzimletctl command. Sounds like it'd be a simple fix in zmzimletctl. Ooh, a bash script! Here's a patch you can apply to make zmzimletctl less annoying:

    EDIT: Dangit, if you wish to use filenames (like the cfg.tmp file in the example on Asterisk VOIP Zimlet - ZimbraWiki) you need to reference its full path. So...this script could use a little more intelligence in that regard. If this is a path Zimbra would like to pursue, I'd be happy to make it a little smarter.

    EDIT #2: OK...I made a cfg.tmp file to reflect the real IP addresses of the SIP host and the local machine, but even though I can now make calls...the command mentioned to view the config doesn't ever reflect my changes. I still get the IP addresses that were set before my changes. (I'm using zmzimletctl getConfigTemplate com_zimbra_asterisk.zip)
    Code:
    --- zmzimletctl 2007-05-11 20:39:55.000000000 -0400
    +++ zmzimletctl_with_cd 2007-06-05 10:27:17.000000000 -0400
    @@ -24,4 +24,9 @@
     # ***** END LICENSE BLOCK *****
     #
    
    +INITIAL_DIR=$PWD
    +DESIRED_DIR=$ZIMBRA_HOME/zimlets-extra
    +
    +cd $DESIRED_DIR
     exec `dirname $0`/zmjava com.zimbra.cs.zimlet.ZimletUtil "$@"
    +cd $INITIAL_DIR
    The error I was getting, for those who might search for it:

    Code:
    [zimbra@zimbra2 log]$ zmzimletctl getConfigTemplate com_zimbra_asterisk.zip
    Error: Zimlet not found: com_zimbra_asterisk.zip
    Last edited by bjared; 06-05-2007 at 08:55 AM. Reason: My patch created a requirement for full pathnames to filename arguments.

Similar Threads

  1. Zimlets Webinar: July 24th
    By GregA in forum Webinars
    Replies: 12
    Last Post: 09-12-2007, 10:24 PM
  2. Can't Deploy Zimlets after upgrade to 4.5.5
    By ajsp in forum Installation
    Replies: 2
    Last Post: 05-17-2007, 08:17 AM
  3. Need guidance for developing zimlets
    By jiggy in forum Developers
    Replies: 12
    Last Post: 02-23-2007, 04:32 AM
  4. Graphs and Zimlets not displaying?
    By nadia007 in forum Installation
    Replies: 13
    Last Post: 11-24-2006, 07:51 AM
  5. No zimlets displayed in 3.2 M1/M2
    By pepijn in forum Administrators
    Replies: 2
    Last Post: 07-28-2006, 07:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •