Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old 05-18-2007, 06:27 AM
Senior Member
 
Posts: 71
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
Reply With Quote
  #22 (permalink)  
Old 06-05-2007, 08:30 AM
Senior Member
 
Posts: 51
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.