[xwiki-users] off-line-Version of XWiki

2013-01-23 Thread lists

Hello again!

I would like to make a xwiki-instance accessible off-line. I tried to  
export everything as HTML with rather bad results as the navigation  
and the scripting isn't exported. So the idea was to somehow export  
xwiki to some standalone version. Has anyone ever done something like  
this and wouldn't mind sharing his/her inside thoughts?


Thanks for your help,

Stephanie
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem in French Characters

2013-01-23 Thread Boudjelda Mohamed Said
 Hi Users and Devs

 I have a problem on displaying French characters (accented characters)
from an attribute value of object example :

$myobject.get(companyname) and it displas L'élement

any one know how could I solve this problem Please


Thanks
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem in French Characters

2013-01-23 Thread Arnaud bourree
Set all your encoding to utf8: database, tomcat

Arnaud.

2013/1/23 Boudjelda Mohamed Said bmsc...@gmail.com:
  Hi Users and Devs

  I have a problem on displaying French characters (accented characters)
 from an attribute value of object example :

 $myobject.get(companyname) and it displas L'élement

 any one know how could I solve this problem Please


 Thanks
 ___
 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] Error after migration from 4.3.1 to 4.4.1

2013-01-23 Thread djiock
Hello,

I'm getting an error after upgrading xwiki from 4.3.1 to 4.4.1 using Debian
packages :

Error number 4001 in 4: Error while parsing velocity page
/templates/distribution.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/distribution.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page /templates/distribution.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/distribution.vm]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
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:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
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:66)
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:208)
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:111)
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:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content with id [/templates/distribution.vm]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
... 41 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'get' in  class com.xpn.xwiki.web.XWikiMessageTool
threw exception java.lang.IllegalArgumentException: 

Re: [xwiki-users] Problem in French Characters

2013-01-23 Thread Guillaume Fenollar
Indeed, it's not about XWiki (which is configured by default for UTF-8) but
about Tomcat and Mysql.

Tomcat configuration about utf-8 is in the connector.
See.http://struts.apache.org/2.0.6/docs/how-to-support-utf-8-uriencoding-with-tomcat.html
MySQL configuration is in /etc/my.cnf. Here a complete link about character
set and 
collationhttp://cameronyule.com/2008/07/configuring-mysql-to-use-utf-8/.
We advise you utf-8 as character set, and utf8_bin as collation. If your
tables are already configured with latin1 or something else, you'll need to
convert your existing tables.

Regards,

Guillaume

2013/1/23 Arnaud bourree arnaud.bour...@gmail.com

 Set all your encoding to utf8: database, tomcat

 Arnaud.

 2013/1/23 Boudjelda Mohamed Said bmsc...@gmail.com:
   Hi Users and Devs
 
   I have a problem on displaying French characters (accented
 characters)
  from an attribute value of object example :
 
  $myobject.get(companyname) and it displas L'élement
 
  any one know how could I solve this problem Please
 
 
  Thanks
  ___
  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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Avatar in livetables oversized after migrating to 4.4

2013-01-23 Thread Nicolas Sanitas
Hi all,

I've got a problem after having migrating to 4.4.

I use a few livetables in different workspaces displaying their users ; it
worked well until now.

But the avatar are now oversized when displayed in livetables, ie. it looks
that it's the photo in its actual size which is displayed...

I precise that I tried to upload new avatars; I also verified that this
happened in all my workspaces.

I was previously in 4.2.

Anybody can help?

Thanks by advance,

Nicolas
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Authenticate to database backend with kerberos

2013-01-23 Thread Eric McCorkle
Hi,

I'm trying to set up XWiki in a network with a PostgreSQL database that
uses kerberos for authentication.

I know it is possible to control the authentication mechanism used by
the JDBC driver using login.conf.  For example, the following simple
program accesses a postgresql database:

import java.sql.*;
import java.util.*;
import org.postgresql.Driver;

class Test {

  public static void main(String... args) throws Exception {

Properties props = new Properties();

props.setProperty(loglevel, 2);
props.setProperty(user, xwiki);
props.setProperty(ssl, true);

Connection conn =
DriverManager.getConnection(jdbc:postgresql://db.example.com:5432/xwiki,
props);
  }

}

