Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 21/09/2014 06:40:11

niken
Guest
Registered: 19/09/2014
Posts: 7

I18N Unsupported zh language[Ametys 3.4.6]

I try to create mywebsite website (windows 7(64bit), ametys : 3.4.6):
below is my step to create website:
1. create new website: an empty site, Classical web site.
2.general information: set languages: English, French, Chinese, URL:localhost:8080
3.create test page.
When I access my public site: http://localhost:8080/
then throws exception as below :

2014-09-21 11:13:27,684 ERROR [sitemap.handled-errors] (611618594@qtp-900409598-13;/cms/generate/plugins/jquery-ui/resources/js/i18n/jquery.ui.datepicker-zh.js) Error during resolving of 'plugin:jquery-ui://resources/js/i18n/jquery.ui.datepicker-zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
2014-09-21 11:13:55,034 ERROR [sitemap.handled-errors] (646153587@qtp-900409598-20;/cms/generate/plugins/jquery-ui/resources/js/i18n/jquery.ui.datepicker-zh.js) Error during resolving of 'plugin:jquery-ui://resources/js/i18n/jquery.ui.datepicker-zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
2014-09-21 11:13:57,877 ERROR [sitemap.handled-errors] (1775565635@qtp-900409598-15;/cms/generate/plugins/jquery-ui/resources/js/i18n/jquery.ui.datepicker-zh.js) Error during resolving of 'plugin:jquery-ui://resources/js/i18n/jquery.ui.datepicker-zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
2014-09-21 11:32:05,013 ERROR [sitemap.handled-errors] (622897886@qtp-900409598-19;/cms/generate/plugins/jquery-ui/resources/js/i18n/jquery.ui.datepicker-zh.js) Error during resolving of 'plugin:jquery-ui://resources/js/i18n/jquery.ui.datepicker-zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
2014-09-21 11:33:01,868 ERROR [sitemap.handled-errors] (1993709724@qtp-900409598-22;/cms/generate/plugins/jquery-ui/resources/js/i18n/jquery.ui.datepicker-zh.js) Error during resolving of 'plugin:jquery-ui://resources/js/i18n/jquery.ui.datepicker-zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
2014-09-21 11:33:45,150 ERROR [sitemap] (622897886@qtp-900409598-19;/cms/plugins/core/jsfilelist/2055283672-false.js) Cannot minimize JS for aggregation /plugins/tiny_mce/resources/js/langs/zh.js
org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://plugins/tiny_mce/resources/js/langs/zh.js
    at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
    at org.ametys.runtime.plugins.core.ui.js.AllJSReader._handleFile(AllJSReader.java:144)
    at org.ametys.runtime.plugins.core.ui.js.AllJSReader.generate(AllJSReader.java:117)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:901)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:473)
    at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:85)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1159)
    at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:135)
    at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    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:418)
    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.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.apache.cocoon.ResourceNotFoundException: Error during resolving of 'plugin:tiny_mce://resources/js/langs/zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
    at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:380)
    at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215)
    at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:65)
    at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:541)
    at org.ametys.runtime.plugins.core.ui.js.AllJSReader._handleFile(AllJSReader.java:143)
    ... 65 more
Caused by: org.apache.cocoon.ResourceNotFoundException: Error during resolving of 'plugin:tiny_mce://resources/js/langs/zh.js'.
    at <map:read> - resource://org/ametys/runtime/kernel/sitemap.xmap:177:71
    at org.apache.cocoon.components.source.SourceUtil.handle(SourceUtil.java:472)
    at org.apache.cocoon.reading.ResourceReader.setup(ResourceReader.java:156)
    at org.ametys.runtime.cocoon.RuntimeResourceReader.setup(RuntimeResourceReader.java:62)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:595)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:499)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:515)
    at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:343)
    ... 74 more
Caused by: org.apache.excalibur.source.SourceNotFoundException: Resource not found for URI : resource://org/ametys/plugins/tiny_mce/resources/js/langs/zh.js
    at org.ametys.runtime.util.cocoon.source.ResourceSource.<init>(ResourceSource.java:67)
    at org.ametys.runtime.util.cocoon.source.ResourceSourceFactory.getSource(ResourceSourceFactory.java:31)
    at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:541)
    at org.ametys.runtime.plugin.PluginSourceFactory.getSource(PluginSourceFactory.java:86)
    at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
    at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:541)
    at org.ametys.runtime.cocoon.RuntimeResourceReader$SourceResolverWrapper.resolveURI(RuntimeResourceReader.java:101)
    at org.apache.cocoon.reading.ResourceReader.setup(ResourceReader.java:154)
    ... 79 more

Offline

#2 26/09/2014 11:32:00

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,117

Re: I18N Unsupported zh language[Ametys 3.4.6]

Appears that chinese is not supported in tiny_mce.
I do not understand your error : tinymce is used on the back, not the front

Such an error should not appear on the front.
You may activate the HMI debug mode in the admin of the back to avoid that this error block the access.
Can you create an issue in the jira ? 
thank you


Raphael Franchet
Expert Ametys

Offline

#3 05/12/2014 04:59:49

niken
Guest
Registered: 19/09/2014
Posts: 7

Re: I18N Unsupported zh language[Ametys 3.4.6]

Raphaël Franchet wrote:

Appears that chinese is not supported in tiny_mce.
I do not understand your error : tinymce is used on the back, not the front

Such an error should not appear on the front.
You may activate the HMI debug mode in the admin of the back to avoid that this error block the access.
Can you create an issue in the jira ? 
thank you


Hi,  is down always. please help to check it , thank you.

Offline

#4 05/12/2014 10:32:32

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,117

Re: I18N Unsupported zh language[Ametys 3.4.6]

We just upgraded it to a new JIRA version, it will back in a few minutes.


Raphael Franchet
Expert Ametys

Offline

Board footer

Powered by FluxBB