Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Jonas Almfeldt
Hi,

On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne
thomas.morta...@xwiki.comwrote:
[snip]

 
  Looks like it can't find some python files which are inside a jar file
  (pygments-1.0-xwiki.jar). A java URL to the files inside the jar is
  given to jython which is supposed to look at this URL as if it was a
  folder. Maybe this can't be done with the JVM, the application Server
  or the configuration of one of theses.

 Could you try to extract Lib/ folder from pygments-1.0-xwiki.jar to
 classes/ folder (the one which is at the same level than lib/ folder,
 create it if it does not exists) and move the jar where jython could
 not find it. Trying to see if it's working when the Pygments code is
 in a real folder.

 (I should maybe add a configuration to be able to set the location of
 Python code anyway)


I have now tried to remove the file pygments-1.0-xwiki.jar from
xwiki.war/WEB-INF/lib/
and extracted the Lib/ folder of the pygments-1.0-xwiki.jar to this path:

xwiki.war/WEB-INF/classes/Lib/

so that xwiki.war/WEB-INF/classes/Lib/pygments/ contains the python files.

And then restarted the app server. But I get the Failed to execute macro:
code with part of the stack trace below.

Also tried to skip the Lib part of the path and put the pygments folder
directly under xwiki.war/WEB-INF/classes/
but it did not do the trick either.


...
...
Caused by: LookupError: no codec search functions registered: can't
find encoding

at org.python.core.PyException.fillInStackTrace(PyException.java:65)
at java.lang.Throwable.init(Throwable.java:56)
at org.python.core.PyException.init(PyException.java:46)
at org.python.core.PyException.init(PyException.java:43)
at org.python.core.PyException.init(PyException.java:56)
at org.python.core.codecs.lookup(codecs.java:80)
at org.python.core.codecs.getEncoder(codecs.java:209)
at org.python.core.codecs.encode(codecs.java:187)
at org.python.core.PyString.str_encode(PyString.java:2443)
at org.python.core.PyString.encode(PyString.java:2434)
at 
org.python.antlr.GrammarActions.extractString(GrammarActions.java:443)
at 
org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:399)
at org.python.antlr.PythonParser.atom(PythonParser.java:11244)
...
...


 
  Trying to find if it's possible to enable some more detailed log on
 jython.


[snip]


 --
 Thomas Mortagne
 ___
 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] Power of XWiki that no one have

2009-04-29 Thread jerem

Hi,

What I really appreciate in XWiki is capability of customisation, it's like
a framework made of HQL, Groovy, velocity, plus the classes/objects/forms
features, that enable you to create pages and applications in wiki mode and
customize almost everything, with security of CMS features (pages history,
rollback). But I don't know other CMS or Wiki-like ...

Improvements that are in progress are really good points (better wysiwyg,
better usability) and seem to correct some of the limitations I could find.

For competitors I only know they are many, but XWiki belongs to the ones
with very good reactivity and delivery frequency - thank you guys !

Regards,
Jeremie
-- 
View this message in context: 
http://n2.nabble.com/Power-of-XWiki-that-no-one-have-tp2737227p2739214.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] trying to make warning macro work in 2.0

2009-04-29 Thread Thomas Mortagne
On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com wrote:
 Hi,

 On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:
 [snip]

 
  Looks like it can't find some python files which are inside a jar file
  (pygments-1.0-xwiki.jar). A java URL to the files inside the jar is
  given to jython which is supposed to look at this URL as if it was a
  folder. Maybe this can't be done with the JVM, the application Server
  or the configuration of one of theses.

 Could you try to extract Lib/ folder from pygments-1.0-xwiki.jar to
 classes/ folder (the one which is at the same level than lib/ folder,
 create it if it does not exists) and move the jar where jython could
 not find it. Trying to see if it's working when the Pygments code is
 in a real folder.

 (I should maybe add a configuration to be able to set the location of
 Python code anyway)


 I have now tried to remove the file pygments-1.0-xwiki.jar from
 xwiki.war/WEB-INF/lib/
 and extracted the Lib/ folder of the pygments-1.0-xwiki.jar to this path:

 xwiki.war/WEB-INF/classes/Lib/

 so that xwiki.war/WEB-INF/classes/Lib/pygments/ contains the python files.

 And then restarted the app server. But I get the Failed to execute macro:
 code with part of the stack trace below.

 Also tried to skip the Lib part of the path and put the pygments folder
 directly under xwiki.war/WEB-INF/classes/
 but it did not do the trick either.