It can be made to use a kerberos keytab by passing
-Djava.security.auth.login.config=login.conf, with the following
login.conf file:

pgjdbc {
  com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true
keyTab=xwiki.keytab principal=xwiki storeKey=true doNotPrompt=true;
};

(pgjdbc is apparently the default application name for the postgresql
driver)

I want to do something similar with the xwiki installation (running
inside tomcat 7).

1) Is there some reason this cannot be done?

2) What is the application name I need to give in login.conf for this to
work properly?

Thanks,
Eric
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Avatar in livetables oversized after migrating to 4.4

2013-01-23 Thread Sergiu Dumitriu
On 01/23/2013 03:20 PM, Nicolas Sanitas wrote:
 Hi all,
 
 I've got a problem after having migrating to 4.4.
 
 I use a few livetables in different workspaces displaying their users ; it
 worked well until now.
 
 But the avatar are now oversized when displayed in livetables, ie. it looks
 that it's the photo in its actual size which is displayed...
 
 I precise that I tried to upload new avatars; I also verified that this
 happened in all my workspaces.
 
 I was previously in 4.2.
 
 Anybody can help?
 
 Thanks by advance,
 
 Nicolas

Hi Nicolas,

This is a know regression which will be fixed in 4.4.1 (to be announced
in a few days, probably tomorrow)

http://jira.xwiki.org/browse/XWIKI-8663

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Overview of supported languages for the code macro

2013-01-23 Thread Ldm Public

Hello,

I've tried to document this Macro on http://platform.xwiki.org by 
running/displaying somewhere the macro results, but I failed :
- I'm not allowed to create a new page (I was thinking of creating a page 
containing Richard's macro)
- I'm not allowed to modify syntax page 
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax (I was thinking of 
adding a footnote with link to the extension)
- thus I've checked if I was allowed to add a comment on the page 
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax and I succeed with a 
dummy comment but now I can not change/remove this comment ;-(.


2 requests:
First : please delete my dummy comment here : 
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax . That's in advance to 
Wiki admins
Second : what is the best way to promote Richard's macro and to let users know 
what are / how they can check the available languages in Code macro ?


regards,

Le 23/01/2013 08:10, Richard Hierlmeier a écrit :

Am 22.01.2013 18:04, schrieb Vincent Massol:


On Jan 22, 2013, at 5:51 PM, Richard Hierlmeier rhierlme...@googlemail.com 
wrote:



Am 21.01.2013 21:37, schrieb Vincent Massol:

Hi Richard,

On Jan 21, 2013, at 9:10 PM, Richard Hierlmeier 
rhierlme...@googlemail.com wrote:




Hi XWiki users,

I could not find in the XWiki documentation a hint of the supported 
languages for the code macro.


I wrote a small script in a XWiki page that read out of pygment (the 
technology behind the code macro) all supported languages with language 
name, files extension and mimetype.


See:

http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages


Very nice! Would be awesome if you contribute it as a code snippet on 
http://extensions.xwiki.org ! :)


I added the following page:

http://extensions.xwiki.org/xwiki/bin/view/Extension/Supported+Languages+in+CodeMacro 



Thanks but this is not correct…

What you need to do is contribute an extension of type snippet.

Go to http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome and in the 
contribute extension field type Supported Languages in Code Macro and 
click submit… :)




Sorry for that,

I added a extension is the described way:

http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages

Vincent can you delete the incorrect page.

Richard



Thanks
-Vincent

___
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



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Avatar in livetables oversized after migrating to 4.4

2013-01-23 Thread Nicolas Sanitas
Thanks a lot; and sorry I missed the issue in Jira.


2013/1/24 Sergiu Dumitriu ser...@xwiki.com

 On 01/23/2013 03:20 PM, Nicolas Sanitas wrote:
  Hi all,
 
  I've got a problem after having migrating to 4.4.
 
  I use a few livetables in different workspaces displaying their users ;
 it
  worked well until now.
 
  But the avatar are now oversized when displayed in livetables, ie. it
 looks
  that it's the photo in its actual size which is displayed...
 
  I precise that I tried to upload new avatars; I also verified that this
  happened in all my workspaces.
 
  I was previously in 4.2.
 
  Anybody can help?
 
  Thanks by advance,
 
  Nicolas

 Hi Nicolas,

 This is a know regression which will be fixed in 4.4.1 (to be announced
 in a few days, probably tomorrow)

 http://jira.xwiki.org/browse/XWIKI-8663

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 

