Re: [xwiki-users] managing very large amount of data
Sergiu, Thank you for your comment. 2009/10/17 Sergiu Dumitriu ser...@xwiki.com: One possible issue I can see is the fact that each entity uses a 64bit hash as its identifier, which can cause collisions. Normally that rarely happens, but as the number of entities increases, so does the chance of it happening. This means that some pairs of document names could not be used at the same time, so you'll have to rename one of them. I'll consider to use auto-number as document name and hide it from user. Thanks, ebi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki 2.0.1 problem after update
Hi, updated sucessfull to 2.0.1 but now some pages are displayed no more. There is an error instead. 2009-10-20 10:45:35,805 [http://xwikidev/bin/view/Org/WebProjektUebersicht0708] [http://xwikidev/bin/view/Org/WebProjektUebersicht0708] ERROR doc.XWikiDocument - Failed to parse document content to XDOM com.xpn.xwiki.XWikiException: Error number 0 in 4: Failed to parse content of syntax [xwiki/2.0] Wrapped Exception: Failed to parse input source at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5628) at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5618) at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:5534) at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:4404) at com.xpn.xwiki.api.Document.getDefaultEditMode(Document.java:1595) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493) 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.ASTIfStatement.render(ASTIfStatement.java:87) 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.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1642) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at
Re: [xwiki-users] XWiki 2.0.1 problem after update
Looks like a XWiki/2.0 parser bug. Could you create an issue on http://jira.xwiki.org with the failing content ? On Tue, Oct 20, 2009 at 10:52, hel-o h...@hel.at wrote: Hi, updated sucessfull to 2.0.1 but now some pages are displayed no more. There is an error instead. 2009-10-20 10:45:35,805 [http://xwikidev/bin/view/Org/WebProjektUebersicht0708] [http://xwikidev/bin/view/Org/WebProjektUebersicht0708] ERROR doc.XWikiDocument - Failed to parse document content to XDOM com.xpn.xwiki.XWikiException: Error number 0 in 4: Failed to parse content of syntax [xwiki/2.0] Wrapped Exception: Failed to parse input source at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5628) at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5618) at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:5534) at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:4404) at com.xpn.xwiki.api.Document.getDefaultEditMode(Document.java:1595) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493) 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.ASTIfStatement.render(ASTIfStatement.java:87) 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.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1642) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at
Re: [xwiki-users] Hierarchy / Document Tree in Xwiki
Hi JV, we installed the panel, but it seems to crash on Firefox (the Single Panel Site and the Panel Explorer keep loading infinitly and you can't click anywhere on the site) and IE throws an error: The Panel says loading data..., then IE pops a messagebox Stack overflow at line: 79. Any idea? Cheers, Harry Jean-Vincent Drean-3 wrote: I plan to contribute this panel for a while but I'll need to fix the following issue before that: http://jira.xwiki.org/jira/browse/XWIKI-3796 Anyway it's already usable even if not perfect, I've put it in our applications repo: http://code.xwiki.org/xwiki/bin/view/Applications/SpaceExplorerPanelApplication The tree is quite configurable, this is only one example of its possible uses. Thanks, JV. On Mon, Oct 19, 2009 at 6:31 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey JV, thanks for the quick reply! Is there a way to customize that view or move it into a panel which is always on the side? With customize I mean restricting it to specific Spaces for example. Cheers! Harry Jean-Vincent Drean-3 wrote: Hi Harry, Are you looking for this kind of tree : http://www.xwiki.org/xwiki/bin/view/Main/AllDocs?view=tree ? This tree display all the pages within the wiki by spaces and parent relationships. Thanks, JV. On Mon, Oct 19, 2009 at 5:22 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey all, I wanted to ask if there is something planned to organise Wiki Pages in a Tree Structure comparable to Tikiwiki for example (or like in Mediawiki where you make a new page with a simple list of Pages). http://n2.nabble.com/file/n3849665/TikiWiki_structures.jpg I looked around and foundly nearly nothing :( I really like Xwiki but it startles me that this must-have Wiki-feature is seemingly missing. Or maybe I didn't look good enough? At least I'm pretty frustrated right now. Well, here is what I found: http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin seems to be outdated and not available anymore. http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin isn't user friendly and actually I don't know how the heck I can get it to work. What best-practices do you guys have for independently organising pages in a hierarchical structure that is easy to use? Thanks! Harry -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3849665.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3850081.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3858921.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hierarchy / Document Tree in Xwiki
Is it a public website or can you give me an access so that I can reproduce ? JV. On Tue, Oct 20, 2009 at 4:27 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hi JV, we installed the panel, but it seems to crash on Firefox (the Single Panel Site and the Panel Explorer keep loading infinitly and you can't click anywhere on the site) and IE throws an error: The Panel says loading data..., then IE pops a messagebox Stack overflow at line: 79. Any idea? Cheers, Harry Jean-Vincent Drean-3 wrote: I plan to contribute this panel for a while but I'll need to fix the following issue before that: http://jira.xwiki.org/jira/browse/XWIKI-3796 Anyway it's already usable even if not perfect, I've put it in our applications repo: http://code.xwiki.org/xwiki/bin/view/Applications/SpaceExplorerPanelApplication The tree is quite configurable, this is only one example of its possible uses. Thanks, JV. On Mon, Oct 19, 2009 at 6:31 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey JV, thanks for the quick reply! Is there a way to customize that view or move it into a panel which is always on the side? With customize I mean restricting it to specific Spaces for example. Cheers! Harry Jean-Vincent Drean-3 wrote: Hi Harry, Are you looking for this kind of tree : http://www.xwiki.org/xwiki/bin/view/Main/AllDocs?view=tree ? This tree display all the pages within the wiki by spaces and parent relationships. Thanks, JV. On Mon, Oct 19, 2009 at 5:22 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey all, I wanted to ask if there is something planned to organise Wiki Pages in a Tree Structure comparable to Tikiwiki for example (or like in Mediawiki where you make a new page with a simple list of Pages). http://n2.nabble.com/file/n3849665/TikiWiki_structures.jpg I looked around and foundly nearly nothing :( I really like Xwiki but it startles me that this must-have Wiki-feature is seemingly missing. Or maybe I didn't look good enough? At least I'm pretty frustrated right now. Well, here is what I found: http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin seems to be outdated and not available anymore. http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin isn't user friendly and actually I don't know how the heck I can get it to work. What best-practices do you guys have for independently organising pages in a hierarchical structure that is easy to use? Thanks! Harry -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3849665.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3850081.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3858921.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Problem importing XAR from 1.6.1 to 2.0.1 - Mem DB Sizes OK
Hello Users, I am trying to import a 25 MB Xwiki 1.6.1 Export XAR file into our new 2.0.1 instace. I came trough all the memory issues and googled around but now I have .. - MySQL max_allowed_packet set to 256M. - Java Heap Size set to max 2G. - No . files in the XAR - no zro size files in the XAR Attaching the XAR files in the Import app works. The listing of the files therein does not ... Error: No documents found in the selected archive Archive is OK: unzip -t a1.xar No errors detected in compressed data of a1.xar. I'm using a tomcat5.5 container, trying to import right after restart of tomcat - so full memory for me ..., no errors in the logs anymore, but still No documents found message. Any hints? Thanks in advance Matt ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem importing XAR from 1.6.1 to 2.0.1 - Mem DB Sizes OK
Hi Matt, On Tue, Oct 20, 2009 at 4:07 PM, Matthias Lohmann l...@lynet.de wrote: Hello Users, I am trying to import a 25 MB Xwiki 1.6.1 Export XAR file into our new 2.0.1 instace. I came trough all the memory issues and googled around but now I have .. - MySQL max_allowed_packet set to 256M. - Java Heap Size set to max 2G. - No . files in the XAR - no zro size files in the XAR Attaching the XAR files in the Import app works. The listing of the files therein does not ... Error: No documents found in the selected archive Archive is OK: unzip -t a1.xar No errors detected in compressed data of a1.xar. I'm using a tomcat5.5 container, trying to import right after restart of tomcat - so full memory for me ..., no errors in the logs anymore, but still No documents found message. Any hints? Try using http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippetand see how it goes. Guillaume Thanks in advance Matt ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hierarchy / Document Tree in Xwiki
Unfortunately it's only internal and we have no possibility to provide external access :( Can I help you with any logs, debugging tools or anything? Jean-Vincent Drean-3 wrote: Is it a public website or can you give me an access so that I can reproduce ? JV. On Tue, Oct 20, 2009 at 4:27 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hi JV, we installed the panel, but it seems to crash on Firefox (the Single Panel Site and the Panel Explorer keep loading infinitly and you can't click anywhere on the site) and IE throws an error: The Panel says loading data..., then IE pops a messagebox Stack overflow at line: 79. Any idea? Cheers, Harry Jean-Vincent Drean-3 wrote: I plan to contribute this panel for a while but I'll need to fix the following issue before that: http://jira.xwiki.org/jira/browse/XWIKI-3796 Anyway it's already usable even if not perfect, I've put it in our applications repo: http://code.xwiki.org/xwiki/bin/view/Applications/SpaceExplorerPanelApplication The tree is quite configurable, this is only one example of its possible uses. Thanks, JV. On Mon, Oct 19, 2009 at 6:31 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey JV, thanks for the quick reply! Is there a way to customize that view or move it into a panel which is always on the side? With customize I mean restricting it to specific Spaces for example. Cheers! Harry Jean-Vincent Drean-3 wrote: Hi Harry, Are you looking for this kind of tree : http://www.xwiki.org/xwiki/bin/view/Main/AllDocs?view=tree ? This tree display all the pages within the wiki by spaces and parent relationships. Thanks, JV. On Mon, Oct 19, 2009 at 5:22 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey all, I wanted to ask if there is something planned to organise Wiki Pages in a Tree Structure comparable to Tikiwiki for example (or like in Mediawiki where you make a new page with a simple list of Pages). http://n2.nabble.com/file/n3849665/TikiWiki_structures.jpg I looked around and foundly nearly nothing :( I really like Xwiki but it startles me that this must-have Wiki-feature is seemingly missing. Or maybe I didn't look good enough? At least I'm pretty frustrated right now. Well, here is what I found: http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin seems to be outdated and not available anymore. http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin isn't user friendly and actually I don't know how the heck I can get it to work. What best-practices do you guys have for independently organising pages in a hierarchical structure that is easy to use? Thanks! Harry -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3849665.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3850081.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3858921.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3859177.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hierarchy / Document Tree in Xwiki
Can you install firebug (firefox extension) and see if there's useful info in the console ? JV. On Tue, Oct 20, 2009 at 5:11 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Unfortunately it's only internal and we have no possibility to provide external access :( Can I help you with any logs, debugging tools or anything? Jean-Vincent Drean-3 wrote: Is it a public website or can you give me an access so that I can reproduce ? JV. On Tue, Oct 20, 2009 at 4:27 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hi JV, we installed the panel, but it seems to crash on Firefox (the Single Panel Site and the Panel Explorer keep loading infinitly and you can't click anywhere on the site) and IE throws an error: The Panel says loading data..., then IE pops a messagebox Stack overflow at line: 79. Any idea? Cheers, Harry Jean-Vincent Drean-3 wrote: I plan to contribute this panel for a while but I'll need to fix the following issue before that: http://jira.xwiki.org/jira/browse/XWIKI-3796 Anyway it's already usable even if not perfect, I've put it in our applications repo: http://code.xwiki.org/xwiki/bin/view/Applications/SpaceExplorerPanelApplication The tree is quite configurable, this is only one example of its possible uses. Thanks, JV. On Mon, Oct 19, 2009 at 6:31 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey JV, thanks for the quick reply! Is there a way to customize that view or move it into a panel which is always on the side? With customize I mean restricting it to specific Spaces for example. Cheers! Harry Jean-Vincent Drean-3 wrote: Hi Harry, Are you looking for this kind of tree : http://www.xwiki.org/xwiki/bin/view/Main/AllDocs?view=tree ? This tree display all the pages within the wiki by spaces and parent relationships. Thanks, JV. On Mon, Oct 19, 2009 at 5:22 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey all, I wanted to ask if there is something planned to organise Wiki Pages in a Tree Structure comparable to Tikiwiki for example (or like in Mediawiki where you make a new page with a simple list of Pages). http://n2.nabble.com/file/n3849665/TikiWiki_structures.jpg I looked around and foundly nearly nothing :( I really like Xwiki but it startles me that this must-have Wiki-feature is seemingly missing. Or maybe I didn't look good enough? At least I'm pretty frustrated right now. Well, here is what I found: http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin seems to be outdated and not available anymore. http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin isn't user friendly and actually I don't know how the heck I can get it to work. What best-practices do you guys have for independently organising pages in a hierarchical structure that is easy to use? Thanks! Harry -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3849665.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3850081.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3858921.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3859177.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem importing XAR from 1.6.1 to 2.0.1 - Mem DB Sizes OK
Hello Guillaume, first test worked good - I could import nearly all the data Still have to check a few things if all went well, but the first step ist done. Thanks for the tip ... Kind regards Matt Hi Matt, On Tue, Oct 20, 2009 at 4:07 PM, Matthias Lohmann l...@lynet.de wrote: Hello Users, I am trying to import a 25 MB Xwiki 1.6.1 Export XAR file into our new 2.0.1 instace. I came trough all the memory issues and googled around but now I have .. - MySQL max_allowed_packet set to 256M. - Java Heap Size set to max 2G. - No . files in the XAR - no zro size files in the XAR Attaching the XAR files in the Import app works. The listing of the files therein does not ... Error: No documents found in the selected archive Archive is OK: unzip -t a1.xar No errors detected in compressed data of a1.xar. I'm using a tomcat5.5 container, trying to import right after restart of tomcat - so full memory for me ..., no errors in the logs anymore, but still No documents found message. Any hints? Try using http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippetand see how it goes. Guillaume Thanks in advance Matt ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Hierarchy / Document Tree in Xwiki
Hey JV, I sent you an email with the errors. In short: too much recursion .../xwiki/resources/js/smartclient/modules/ISC_Grids.js Line 79 Jean-Vincent Drean-3 wrote: Can you install firebug (firefox extension) and see if there's useful info in the console ? JV. On Tue, Oct 20, 2009 at 5:11 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Unfortunately it's only internal and we have no possibility to provide external access :( Can I help you with any logs, debugging tools or anything? Jean-Vincent Drean-3 wrote: Is it a public website or can you give me an access so that I can reproduce ? JV. On Tue, Oct 20, 2009 at 4:27 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hi JV, we installed the panel, but it seems to crash on Firefox (the Single Panel Site and the Panel Explorer keep loading infinitly and you can't click anywhere on the site) and IE throws an error: The Panel says loading data..., then IE pops a messagebox Stack overflow at line: 79. Any idea? Cheers, Harry Jean-Vincent Drean-3 wrote: I plan to contribute this panel for a while but I'll need to fix the following issue before that: http://jira.xwiki.org/jira/browse/XWIKI-3796 Anyway it's already usable even if not perfect, I've put it in our applications repo: http://code.xwiki.org/xwiki/bin/view/Applications/SpaceExplorerPanelApplication The tree is quite configurable, this is only one example of its possible uses. Thanks, JV. On Mon, Oct 19, 2009 at 6:31 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey JV, thanks for the quick reply! Is there a way to customize that view or move it into a panel which is always on the side? With customize I mean restricting it to specific Spaces for example. Cheers! Harry Jean-Vincent Drean-3 wrote: Hi Harry, Are you looking for this kind of tree : http://www.xwiki.org/xwiki/bin/view/Main/AllDocs?view=tree ? This tree display all the pages within the wiki by spaces and parent relationships. Thanks, JV. On Mon, Oct 19, 2009 at 5:22 PM, hoestreicher hoestreic...@chimera-entertainment.de wrote: Hey all, I wanted to ask if there is something planned to organise Wiki Pages in a Tree Structure comparable to Tikiwiki for example (or like in Mediawiki where you make a new page with a simple list of Pages). http://n2.nabble.com/file/n3849665/TikiWiki_structures.jpg I looked around and foundly nearly nothing :( I really like Xwiki but it startles me that this must-have Wiki-feature is seemingly missing. Or maybe I didn't look good enough? At least I'm pretty frustrated right now. Well, here is what I found: http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin seems to be outdated and not available anymore. http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin isn't user friendly and actually I don't know how the heck I can get it to work. What best-practices do you guys have for independently organising pages in a hierarchical structure that is easy to use? Thanks! Harry -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3849665.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3850081.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3858921.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Hierarchy-Document-Tree-in-Xwiki-tp3849665p3859177.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context:
Re: [xwiki-users] Hierarchy / Document Tree in Xwiki
On 10/20/2009 06:29 PM, hoestreicher wrote: Hey JV, I sent you an email with the errors. In short: too much recursion .../xwiki/resources/js/smartclient/modules/ISC_Grids.js Line 79 Do you by any chance have circular parent relations? Like Document.A has parent Document.B, which has parent Document.C, which has parent Document.A? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge
Sergiu Dumitriu wrote: On 10/16/2009 08:37 PM, breeden wrote: Ahh, ok. My platform is 2.0.24043 but the POM for my component was using xwiki-core-component and xwiki-core-bridge v1.8-SNAPSHOT (that tutorial archetype... :-)). I set xwiki-core-component to v1.9 and xwiki-core-bridge to v2.0 and it's working. Why 1.9 and not 2.0? With 2.0 I get Missing artifact org.xwiki.platform:xwiki-core-component:jar:2.0:compile ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Accidentally Imported Old XAR
Does nobody have any advice they can give me? Thanks, Alan on 10/18/2009 03:59 PM Alan Flisch said the following: I think I've just done something very silly. I upgraded to version 2.0.24043 and I then installed the corresponding xar and that's when things went wrong! I now have the old seagull skin and I can't access most of the admin options including the import section. I suspect I must have accidentally imported pages from an old xar. How can I get out this mess? Help very gratefully received. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Accidentally Imported Old XAR
Hi! Alan Flisch wrote: Does nobody have any advice they can give me? Reimporting the concerned pages from the right XAR ? What do you get when going to... http://yourhost/xwiki/bin/import/XWiki/XWikiPreferences ? Thanks! -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge
On Tue, Oct 20, 2009 at 19:25, David Breeden dbree...@stottlerhenke.com wrote: Sergiu Dumitriu wrote: On 10/16/2009 08:37 PM, breeden wrote: Ahh, ok. My platform is 2.0.24043 but the POM for my component was using xwiki-core-component and xwiki-core-bridge v1.8-SNAPSHOT (that tutorial archetype... :-)). I set xwiki-core-component to v1.9 and xwiki-core-bridge to v2.0 and it's working. Why 1.9 and not 2.0? With 2.0 I get Missing artifact org.xwiki.platform:xwiki-core-component:jar:2.0:compile It's because the name changed: there is now: - xwiki-core-component-api for the api - xwiki-core-component-default for the default implementation in your case simpley change for xwiki-core-component-api ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] error installing xwiki 2.0.1
Hi all, I've installed xwiki 2.0.1 on several systems. I've got the error below on a few of them just opening the wiki for the Recent Changes - Failed to execute macro: velocity. I've solved it for one wiki (solved it by accident) exporting and importing that wiki. The second one is to big to do so. The error rises for a farm wiki and a standard wiki. I am switching back to the 2.0 wiki .war using the 2.0.1 .xar pages. Kind regards mb This is the 100KB version of that Mail org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [## ## Recent changes. ## ## Optional parameters : ## ## Parameters which can be set in velocity before including this page or can be passed as HTTP parameters. ## Note that HTTP parameters supercede velocity set variables. ## ## - rcShowMinor (String set to true or false): show minor edits. ## - rcShowDiff (String set to true or false): show diff in items. ## - rcShowRss (String set to true or false): show RSS at the bottom of the list. ## - rcChangesNb (String set to a numerical value): number of recent changes to display. ## - rcSpace (List of string[s]): restrict recent changes retrieval to pages within the given space. ## - rcTag (List of string[s]): restrict recent changes retrieval to pages with the given tag. ## - rcAuthor (List of string[s]): restrict recent changes retrieval to pages with the given author. ## ## Parameters which can be set before including this page only. ## ## - rcDocumentNames (Collection): The list of recentlyChanged documents, to reuse a previous search query. ## $xwiki.jsx.use(Main.RecentChanges)## $xwiki.ssx.use(Main.RecentChanges)## #set($action = $!request.getParameter('action')) ## ## Start execution timer ## #set($execStart = $util.getDate()) ## ## Go to diff URL service. ## #if($action == goToDiffURL) #set($page = $!request.getParameter('page')) #set($author = $!request.getParameter('author')) #set($date = $!request.getParameter('date')) #set($period = $xwiki.criteriaService.getPeriodFactory().createDayPeriod($date)) #set($criterion = $xwiki.criteriaService.getRevisionCriteriaFactory().createRevisionCriteria($author, $period)) #if($!request.getParameter('rcShowMinor') == true) #set($discard = $criterion.setIncludeMinorVersions(true)) #end #set($diffDoc = $xwiki.getDocument($page)) #set($revisions = $diffDoc.getRevisions($criterion)) #set($rev1 = $listtool.get($revisions, 0)) #set($revMax = $revisions.size() - 1) #set($rev2 = $listtool.get($revisions, $revMax)) #if($rev2 != 1.1) #set($rev2 = $xwiki.getDocument($diffDoc, $rev2).getPreviousVersion()) #end $response.sendRedirect($diffDoc.getURL(view, viewer=changesrev1=${rev1}rev2=${rev2})) #end ## We have to use the HTML macro to avoid prints of multiple nbsp on macro calls. {{html}} ## Manage minor edits. #setVariableFromRequest($rcShowMinor rcShowMinor false) ## Manage show diff in items. #setVariableFromRequest($rcShowDiff rcShowDiff true) ## Manage show RSS links. #setVariableFromRequest($rcShowRss rcShowRss true) ## Manage number of changes to display. #setVariableFromRequest($rcChangesNb rcChangesNb 30) ## Manage tag criterion #setVariableFromRequest($rcTag rcTag []) ## Manage space criterion #setVariableFromRequest($rcSpace rcSpace []) ## Manage author criterion #setVariableFromRequest($rcAuthor rcAuthor []) {{/html}} ## ## Create a string containing one or more ? given the number of values in the passed list. ## #macro(createQueryParameters $values $parameters) #foreach($value in $values) #if($parameters == ) #set($parameters = ?) #else #set($parameters = ${parameters}, ?) #end #end #end ## ## Retrieve recently changed documents. ## #set($criteria = $util.getHashMap()) #if($!rcDocumentNames == ) #if(!$xwiki.hasMinorEdit() || $rcShowMinor) #set ($hqlQuery = where 1=1 order by doc.date desc) #else #set ($hqlQuery = , XWikiRCSNodeInfo as ni where doc.id=ni.id.docId and ni.id.version2=1 #if(!$isAdvancedUser)and doc.author != 'superadmin'#end group by doc.space, doc.name order by max(ni.date) desc) #end ## Create space criterion. #if($rcSpace.size() 0) #set($spaceParameters = ) #createQueryParameters($rcSpace $spaceParameters) #set($discard = $criteria.put(doc.space in (${spaceParameters}), $rcSpace)) #end ## Create tag criterion. #if($!xwiki.getPlugin('tag') != $rcTag.size() 0) #set($docsWithTag = $util.getArrayList()) #foreach($item in $rcTag) #set($discard = $docsWithTag.addAll($xwiki.tag.getDocumentsWithTag($item))) #end #set($docsWithTagParameters = ) #createQueryParameters($docsWithTag $docsWithTagParameters) #set($discard = $criteria.put(doc.fullName in (${docsWithTagParameters}), $docsWithTag)) #end #if($rcAuthor.size() 0) #set($authorParameters = ) #createQueryParameters($rcAuthor $authorParameters) #set($discard = $criteria.put(doc.author in
Re: [xwiki-users] XWiki 2.0.1 problem after update
Sure, any way to get those pages to work. We imported a lot of pages with the office importer without filtering styles (not my idea :) Those pages were displayed fine in 1.9.3 and i cleaned them when ever i changed one of those pages. But there were still plenty left and all those pages don't work anymore after the upgrade:( Thanks hel. tmortagne wrote: Looks like a XWiki/2.0 parser bug. Could you create an issue on http://jira.xwiki.org with the failing content ? On Tue, Oct 20, 2009 at 10:52, hel-o h...@hel.at wrote: Hi, updated sucessfull to 2.0.1 but now some pages are displayed no more. There is an error instead. 2009-10-20 10:45:35,805 [http://xwikidev/bin/view/Org/WebProjektUebersicht0708] [http://xwikidev/bin/view/Org/WebProjektUebersicht0708] ERROR doc.XWikiDocument - Failed to parse document content to XDOM com.xpn.xwiki.XWikiException: Error number 0 in 4: Failed to parse content of syntax [xwiki/2.0] Wrapped Exception: Failed to parse input source at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5628) at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5618) at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:5534) at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:4404) at com.xpn.xwiki.api.Document.getDefaultEditMode(Document.java:1595) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493) 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.ASTIfStatement.render(ASTIfStatement.java:87) 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.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1642) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at
Re: [xwiki-users] Accidentally Imported Old XAR
Thanks Ricardo, That URL was giving me a just a page with the old albatross skin and no content, but now having restarted the application things seem to have resolved themselves to some extent. I'm now get all the administration options anyway. Thanks, Alan on 10/20/2009 06:56 PM [Ricardo Rodriguez] Your EPEC Network ICT Team said the following: Hi! Alan Flisch wrote: Does nobody have any advice they can give me? Reimporting the concerned pages from the right XAR ? What do you get when going to... http://yourhost/xwiki/bin/import/XWiki/XWikiPreferences ? Thanks! -- *Palmyra, Priestland, Ayrshire, KA17 0LP 07854 981 109 a...@flisch.net * ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
This wiki will be used to demo a community project planning application I am developing on the XWiki platform as a senior project for my B.S. in Computer Science Admin: jkeastburn Domain Name: communityforum Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] error installing xwiki 2.0.1
Hi all, Just a note: This mail is for information only, I'll do the next test on that issue running the 2.0.2 version. Thanks mb -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Michael Beetz Sent: Tuesday, October 20, 2009 10:15 PM To: XWiki Users Subject: [xwiki-users] error installing xwiki 2.0.1 Hi all, I've installed xwiki 2.0.1 on several systems. I've got the error below on a few of them just opening the wiki for the Recent Changes - Failed to execute macro: velocity. I've solved it for one wiki (solved it by accident) exporting and importing that wiki. The second one is to big to do so. The error rises for a farm wiki and a standard wiki. I am switching back to the 2.0 wiki .war using the 2.0.1 .xar pages. Kind regards mb This is the 100KB version of that Mail org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [## ## Recent changes. ## ## Optional parameters : ## ## Parameters which can be set in velocity before including this page or can be passed as HTTP parameters. ## Note that HTTP parameters supercede velocity set variables. ## ## - rcShowMinor (String set to true or false): show minor edits. ## - rcShowDiff (String set to true or false): show diff in items. ## - rcShowRss (String set to true or false): show RSS at the bottom of the list. ## - rcChangesNb (String set to a numerical value): number of recent changes to display. ## - rcSpace (List of string[s]): restrict recent changes retrieval to pages within the given space. ## - rcTag (List of string[s]): restrict recent changes retrieval to pages with the given tag. ## - rcAuthor (List of string[s]): restrict recent changes retrieval to pages with the given author. ## ## Parameters which can be set before including this page only. ## ## - rcDocumentNames (Collection): The list of recentlyChanged documents, to reuse a previous search query. ## $xwiki.jsx.use(Main.RecentChanges)## $xwiki.ssx.use(Main.RecentChanges)## #set($action = $!request.getParameter('action')) ## ## Start execution timer ## #set($execStart = $util.getDate()) ## ## Go to diff URL service. ## #if($action == goToDiffURL) #set($page = $!request.getParameter('page')) #set($author = $!request.getParameter('author')) #set($date = $!request.getParameter('date')) #set($period = $xwiki.criteriaService.getPeriodFactory().createDayPeriod($date)) #set($criterion = $xwiki.criteriaService.getRevisionCriteriaFactory().createRevisionCriteria($author, $period)) #if($!request.getParameter('rcShowMinor') == true) #set($discard = $criterion.setIncludeMinorVersions(true)) #end #set($diffDoc = $xwiki.getDocument($page)) #set($revisions = $diffDoc.getRevisions($criterion)) #set($rev1 = $listtool.get($revisions, 0)) #set($revMax = $revisions.size() - 1) #set($rev2 = $listtool.get($revisions, $revMax)) #if($rev2 != 1.1) #set($rev2 = $xwiki.getDocument($diffDoc, $rev2).getPreviousVersion()) #end $response.sendRedirect($diffDoc.getURL(view, viewer=changesrev1=${rev1}rev2=${rev2})) #end ## We have to use the HTML macro to avoid prints of multiple nbsp on macro calls. {{html}} ## Manage minor edits. #setVariableFromRequest($rcShowMinor rcShowMinor false) ## Manage show diff in items. #setVariableFromRequest($rcShowDiff rcShowDiff true) ## Manage show RSS links. #setVariableFromRequest($rcShowRss rcShowRss true) ## Manage number of changes to display. #setVariableFromRequest($rcChangesNb rcChangesNb 30) ## Manage tag criterion #setVariableFromRequest($rcTag rcTag []) ## Manage space criterion #setVariableFromRequest($rcSpace rcSpace []) ## Manage author criterion #setVariableFromRequest($rcAuthor rcAuthor []) {{/html}} ## ## Create a string containing one or more ? given the number of values in the passed list. ## #macro(createQueryParameters $values $parameters) #foreach($value in $values) #if($parameters == ) #set($parameters = ?) #else #set($parameters = ${parameters}, ?) #end #end #end ## ## Retrieve recently changed documents. ## #set($criteria = $util.getHashMap()) #if($!rcDocumentNames == ) #if(!$xwiki.hasMinorEdit() || $rcShowMinor) #set ($hqlQuery = where 1=1 order by doc.date desc) #else #set ($hqlQuery = , XWikiRCSNodeInfo as ni where doc.id=ni.id.docId and ni.id.version2=1 #if(!$isAdvancedUser)and doc.author != 'superadmin'#end group by doc.space, doc.name order by max(ni.date) desc) #end ## Create space criterion. #if($rcSpace.size() 0) #set($spaceParameters = ) #createQueryParameters($rcSpace $spaceParameters) #set($discard = $criteria.put(doc.space in (${spaceParameters}), $rcSpace)) #end ## Create tag criterion. #if($!xwiki.getPlugin('tag') != $rcTag.size() 0) #set($docsWithTag = $util.getArrayList()) #foreach($item in $rcTag) #set($discard = $docsWithTag.addAll($xwiki.tag.getDocumentsWithTag($item))) #end