Maybe the issue is that your application server does not let you read
directly in resources (like jar and classes). Currently the macro
always look in the resources, i will try to add a configuration to be
able to set the pygments/python folder anywhere.



 ...
 ...
 Caused by: LookupError: no codec search functions registered: can't
 find encoding

        at org.python.core.PyException.fillInStackTrace(PyException.java:65)
        at java.lang.Throwable.init(Throwable.java:56)
        at org.python.core.PyException.init(PyException.java:46)
        at org.python.core.PyException.init(PyException.java:43)
        at org.python.core.PyException.init(PyException.java:56)
        at org.python.core.codecs.lookup(codecs.java:80)
        at org.python.core.codecs.getEncoder(codecs.java:209)
        at org.python.core.codecs.encode(codecs.java:187)
        at org.python.core.PyString.str_encode(PyString.java:2443)
        at org.python.core.PyString.encode(PyString.java:2434)
        at 
 org.python.antlr.GrammarActions.extractString(GrammarActions.java:443)
        at 
 org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:399)
        at org.python.antlr.PythonParser.atom(PythonParser.java:11244)
 ...
 ...


 
  Trying to find if it's possible to enable some more detailed log on
 jython.


 [snip]


 --
 Thomas Mortagne
 ___
 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




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


[xwiki-users] AUTO: MaryEllen Coleman/Poughkeepsie/IBM is out of the office. (returning 04/30/2009)

2009-04-29 Thread MaryEllen Coleman


I am out of the office until 04/30/2009.




Note: This is an automated response to your message  users Digest, Vol 21,
Issue 55 sent on 4/29/09 3:54:29.

This is the only notification you will receive while this person is away.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Vincent Massol

On Apr 29, 2009, at 10:36 AM, Thomas Mortagne wrote:

 On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com 
  wrote:
 Hi,

 On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:
 [snip]


 Looks like it can't find some python files which are inside a jar  
 file
 (pygments-1.0-xwiki.jar). A java URL to the files inside the jar is
 given to jython which is supposed to look at this URL as if it  
 was a
 folder. Maybe this can't be done with the JVM, the application  
 Server
 or the configuration of one of theses.

 Could you try to extract Lib/ folder from pygments-1.0-xwiki.jar to
 classes/ folder (the one which is at the same level than lib/  
 folder,
 create it if it does not exists) and move the jar where jython could
 not find it. Trying to see if it's working when the Pygments code is
 in a real folder.

 (I should maybe add a configuration to be able to set the location  
 of
 Python code anyway)


 I have now tried to remove the file pygments-1.0-xwiki.jar from
 xwiki.war/WEB-INF/lib/
 and extracted the Lib/ folder of the pygments-1.0-xwiki.jar to this  
 path:

 xwiki.war/WEB-INF/classes/Lib/

 so that xwiki.war/WEB-INF/classes/Lib/pygments/ contains the python  
 files.

 And then restarted the app server. But I get the Failed to execute  
 macro:
 code with part of the stack trace below.

 Also tried to skip the Lib part of the path and put the pygments  
 folder
 directly under xwiki.war/WEB-INF/classes/
 but it did not do the trick either.

 Maybe the issue is that your application server does not let you read
 directly in resources (like jar and classes). Currently the macro
 always look in the resources, i will try to add a configuration to be
 able to set the pygments/python folder anywhere.

Thomas I'm not sure we should have this config option. It doesn't  
sound right. It should be ok to always look in the resources.

