On Oct 28, 2011, at 10:03 AM, Yang Li wrote:
于 2011/10/28 15:51, Vincent Massol 写道:
Hi,
On Oct 28, 2011, at 9:48 AM, Yang Li wrote:
> 于 2011/10/28 15:04, Thomas Mortagne 写道:
>>
>> "You don't have the right to execute this script" is pretty clear,
>> that means you don't have programming right.
>>
> How can I get programming right?
> Since I installed the extension as administrator and checked the test
> presentation page as administrator!
If you're installing this extension in a farm then you must have
programming rights at the farm level (ie on the main wiki of the farm).
Where are you installing it?
I am not using a farm...I installed the latest XE3.2 into Tomcat with
mysql and then imported all the former pages from an XE3.1 installation into
it and then imported the basis XE3.2 xar files ....
I tried to grant Programing rights to the Admin group just now, and
reimported the presentation xar as administrator, it still doesn't work :(
Make sure you're logged with a user with programming rights, edit
Presentation.PresentationSkin and just save it. Do the same with
Presentation.PresentationSlideGenerator (these are the 2 pages requiring
Programming Rights).
Thanks
-Vincent
Thanks
-Vincent
>> On Fri, Oct 28, 2011 at 7:40 AM, Yang Li<yang.lee.cool(a)gmail.com>
>> wrote:
>>>
>>> After add the presentation class to the page, I got the following
>>> error
>>> even as the adminitrator.
>>>
>>> *Slides*Failed to execute the [groovy]
>>> macroorg.xwiki.rendering.macro.MacroExecutionException: You don't
>>> have
>>> the right to execute this script at
>>>
>>>
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
>>> at
>>>
>>>
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
>>> at
>>>
>>>
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:196)
>>> at
>>>
>>>
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:141)
>>> at
>>>
>>>
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:81)
>>> at
>>>
>>>
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
>>> at
>>>
>>>
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
>>> at
>>>
>>>
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
>>> at
>>>
>>>
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
>>> at
>>>
>>>
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
>>> at
>>>
>>>
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:232)
>>> at
>>>
>>>
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.displayAsSheetAuthor(SheetDocumentDisplayer.java:204)
>>> at
>>>
>>>
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:168)
>>> at
>>>
>>>
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:104)
>>> at
>>>
>>>
com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:57)
>>> at
>>>
>>>
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
>>> at
>>>
>>>
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
>>> at
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:827)
>>> at
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:806)
>>> at
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:837)
>>> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:585)
>>> at
>>> sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
>>> java.lang.reflect.Method.invoke(Unknown Source) at
>>>
>>>
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
>>> at
>>>
>>>
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
>>> at
>>>
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at
>>>
>>>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>>> at
>>>
>>>
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:186)
>>> at
>>>
>>>
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152)
>>> at
>>>
>>>
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
>>> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1816) at
>>> com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1753) at
>>> com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:841) at
>>> sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
>>> java.lang.reflect.Method.invoke(Unknown Source) at
>>>
>>>
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
>>> at
>>>
>>>
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
>>> at
>>>
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at
>>>
>>>
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
>>> at
>>>
>>>
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
>>> at
>>>
>>>
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>>> at
>>>
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
>>> at
>>>
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at
>>>
>>>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>>> at
>>>
>>>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>>> at
>>>
>>>
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:186)
>>> at
>>>
>>>
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:152)
>>> at
>>>
>>>
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
>>> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1816) at
>>> com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154) at
>>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) at
>>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at
>>>
>>>
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>>> at
>>>
>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>> at
>>>
>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>> at
>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>>
>>>
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>>
>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>>
>>>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>>
>>>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>> at
>>>
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>>
>>>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>>> at
>>>
>>>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>>> at
>>>
>>>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>> at
>>>
>>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>>> at
>>>
>>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>> at
>>>
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at
>>>
>>>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>> at
>>>
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
>>> at
>>>
>>>
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
>>> at
>>>
>>>
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
>>> at
>>>
>>>
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1824)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>> Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>> Source) at java.lang.Thread.run(Unknown Source)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org