Results 1 to 6 of 6

Thread: Zimlet works in dev mode but won't deploy

Threaded View

  1. #1
    Join Date
    Jul 2012
    Location
    Algiers
    Posts
    55
    Rep Power
    3

    Default [solved] Zimlet works in dev mode but won't deploy

    My zimlet won't deploy :'( I can see the zimlet icon in the zimlet panel and I can see the menu I created when I right click on it, but for example the property editor menu doesn't display on double-click and when selecting an item in the menu I created no action is taken. The zimlet works in dev mode. What could be the problem ?

    Here's a snippet from the log file.

    Code:
    2012-11-25 14:52:46,551 DEBUG [btpool0-8] [] zimlet - DEBUG: buffer file: /home/chaouche/.zdesktop/data/tmp/diskcache/zimletres/latest/ZimbraService-7107e8c4443527debc65a4d5c894f6e0-46.css                                          
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5156:14:invalid property id 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5156:17:syntax error 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5157:17:syntax error 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5158:17:syntax error 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5159:17:syntax error 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5160:17:syntax error 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5161:17:syntax error 
    2012-11-25 14:52:46,617 ERROR [btpool0-9] [] zimlet -  
    5162:17:syntax error 
    2012-11-25 14:52:46,618 ERROR [btpool0-9] [] zimlet -  
    5163:17:syntax error 
    2012-11-25 14:52:46,618 ERROR [btpool0-9] [] zimlet -  
    5164:17:syntax error 
    2012-11-25 14:52:46,631 ERROR [btpool0-9] [] zimlet -  
    1:0:Compilation produced 10 syntax errors. 
    2012-11-25 14:52:46,636 ERROR [btpool0-9] [] log - /service/zimlet/res/Zimlets-nodev_all.js 
    org.mozilla.javascript.EvaluatorException: Compilation produced 10 syntax errors. 
            at com.zimbra.cs.zimlet.ZimletResources$1.runtimeError(ZimletResources.java:189) 
            at org.mozilla.javascript.Parser.parse(Parser.java:410) 
            at org.mozilla.javascript.Parser.parse(Parser.java:355) 
            at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:334) 
            at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:555) 
            at com.zimbra.cs.zimlet.ZimletResources.service(ZimletResources.java:165) 
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) 
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) 
            at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:240) 
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) 
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) 
            at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218) 
            at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) 
            at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) 
            at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422) 
            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) 
            at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
            at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) 
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
            at org.mortbay.jetty.Server.handle(Server.java:326) 
            at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585) 
            at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:971) 
            at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) 
            at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) 
            at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415) 
            at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429) 
            at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

    In firebug I got the following error message

    Code:
    Firebug's log limit has been reached. 707 entries not shown.			 
    ParamsHeadersResponseCacheCookies
    
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <title>Error 500 Compilation produced 10 syntax errors.</title>
    </head>
    <body><h2>HTTP ERROR 500</h2>
    <p>Problem accessing /service/zimlet/res/Zimlets-nodev_all.js. Reason:
    <pre>    Compilation produced 10 syntax errors.</pre></p><h3>Caused by:</h3><pre>org.mozilla.javascript.EvaluatorException: Compilation produced 10 syntax errors.
    	at com.zimbra.cs.zimlet.ZimletResources$1.runtimeError(ZimletResources.java:189)
    	at org.mozilla.javascript.Parser.parse(Parser.java:410)
    	at org.mozilla.javascript.Parser.parse(Parser.java:355)
    	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:334)
    	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.&lt;init&gt;(JavaScriptCompressor.java:555)
    	at com.zimbra.cs.zimlet.ZimletResources.service(ZimletResources.java:165)
    	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    	at com.zimbra.cs.zimlet.ZimletFilter.doFilter(ZimletFilter.java:240)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)
    	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)
    	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.Server.handle(Server.java:326)
    	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585)
    	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:971)
    	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
    	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415)
    	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429)
    	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
    </pre>
    <hr /><i><small>Powered by Jetty://</small></i><br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    <br/>                                                
    
    </body>
    </html>
    
     	
    0 requests
    			
    0
    	
    0
    Last edited by ychaouche; 11-27-2012 at 09:05 AM.

Similar Threads

  1. [SOLVED] Can't deploy zimlet
    By loocek in forum Administrators
    Replies: 12
    Last Post: 02-14-2011, 01:00 PM
  2. Cannot deploy simple tab zimlet
    By fruitloaf in forum Zimlets
    Replies: 2
    Last Post: 10-28-2010, 02:26 PM
  3. [SOLVED] Social Zimlet only works in dev mode?
    By ScottCall in forum Zimlets
    Replies: 4
    Last Post: 04-15-2010, 11:06 AM
  4. Is an Undo feature for the mail compose mode in the works.
    By nyjetshead in forum General Questions
    Replies: 5
    Last Post: 01-17-2009, 01:30 PM
  5. zimlet deploy per user?
    By lkj in forum Administrators
    Replies: 2
    Last Post: 09-23-2008, 10:59 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
  •