*Nicolas SANITAS*
InTech S.A.
17-19 avenue de la Libération
L-3850 Schifflange - LUXEMBOURG

Tél : +352 53 11 53
Fax : +352 53 15 93
nicolas.sani...@intech.lu
MeetMe: Doodle http://doodle.com/nsanitas

Les informations contenues dans cet email peuvent être confidentielles
ou protégées par des lois en vigueur. Elles sont à l'attention des
destinataires uniquement. Les données nominatives éventuelles ne
peuvent être communiquées à des tiers par le récepteur de cet email.

Si vous n'êtes pas le destinataire principal, ni un des destinataires
placés en copie, la divulgation, la copie, la diffusion ou toute autre
utilisation de cet email est prohibée et peut être illégale. Dans ce
cas, merci d'avertir l'émetteur immédiatement et de détruire cet
email.

Please consider the environment before printing this email.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Overview of supported languages for the code macro

2013-01-23 Thread Vincent Massol
Hi,

On Jan 24, 2013, at 7:29 AM, Ldm Public ldm...@gmail.com wrote:

 Hello,
 
 I've tried to document this Macro on http://platform.xwiki.org by 
 running/displaying somewhere the macro results, but I failed :
 - I'm not allowed to create a new page (I was thinking of creating a page 
 containing Richard's macro)

Anyone registered can create pages normally so that's strange. However this 
doesn't look like the place to document the code macro. That is already done 
here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Code+Macro

Not sure what is Richard's macro but if Richard contributed a new macro it 
should be contributed on extensions.xwiki.org and thus documented in that page 
there.

 - I'm not allowed to modify syntax page 
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax (I was thinking of 
 adding a footnote with link to the extension)

This one is normal. There's a special page acess right set on it because this 
page is generated, see
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?viewer=code

The reason is that this page is packaged in the default XWiki XAR and we didn't 
want duplication.

 - thus I've checked if I was allowed to add a comment on the page 
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax and I succeed with 
 a dummy comment but now I can not change/remove this comment ;-(.

I don't remember what rights we ask for removing comments.

 2 requests:
 First : please delete my dummy comment here : 
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax . That's in advance 
 to Wiki admins

Done

 Second : what is the best way to promote Richard's macro and to let users 
 know what are / how they can check the available languages in Code macro ?

It's already promoted here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages

But it's not a macro, it's a code snippet.

Thanks
-Vincent

 regards,
 
 Le 23/01/2013 08:10, Richard Hierlmeier a écrit :
 Am 22.01.2013 18:04, schrieb Vincent Massol:
 
 On Jan 22, 2013, at 5:51 PM, Richard Hierlmeier 
 rhierlme...@googlemail.com wrote:
 
 Am 21.01.2013 21:37, schrieb Vincent Massol:
 Hi Richard,
 
 On Jan 21, 2013, at 9:10 PM, Richard Hierlmeier 
 rhierlme...@googlemail.com wrote:
 
 
 Hi XWiki users,
 
 I could not find in the XWiki documentation a hint of the supported 
 languages for the code macro.
 
 I wrote a small script in a XWiki page that read out of pygment (the 
 technology behind the code macro) all supported languages with language 
 name, files extension and mimetype.
 
 See:
 
 http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages
 
 Very nice! Would be awesome if you contribute it as a code snippet on 
 http://extensions.xwiki.org ! :)
 
 I added the following page:
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Supported+Languages+in+CodeMacro
  
 
 Thanks but this is not correct…
 
 What you need to do is contribute an extension of type snippet.
 
 Go to http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome and in the 
 contribute extension field type Supported Languages in Code Macro and 
 click submit… :)
 
 
 Sorry for that,
 
 I added a extension is the described way:
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages
 
 Vincent can you delete the incorrect page.
 
 Richard
 
 
 Thanks
 -Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Overview of supported languages for the code macro

2013-01-23 Thread Richard Hierlmeier

Am 24.01.2013 07:29, schrieb Ldm Public:

Hello,