If the macro uses File IO to explicitely look into WEB-INF/lib/...  
then yes that's very wrong. We should only use the classloader to load  
resources.

-Vincent

 ...
 Caused by: LookupError: no codec search functions registered: can't
 find encoding

at  
 org.python.core.PyException.fillInStackTrace(PyException.java:65)
at java.lang.Throwable.init(Throwable.java:56)
at org.python.core.PyException.init(PyException.java:46)
at org.python.core.PyException.init(PyException.java:43)
at org.python.core.PyException.init(PyException.java:56)
at org.python.core.codecs.lookup(codecs.java:80)
at org.python.core.codecs.getEncoder(codecs.java:209)
at org.python.core.codecs.encode(codecs.java:187)
at org.python.core.PyString.str_encode(PyString.java:2443)
at org.python.core.PyString.encode(PyString.java:2434)
at  
 org.python.antlr.GrammarActions.extractString(GrammarActions.java: 
 443)
at  
 org.python.antlr.GrammarActions.extractStrings(GrammarActions.java: 
 399)
at org.python.antlr.PythonParser.atom(PythonParser.java:11244)
 ...
 ...



 Trying to find if it's possible to enable some more detailed log on
 jython.


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


Re: [xwiki-users] trying to make warning macro work in 2.0

2009-04-29 Thread Vincent Massol

On Apr 29, 2009, at 11:58 AM, Thomas Mortagne wrote:

 On Wed, Apr 29, 2009 at 11:07, Vincent Massol vinc...@massol.net  
 wrote:

 On Apr 29, 2009, at 10:36 AM, Thomas Mortagne wrote:

 On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com
 wrote:
 Hi,

 On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:
 [snip]


 Looks like it can't find some python files which are inside a jar
 file
 (pygments-1.0-xwiki.jar). A java URL to the files inside the  
 jar is
 given to jython which is supposed to look at this URL as if it
 was a
 folder. Maybe this can't be done with the JVM, the application
 Server
 or the configuration of one of theses.

 Could you try to extract Lib/ folder from pygments-1.0-xwiki.jar  
 to
 classes/ folder (the one which is at the same level than lib/
 folder,
 create it if it does not exists) and move the jar where jython  
 could
 not find it. Trying to see if it's working when the Pygments  
 code is
 in a real folder.

 (I should maybe add a configuration to be able to set the location
 of
 Python code anyway)


 I have now tried to remove the file pygments-1.0-xwiki.jar from
 xwiki.war/WEB-INF/lib/
 and extracted the Lib/ folder of the pygments-1.0-xwiki.jar to this
 path:

 xwiki.war/WEB-INF/classes/Lib/

 so that xwiki.war/WEB-INF/classes/Lib/pygments/ contains the python
 files.

 And then restarted the app server. But I get the Failed to execute
 macro:
 code with part of the stack trace below.

 Also tried to skip the Lib part of the path and put the pygments
 folder
 directly under xwiki.war/WEB-INF/classes/
 but it did not do the trick either.

 Maybe the issue is that your application server does not let you  
 read
 directly in resources (like jar and classes). Currently the macro
 always look in the resources, i will try to add a configuration to  
 be
 able to set the pygments/python folder anywhere.

 Thomas I'm not sure we should have this config option. It doesn't
 sound right. It should be ok to always look in the resources.

 If the macro uses File IO to explicitely look into WEB-INF/lib/...
 then yes that's very wrong. We should only use the classloader to  
 load
 resources.

 The macro does not do anything, the problem is that jython only  
 takes URL.

URL is fine since you can use the CL to get it.  So there's no File IO?

Thanks
-Vincent

 ...
 Caused by: LookupError: no codec search functions registered: can't
 find encoding

at
 org.python.core.PyException.fillInStackTrace(PyException.java:65)
at java.lang.Throwable.init(Throwable.java:56)
at org.python.core.PyException.init(PyException.java:46)
at org.python.core.PyException.init(PyException.java:43)
at org.python.core.PyException.init(PyException.java:56)
at org.python.core.codecs.lookup(codecs.java:80)
at org.python.core.codecs.getEncoder(codecs.java:209)
at org.python.core.codecs.encode(codecs.java:187)
at org.python.core.PyString.str_encode(PyString.java:2443)
at org.python.core.PyString.encode(PyString.java:2434)
at
 org.python.antlr.GrammarActions.extractString(GrammarActions.java:
 443)
at
 org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:
 399)
at org.python.antlr.PythonParser.atom(PythonParser.java: 
 11244)
 ...
 ...



 Trying to find if it's possible to enable some more detailed  
 log on
 jython.


 [snip]
 ___
 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

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


[xwiki-users] It's translation time again :-)

2009-04-29 Thread Guillaume Lerouge
Hi,
The XWiki translation tool located at http://l10n.xwiki.org/ has been
upgraded yesterday. Starting today, new message strings are automatically
loaded into the translation tool every night at 2:00 am Paris time. This
means that whenever a developer commits a new portion of code that requires
to be translated, it will show up on http://l10n.xwiki.org/ the next day.

The immediate effect of this change is that approximately 120 new messages
to translate have been added for XWiki Enterprise since yesterday. Some of
the languages that used to be finished (such as german, romanian or spanish)
are no longer complete. You can check the actual numbers here:

http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources

Additionally, some contributions have not been reviewed yet. Reviewing
translations helps finding  fixing typos and other mistakes. It would be
great if members from the community could look at it and review translations
where applicable.

Since we're close to the release date of XE 1.8.3 (and soon XE 1.9 M2) it
would be awesome if some of you guys could update the tool with missing
translations and reviews. I'm done with French already, 15 languages to go
;-)

Many thanks in advance on behalf of the community,

Guillaume

-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2009-04-29 Thread Jerome Velociter
Hello Frantisek,

MyXWiki.org is a free service offered by XWiki SAS 
(http://www.xwiki.com) for non-profit organizations and individuals. For 
company needs, XWiki SAS offers pro hosting and support 
(http://www.xwiki.com/xwiki/bin/view/Services/Hosting).
To test drive the last version of XWiki Enterprise you can download the 
standard distributions we provide at:
http://www.xwiki.org/xwiki/bin/view/Main/
Download#HXWikiEnterprise
We've updated the home page of myxwiki.org to better explain the rules 
of the community farm.

Thanks for your understanding,
Jerome, on behalf of the MyXWiki community.

Frantisek Kall wrote:
 I'm using XWiki (1.3) in our company. For testing of new functionality
 (especially in wysiwyg editor) I need the newest version of well configured
 XWiki. I registered as kaferos and I would like to use twig as server
 name.

 Thanks

 Frantisek Kall



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


Re: [xwiki-users] XWiki External Database

2009-04-29 Thread Dilipkumar Jadhav
Hello friends,
Some time back I had asked the question on connecting XWiki to an external
database. My organization had some special requirements  they wished that
the other database would be seperated from the main XWiki database.
I was able to figure out how to go about doing this. However, my solution
follows the simple JSP design pattern.
Basically, I retrieve parameters from one page and push it to another page
using html form (with the action tag) which in turn pushes the data to the
database.
It is very primitive when compared to the nature and complexity of XWiki
itself but serves the purpose.
The scripting is done in velocity and groovy. Also, the pages are secured
through XWiki's rights feature. So a normal user can only see the page,
enter data on the page but not edit it.
I request you to let me know if there is a better way of doing it. If need
be I can paste my scripting code in the mailing list.
However, I have not worked with Struts  do not know how to go about making
changes at the source level. And eventhough I have just started using
Groovy, I really like the ease of use. Is there a way that we can put in
groovy or Java class files that will hide the scripting even at the XWiki
page level.
Thank you friends...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2009-04-29 Thread Frantisek Kall

Hello Jerome,
I understand MyXWiki.org is for non-profit organizations and individuals. I
regularly download new (windows) versions and test them locally. Sometime
system doesn’t function properly and I´m not sure if problem is in my
installation or in system in general. So I´m looking for place, where I can
test functionality and by sure that XWiki server is configured well. 
Playground (http://playground.xwiki.org/xwiki/bin/view/Main/ ) would be
enough, but there is no latest version usually. Recommend me how  I should
do it, please. 

Thanks
Frantisek

 

Jerome Velociter-2 wrote:
 
 Hello Frantisek,
 
 MyXWiki.org is a free service offered by XWiki SAS 
 (http://www.xwiki.com) for non-profit organizations and individuals. For 
 company needs, XWiki SAS offers pro hosting and support 
 (http://www.xwiki.com/xwiki/bin/view/Services/Hosting).
 To test drive the last version of XWiki Enterprise you can download the 
 standard distributions we provide at:
 http://www.xwiki.org/xwiki/bin/view/Main/
 Download#HXWikiEnterprise
 We've updated the home page of myxwiki.org to better explain the rules 
 of the community farm.
 
 Thanks for your understanding,
 Jerome, on behalf of the MyXWiki community.
 
 Frantisek Kall wrote:
 I'm using XWiki (1.3) in our company. For testing of new functionality
 (especially in wysiwyg editor) I need the newest version of well
 configured
 XWiki. I registered as kaferos and I would like to use twig as server
 name.

 Thanks

 Frantisek Kall


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

-- 
View this message in context: 
http://n2.nabble.com/-myxwiki--new-wiki-request-tp2732206p2740317.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] trying to make warning macro work in 2.0

2009-04-29 Thread Thomas Mortagne
On Wed, Apr 29, 2009 at 12:18, Vincent Massol vinc...@massol.net wrote:

 On Apr 29, 2009, at 11:58 AM, Thomas Mortagne wrote:

 On Wed, Apr 29, 2009 at 11:07, Vincent Massol vinc...@massol.net
 wrote:

 On Apr 29, 2009, at 10:36 AM, Thomas Mortagne wrote:

 On Wed, Apr 29, 2009 at 09:27, Jonas Almfeldt jonas.almfe...@gmail.com
 wrote:
 Hi,

 On Tue, Apr 28, 2009 at 4:54 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:
 [snip]


 Looks like it can't find some python files which are inside a jar
 file
 (pygments-1.0-xwiki.jar). A java URL to the files inside the
 jar is
 given to jython which is supposed to look at this URL as if it
 was a
 folder. Maybe this can't be done with the JVM, the application
 Server
 or the configuration of one of theses.

 Could you try to extract Lib/ folder from pygments-1.0-xwiki.jar
 to
 classes/ folder (the one which is at the same level than lib/
 folder,
 create it if it does not exists) and move the jar where jython
 could
 not find it. Trying to see if it's working when the Pygments
 code is
 in a real folder.

 (I should maybe add a configuration to be able to set the location
 of
 Python code anyway)


 I have now tried to remove the file pygments-1.0-xwiki.jar from
 xwiki.war/WEB-INF/lib/
 and extracted the Lib/ folder of the pygments-1.0-xwiki.jar to this
 path:

 xwiki.war/WEB-INF/classes/Lib/

 so that xwiki.war/WEB-INF/classes/Lib/pygments/ contains the python
 files.

 And then restarted the app server. But I get the Failed to execute
 macro:
 code with part of the stack trace below.

 Also tried to skip the Lib part of the path and put the pygments
 folder
 directly under xwiki.war/WEB-INF/classes/
 but it did not do the trick either.

 Maybe the issue is that your application server does not let you
 read
 directly in resources (like jar and classes). Currently the macro
 always look in the resources, i will try to add a configuration to
 be
 able to set the pygments/python folder anywhere.

 Thomas I'm not sure we should have this config option. It doesn't
 sound right. It should be ok to always look in the resources.

 If the macro uses File IO to explicitely look into WEB-INF/lib/...
 then yes that's very wrong. We should only use the classloader to
 load
 resources.

 The macro does not do anything, the problem is that jython only
 takes URL.

 URL is fine since you can use the CL to get it.  So there's no File IO?

I don't know. It's possible internally jython is doing File IO based
on the given folder URL.


 Thanks
 -Vincent

 ...
 Caused by: LookupError: no codec search functions registered: can't
 find encoding

        at
 org.python.core.PyException.fillInStackTrace(PyException.java:65)
        at java.lang.Throwable.init(Throwable.java:56)
        at org.python.core.PyException.init(PyException.java:46)
        at org.python.core.PyException.init(PyException.java:43)
        at org.python.core.PyException.init(PyException.java:56)
        at org.python.core.codecs.lookup(codecs.java:80)
        at org.python.core.codecs.getEncoder(codecs.java:209)
        at org.python.core.codecs.encode(codecs.java:187)
        at org.python.core.PyString.str_encode(PyString.java:2443)
        at org.python.core.PyString.encode(PyString.java:2434)
        at
 org.python.antlr.GrammarActions.extractString(GrammarActions.java:
 443)
        at
 org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:
 399)
        at org.python.antlr.PythonParser.atom(PythonParser.java:
 11244)
 ...
 ...



 Trying to find if it's possible to enable some more detailed
 log on
 jython.


 [snip]
 ___
 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

 ___
 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


Re: [xwiki-users] [myxwiki] new wiki request

2009-04-29 Thread Sergiu Dumitriu
Frantisek Kall wrote:
 Hello Jerome,
 I understand MyXWiki.org is for non-profit organizations and individuals. I
 regularly download new (windows) versions and test them locally. Sometime
 system doesn’t function properly and I´m not sure if problem is in my
 installation or in system in general. So I´m looking for place, where I can
 test functionality and by sure that XWiki server is configured well. 
 Playground (http://playground.xwiki.org/xwiki/bin/view/Main/ ) would be
 enough, but there is no latest version usually. Recommend me how  I should
 do it, please. 

Should we have a playground on the myxwiki farm, too?

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


[xwiki-users] Problems accessing Wiki Preferences after upgrading from version 1.2 rc3 to 1.8.2

2009-04-29 Thread Cheong Chung Onn
Hi,

I  tried to upgrade xwiki enterprise from version 1.2 rc3 to 1.8.2 and 
it was by no means an easy task. The good thing is xwiki is very robust 
and I managed to recover most of it except the wiki preference. I would 
appreciate if someone could help me get the last piece going.


Note: I have imported xwiki Application Adminstration xar. And when i 
select the Panel Wizard icon, i get the following messages from the console

[WARNING] Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.getHashMap] in xwiki.xwikipreferen...@21,28
[WARNING] Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.getArrayList] in xwiki.xwikipreferen...@23,39
[WARNING] Deprecated usage of getter 
[com.xpn.xwiki.api.XWiki.getHashMap] in xwiki.xwikipreferen...@54,29
[WARNING] Deprecated usage of getter 
[com.xpn.xwiki.api.XWiki.getHashMap] in xwiki.xwikipreferen...@55,8
[WARNING] Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.getURLEncoded] in xwiki.xwikipreferen...@114,120
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb] 
in xwiki.xwikipreferen...@6,16
[ERROR] Introspection Error : Ambiguous method invocation print(null) 
for class class org.joda.time.format.DateTimeFormatter
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb] 
in xwiki.xwikipreferen...@12,11
[WARNING] Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.getRecentActions] in xwiki.xwikipreferen...@5,31
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb] 
in VMProxyArg : refere...@1,15
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb] 
in xwiki.xwikipreferen...@1,6
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb] 
in xwiki.xwikipreferen...@3,10
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb] 
in xwiki.xwikipreferen...@10,20


Any help would be greatly appreciated

Thanks in advance

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


[xwiki-users] Hide comments for only a certain group?

2009-04-29 Thread Kelly Lakas
Hi - 

 

1.   Vincent, Thanks for answering my previous question on macros.

2.   I have a new question on comments.  I know I can prevent groups
from entering comments, and I know I can hide the comment section
completely as well.  I was wondering if there is a way to hide comments
(both view and edit) from one group, but allow view and edit and view
only for other groups.  I've done some searching but haven't turned up
if that's possibly yet.

 

Kelly

 

Kelly Lakas

Project Manager

 

next wave logistics inc.

28377 davis parkway, suite 607a

warrenville, il 60555



 

[office]  847.798.8897

[mobile]312.307.2079

[web] www.nwlinc.com http://www.nwlinc.com 

 

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


Re: [xwiki-users] [myxwiki] new wiki request

2009-04-29 Thread Thomas Mortagne
On Wed, Apr 29, 2009 at 14:56, Sergiu Dumitriu ser...@xwiki.com wrote:
 Frantisek Kall wrote:
 Hello Jerome,
 I understand MyXWiki.org is for non-profit organizations and individuals. I
 regularly download new (windows) versions and test them locally. Sometime
 system doesn’t function properly and I´m not sure if problem is in my
 installation or in system in general. So I´m looking for place, where I can
 test functionality and by sure that XWiki server is configured well.
 Playground (http://playground.xwiki.org/xwiki/bin/view/Main/ ) would be
 enough, but there is no latest version usually. Recommend me how  I should
 do it, please.

 Should we have a playground on the myxwiki farm, too?

+1


 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 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


Re: [xwiki-users] Stats module configuration

2009-04-29 Thread Dilipkumar Jadhav
Hello folks,
I am sorry to revive an old question I had asked in this forum but I wanted
to share this with everyone.
My statistics were not working on XWiki 1.7.2 originally.
Finally, I figured this out.

The database was MySql ver 4.x.x.

I got this legacy database to work on since XWiki was on testing mode for my
organization back then. I really did not have any option in the choice of
the MySql version at that point of time.
I had almost given up on getting the stats to work. But in the process of
setting up a test XWiki I installed MySql 5.4.
And the stats module worked !!!
Guess, I missed something in the XWiki install guides or maybe the version
compatibility (for database  app servers) is not mentioned in the install
guides.
My most sincere thanks to Sergiu  Thomas who took the time to answer my
questions when this thread was active.
Thank you everyone...

On Mon, Mar 9, 2009 at 4:56 AM, Dilipkumar Jadhav 
jadhav.dilipku...@gmail.com wrote:

 Dear all,
 Thank you so much for your prompt response.
 I've tried to check all the things you have suggested. This is where i
 stand now:

 1. Debug each line of the stats panel
 I printed out the values at the end of each #set line in the most
 edited pages panel. This is what i got as a result:

 com.xpn.xwiki.criteria.impl.sc...@19fd285
 com.xpn.xwiki.criteria.impl.per...@11ff313
 com.xpn.xwiki.criteria.impl.ra...@4348c6
 []

 The final [] in the fourth line above is the value for $stats

 2. The Joda time plugin might be disabled

 I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in
  my xwiki.cfg properties
 Also, joda-time-1.4.jar is available in WEB_INF  lib folder

 3.  Maybe you have a statistics field set to 0 in
 XWiki.XWikiPreferences (edit in object mode to check)
 I went to the XWiki.XwikiPreferences page and checked it in the object
 mode. Unfortunately, i do not see any statistics field in there.
 Could you please provide me with some exact example that i should look
 for in this page. I see info about panels  skins et al. But nothing
 about the statistics field.

 4. I read the line in the user guide that says - When statistics are
 globally enabled, storage can be enabled/disabled by wiki using the
 XWikiPreference property statistics
 Is this the same statistics field that we are talking about in point 3
 above...If so, i really need some more clarity on looking up
 XWikipreferences in the object mode.

 5. I have disabled the module and enabled it again. But there is still
 no data being displayed on the panels. All it says is - No statistics
 recorded

 Please help...thank you friends.

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