I've tried to document this Macro on http://platform.xwiki.org by
running/displaying somewhere the macro results, but I failed :
- I'm not allowed to create a new page (I was thinking of creating a
page containing Richard's macro)
- I'm not allowed to modify syntax page
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax (I was
thinking of adding a footnote with link to the extension)
- thus I've checked if I was allowed to add a comment on the page
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax and I succeed
with a dummy comment but now I can not change/remove this comment ;-(.


I also tried to run the python script in the

http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages

page. But it is not possible because my user account has no programming 
rights on extensions.xwiki.org.


Someone of the XWiki team with programming rights can do it ;:.

Richard




2 requests:
First : please delete my dummy comment here :
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax . That's in
advance to Wiki admins
Second : what is the best way to promote Richard's macro and to let
users know what are / how they can check the available languages in Code
macro ?

regards,

Le 23/01/2013 08:10, Richard Hierlmeier a écrit :

Am 22.01.2013 18:04, schrieb Vincent Massol:


On Jan 22, 2013, at 5:51 PM, Richard Hierlmeier
rhierlme...@googlemail.com wrote:


Am 21.01.2013 21:37, schrieb Vincent Massol:

Hi Richard,

On Jan 21, 2013, at 9:10 PM, Richard Hierlmeier
rhierlme...@googlemail.com wrote:



Hi XWiki users,

I could not find in the XWiki documentation a hint of the
supported languages for the code macro.

I wrote a small script in a XWiki page that read out of pygment
(the technology behind the code macro) all supported languages
with language name, files extension and mimetype.

See:

http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages



Very nice! Would be awesome if you contribute it as a code snippet
on http://extensions.xwiki.org ! :)


I added the following page:

http://extensions.xwiki.org/xwiki/bin/view/Extension/Supported+Languages+in+CodeMacro



Thanks but this is not correct…

What you need to do is contribute an extension of type snippet.

Go to http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome and in
the contribute extension field type Supported Languages in Code
Macro and click submit… :)



Sorry for that,

I added a extension is the described way:

http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages

Vincent can you delete the incorrect page.

Richard



Thanks
-Vincent

___
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



___
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] Error after migration from 4.3.1 to 4.4.1

2013-01-23 Thread Marius Dumitru Florea
On Wed, Jan 23, 2013 at 7:58 PM, djiock julien.neg...@aliecom.com wrote:
 Hello,

 I'm getting an error after upgrading xwiki from 4.3.1 to 4.4.1 using Debian
 packages :

 Error number 4001 in 4: Error while parsing velocity page
 /templates/distribution.vm
 Wrapped Exception: Failed to evaluate content with id
 [/templates/distribution.vm]
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
 velocity page /templates/distribution.vm
 Wrapped Exception: Failed to evaluate content with id
 [/templates/distribution.vm]
 at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
 at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
 at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
 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:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
 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:66)
 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:208)
 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:111)
 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:98)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
 at
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
 content with id [/templates/distribution.vm]
 at
 org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
 at
 org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
 at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
 ... 41 more
 Caused by: 

Re: [xwiki-users] Error after migration from 4.3.1 to 4.4.1

2013-01-23 Thread Marius Dumitru Florea
And you can fix this on your server by copying
ApplicationResources_fr.properties file from the
xwiki-platform-legacy-oldcore jar (in WEB_INF/lib) to WEB-INF/classes
and replace the value of the
platform.extension.distributionWizard.stepHeading translation key:

platform.extension.distributionWizard.stepHeading={0,choice,0#|0\u00C9tape
{0} \u2014 } {1}

Hope this helps,
Marius

On Thu, Jan 24, 2013 at 9:47 AM, Marius Dumitru Florea
mariusdumitru.flo...@xwiki.com wrote:
 On Wed, Jan 23, 2013 at 7:58 PM, djiock julien.neg...@aliecom.com wrote:
 Hello,

 I'm getting an error after upgrading xwiki from 4.3.1 to 4.4.1 using Debian
 packages :

 Error number 4001 in 4: Error while parsing velocity page
 /templates/distribution.vm
 Wrapped Exception: Failed to evaluate content with id
 [/templates/distribution.vm]
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
 velocity page /templates/distribution.vm
 Wrapped Exception: Failed to evaluate content with id
 [/templates/distribution.vm]
 at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
 at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
 at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
 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:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
 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:66)
 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:208)
 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:111)
 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:98)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
 at
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)

Re: [xwiki-users] Overview of supported languages for the code macro

2013-01-23 Thread Vincent Massol
Hi,

On Jan 24, 2013, at 8:34 AM, Richard Hierlmeier rhierlme...@googlemail.com 
wrote:

 Am 24.01.2013 07:29, schrieb Ldm Public:
 Hello,
 
 I've tried to document this Macro on http://platform.xwiki.org by
 running/displaying somewhere the macro results, but I failed :
 - I'm not allowed to create a new page (I was thinking of creating a
 page containing Richard's macro)
 - I'm not allowed to modify syntax page
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax (I was
 thinking of adding a footnote with link to the extension)
 - thus I've checked if I was allowed to add a comment on the page
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax and I succeed
 with a dummy comment but now I can not change/remove this comment ;-(.
 
 I also tried to run the python script in the
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages
 
 page. But it is not possible because my user account has no programming 
 rights on extensions.xwiki.org.
 
 Someone of the XWiki team with programming rights can do it ;:.

Actually our practice is not execute scripts on extensions.xwiki.org since that 
takes CPU/memory and is potentially dangerous for the stability of the 
platform. It's also more maintenance intensive.

In addition the result only represent the result on the XWiki version installed 
there. Thus our practice is to attach screenshots instead.

Thanks
-Vincent

 Richard
 
 
 
 2 requests:
 First : please delete my dummy comment here :
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax . That's in
 advance to Wiki admins
 Second : what is the best way to promote Richard's macro and to let
 users know what are / how they can check the available languages in Code
 macro ?
 
 regards,
 
 Le 23/01/2013 08:10, Richard Hierlmeier a écrit :
 Am 22.01.2013 18:04, schrieb Vincent Massol:
 
 On Jan 22, 2013, at 5:51 PM, Richard Hierlmeier
 rhierlme...@googlemail.com wrote:
 
 Am 21.01.2013 21:37, schrieb Vincent Massol:
 Hi Richard,
 
 On Jan 21, 2013, at 9:10 PM, Richard Hierlmeier
 rhierlme...@googlemail.com wrote:
 
 
 Hi XWiki users,
 
 I could not find in the XWiki documentation a hint of the
 supported languages for the code macro.
 
 I wrote a small script in a XWiki page that read out of pygment
 (the technology behind the code macro) all supported languages
 with language name, files extension and mimetype.
 
 See:
 
 http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages
 
 
 Very nice! Would be awesome if you contribute it as a code snippet
 on http://extensions.xwiki.org ! :)
 
 I added the following page:
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Supported+Languages+in+CodeMacro
 
 
 Thanks but this is not correct…
 
 What you need to do is contribute an extension of type snippet.
 
 Go to http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome and in
 the contribute extension field type Supported Languages in Code
 Macro and click submit… :)
 
 
 Sorry for that,
 
 I added a extension is the described way:
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/CodeMacro+Languages
 
 Vincent can you delete the incorrect page.
 
 Richard
 
 
 Thanks
 -Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error after migration from 4.3.1 to 4.4.1

2013-01-23 Thread Vincent Massol
Note that 4.4.1 has not been released yet…

Where did you get it from? :)

Thanks
-Vincent

On Jan 23, 2013, at 6:58 PM, djiock julien.neg...@aliecom.com wrote:

 Hello,
 
 I'm getting an error after upgrading xwiki from 4.3.1 to 4.4.1 using Debian
 packages :
 
 Error number 4001 in 4: Error while parsing velocity page
 /templates/distribution.vm
 Wrapped Exception: Failed to evaluate content with id
 [/templates/distribution.vm]
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
 velocity page /templates/distribution.vm
 Wrapped Exception: Failed to evaluate content with id
 [/templates/distribution.vm]
   at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
   at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
   at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
   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:305)
   at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
   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:66)
   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:208)
   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:111)
   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:98)
   at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
   at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
   at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
   at
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
   at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:679)
 Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
 content with id [/templates/distribution.vm]
   at
 org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
   at
 org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
   at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
   ... 41 more
 Caused by: