Re: [xwiki-users] Office importer application error

2009-03-30 Thread PERINAUD Christophe
Hi,

I refreshed my xwiki install with a 1.8 release instead of the 1.8rc2. I'm able 
to start the open office server and also to import office documents (after 
copying the office importer snapshot in the lib folder)

Thank you for your help and time 

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Asiri Rathnayake
Envoyé : mercredi 25 mars 2009 17:18
À : XWiki Users
Objet : Re: [xwiki-users] Office importer application error

Hi,

On Wed, Mar 25, 2009 at 9:19 PM, PERINAUD Christophe 
christophe.perin...@kbl-bank.com wrote:

 Asiri,

 I uploaded both xar files in my virtual wiki and all is ok, i have the new
 icon available. When i click on it i'm able to see the path and the profile
 path for open office
 My values are :
 ***
 You can override Server Path and Server Profile variables through
 WEB-INF/xwiki.properties file.
 Server Path  C:/Program Files/OpenOffice.org 2.4/
 Server Profile C:/Documents and Settings/BB03545/Application
 Data/OpenOffice.org2
 Server State Not Running
 ***

 When i select Start and click on the button, i come back to the same page
 with a message Inadequate privileges.
 If i look at the console, no error is displayed in it. I had a look in the
 source code but it seems that the exception is rised in many places.


Ok, this is something i'm not able to explain very clearly. And we are
working on a custom constructed XE installation here :)

Do you (person who imported the officeimporter application) have programming
rights? Make sure you do, it's required. Did you try to start the OpenOffice
server as admin or some other user?

- Asiri





 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part
 de Asiri Rathnayake
 Envoyé : mercredi 25 mars 2009 15:27
 À : XWiki Users
 Objet : Re: [xwiki-users] Office importer application error

 Hi Christophe,

 On Wed, Mar 25, 2009 at 6:13 PM, PERINAUD Christophe 
 christophe.perin...@kbl-bank.com wrote:

  Hi Asiri,
 
  Thanks for the advice.
  I put the jodconverter beta jar in the WEB-INF/lib and the server is able
  to start but not to import a file
 
  I started Open Office like said on the page (i checked both windows
 process
  run). If i use the version 1.8 of both jar i have the bug we discussed
  about.
  If i stop the xwiki server (keep ooffice started) and replace the both
 jar
  (snapshot and beta) and restart the server, when i try to import a file i
  have as result an error box with only $officeimporter.getMessage() in
 it
  The stack trace in the server is :
 

 Ok, you should use the officeimporter snapshot and jodconverter beta jars.
 But You must also use the latest officeimporter application:


 http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-officeimporter/1.5-SNAPSHOT/xwiki-application-officeimporter-1.5-20090325.112122-7.xar

 And the latest administration application:


 http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-administration/1.9-SNAPSHOT/xwiki-application-administration-1.9-20090325.112027-7.xar

 Once you do this, you should not start the oo server external to the XE..
 it
 should be done from the Admin interface and there is a seperate admin UI
 for
 managing the OO server process. And you can configure the oo server in
 WEB-INF/xwiki.properties file (by specifying oo installation and oo profile
 and other configuration options)

 These new features have not yet been documented because I was busy with
 several more new features (like splitting documents into multiple wiki
 pages
 while importing). I wish to document them soon.

 Thanks

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

 

 This e-mail is intended only for the addressee named above. It does not
 bind the sender, except in the case of an existing written convention with
 the addressee. This e-mail may contain material that is confidential and
 privileged for the sole use of the intended recipient. Any review, reliance
 or distribution by others or forwarding without express permission is
 strictly prohibited and may be unlawful. If you are not the intended
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and
 any attachments are free from any computer virus or similar defect, no
 liability will be accepted in that respect. Anyone accessing this e-mail
 must take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg,
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Office importer application error

2009-03-25 Thread PERINAUD Christophe
Hello,

I downloaded the repository of Xwiki and rebuild it and it created the
JAR file for the office importer
(xwiki-core-officeimporter-1.9-SNAPSHOT.jar) .

Is it possible to use this jar file with a 1.8 release ? Or is it
possible to rebuild it for 1.8 release. I really would like to use the
import from office functionnality, without the bug of the folder.

Thank you all

I tried to copy it in the WEB-INF/lib folder but i got this error
message :

HTTP ERROR: 500
Failed to initialize Execution Context
RequestURI=/xwiki/bin/view/Main/

Caused by:
org.xwiki.container.servlet.ServletContainerException: Failed to
initialize Execution Context
at
org.xwiki.container.servlet.DefaultServletContainerInitializer.initializ
eRequest(DefaultServletContainerInitializer.java:81)
at
com.xpn.xwiki.web.XWikiAction.initializeContainerComponent(XWikiAction.j
ava:400)
at
com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:38
3)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:112)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1124)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1115)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1115)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:145)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1115)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1115)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1115)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:538)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:522)

... A lot of exception stack trace ...


Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupExcept
ion: Unable to lookup component
'org.xwiki.officeimporter.openoffice.OpenOfficeServerManager', it could
not be created
at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponen
tLookupManager.java:151)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer
.java:283)
at
org.codehaus.plexus.component.composition.AbstractComponentComposer.find
Requirement(AbstractComponentComposer.java:241)
at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignR
equirementToField(FieldComponentComposer.java:66)
at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignR
equirement(FieldComponentComposer.java:57)
at
org.codehaus.plexus.component.composition.AbstractComponentComposer.asse

Re: [xwiki-users] Office importer application error

2009-03-25 Thread Asiri Rathnayake
Hi Christophe,


Hello,

 I downloaded the repository of Xwiki and rebuild it and it created the
 JAR file for the office importer
 (xwiki-core-officeimporter-1.9-SNAPSHOT.jar) .

 Is it possible to use this jar file with a 1.8 release ? Or is it
 possible to rebuild it for 1.8 release. I really would like to use the
 import from office functionnality, without the bug of the folder.


Yes, you should be able to do that AFAIK



 Thank you all

 I tried to copy it in the WEB-INF/lib folder but i got this error
 message :


 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
 :522)
 Caused by: java.lang.NoClassDefFoundError:
 net/sf/jodconverter/office/OfficeManager
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown
 Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
 org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInsta
 nce(JavaComponentFactory.java:66)
... 61 more
 Caused by: java.lang.ClassNotFoundException:
 net.sf.jodconverter.office.OfficeManager
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at


This is strange, it seems like jodconverter jar is missing.

Try downloading
http://maven.xwiki.org/externals/net/sf/jodconverter/jodconverter/3.0-beta-1/jodconverter-3.0-beta-1.jarand
placing it inside your WEB-INF/lib folder and restart your server.

Hopefully this should fix the issue.

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


Re: [xwiki-users] Office importer application error

2009-03-25 Thread PERINAUD Christophe
 to ooffice server but not 
sure about that.


-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Asiri Rathnayake
Envoyé : mercredi 25 mars 2009 11:56
À : XWiki Users
Objet : Re: [xwiki-users] Office importer application error

Hi Christophe,


Hello,

 I downloaded the repository of Xwiki and rebuild it and it created the
 JAR file for the office importer
 (xwiki-core-officeimporter-1.9-SNAPSHOT.jar) .

 Is it possible to use this jar file with a 1.8 release ? Or is it
 possible to rebuild it for 1.8 release. I really would like to use the
 import from office functionnality, without the bug of the folder.


Yes, you should be able to do that AFAIK



 Thank you all

 I tried to copy it in the WEB-INF/lib folder but i got this error
 message :


 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
 :522)
 Caused by: java.lang.NoClassDefFoundError:
 net/sf/jodconverter/office/OfficeManager
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown
 Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
 org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInsta
 nce(JavaComponentFactory.java:66)
... 61 more
 Caused by: java.lang.ClassNotFoundException:
 net.sf.jodconverter.office.OfficeManager
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at


This is strange, it seems like jodconverter jar is missing.

Try downloading
http://maven.xwiki.org/externals/net/sf/jodconverter/jodconverter/3.0-beta-1/jodconverter-3.0-beta-1.jarand
placing it inside your WEB-INF/lib folder and restart your server.

Hopefully this should fix the issue.

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


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office importer application error

2009-03-25 Thread PERINAUD Christophe
Asiri,

I uploaded both xar files in my virtual wiki and all is ok, i have the new icon 
available. When i click on it i'm able to see the path and the profile path for 
open office
My values are :
***
You can override Server Path and Server Profile variables through 
WEB-INF/xwiki.properties file.
Server Path  C:/Program Files/OpenOffice.org 2.4/
Server Profile C:/Documents and Settings/BB03545/Application 
Data/OpenOffice.org2
Server State Not Running
***

When i select Start and click on the button, i come back to the same page 
with a message Inadequate privileges.
If i look at the console, no error is displayed in it. I had a look in the 
source code but it seems that the exception is rised in many places.
 

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Asiri Rathnayake
Envoyé : mercredi 25 mars 2009 15:27
À : XWiki Users
Objet : Re: [xwiki-users] Office importer application error

Hi Christophe,

On Wed, Mar 25, 2009 at 6:13 PM, PERINAUD Christophe 
christophe.perin...@kbl-bank.com wrote:

 Hi Asiri,

 Thanks for the advice.
 I put the jodconverter beta jar in the WEB-INF/lib and the server is able
 to start but not to import a file

 I started Open Office like said on the page (i checked both windows process
 run). If i use the version 1.8 of both jar i have the bug we discussed
 about.
 If i stop the xwiki server (keep ooffice started) and replace the both jar
 (snapshot and beta) and restart the server, when i try to import a file i
 have as result an error box with only $officeimporter.getMessage() in it
 The stack trace in the server is :


Ok, you should use the officeimporter snapshot and jodconverter beta jars.
But You must also use the latest officeimporter application:

http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-officeimporter/1.5-SNAPSHOT/xwiki-application-officeimporter-1.5-20090325.112122-7.xar

And the latest administration application:

http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-administration/1.9-SNAPSHOT/xwiki-application-administration-1.9-20090325.112027-7.xar

Once you do this, you should not start the oo server external to the XE.. it
should be done from the Admin interface and there is a seperate admin UI for
managing the OO server process. And you can configure the oo server in
WEB-INF/xwiki.properties file (by specifying oo installation and oo profile
and other configuration options)

These new features have not yet been documented because I was busy with
several more new features (like splitting documents into multiple wiki pages
while importing). I wish to document them soon.

Thanks

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


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office importer application error

2009-03-25 Thread Asiri Rathnayake
Hi,

On Wed, Mar 25, 2009 at 9:19 PM, PERINAUD Christophe 
christophe.perin...@kbl-bank.com wrote:

 Asiri,

 I uploaded both xar files in my virtual wiki and all is ok, i have the new
 icon available. When i click on it i'm able to see the path and the profile
 path for open office
 My values are :
 ***
 You can override Server Path and Server Profile variables through
 WEB-INF/xwiki.properties file.
 Server Path  C:/Program Files/OpenOffice.org 2.4/
 Server Profile C:/Documents and Settings/BB03545/Application
 Data/OpenOffice.org2
 Server State Not Running
 ***

 When i select Start and click on the button, i come back to the same page
 with a message Inadequate privileges.
 If i look at the console, no error is displayed in it. I had a look in the
 source code but it seems that the exception is rised in many places.


Ok, this is something i'm not able to explain very clearly. And we are
working on a custom constructed XE installation here :)

Do you (person who imported the officeimporter application) have programming
rights? Make sure you do, it's required. Did you try to start the OpenOffice
server as admin or some other user?

- Asiri





 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part
 de Asiri Rathnayake
 Envoyé : mercredi 25 mars 2009 15:27
 À : XWiki Users
 Objet : Re: [xwiki-users] Office importer application error

 Hi Christophe,

 On Wed, Mar 25, 2009 at 6:13 PM, PERINAUD Christophe 
 christophe.perin...@kbl-bank.com wrote:

  Hi Asiri,
 
  Thanks for the advice.
  I put the jodconverter beta jar in the WEB-INF/lib and the server is able
  to start but not to import a file
 
  I started Open Office like said on the page (i checked both windows
 process
  run). If i use the version 1.8 of both jar i have the bug we discussed
  about.
  If i stop the xwiki server (keep ooffice started) and replace the both
 jar
  (snapshot and beta) and restart the server, when i try to import a file i
  have as result an error box with only $officeimporter.getMessage() in
 it
  The stack trace in the server is :
 

 Ok, you should use the officeimporter snapshot and jodconverter beta jars.
 But You must also use the latest officeimporter application:


 http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-officeimporter/1.5-SNAPSHOT/xwiki-application-officeimporter-1.5-20090325.112122-7.xar

 And the latest administration application:


 http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-administration/1.9-SNAPSHOT/xwiki-application-administration-1.9-20090325.112027-7.xar

 Once you do this, you should not start the oo server external to the XE..
 it
 should be done from the Admin interface and there is a seperate admin UI
 for
 managing the OO server process. And you can configure the oo server in
 WEB-INF/xwiki.properties file (by specifying oo installation and oo profile
 and other configuration options)

 These new features have not yet been documented because I was busy with
 several more new features (like splitting documents into multiple wiki
 pages
 while importing). I wish to document them soon.

 Thanks

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

 

 This e-mail is intended only for the addressee named above. It does not
 bind the sender, except in the case of an existing written convention with
 the addressee. This e-mail may contain material that is confidential and
 privileged for the sole use of the intended recipient. Any review, reliance
 or distribution by others or forwarding without express permission is
 strictly prohibited and may be unlawful. If you are not the intended
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and
 any attachments are free from any computer virus or similar defect, no
 liability will be accepted in that respect. Anyone accessing this e-mail
 must take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg,
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 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] Office importer application error

2009-03-20 Thread Asiri Rathnayake
Hi Christophe

On Fri, Mar 20, 2009 at 3:01 PM, PERINAUD Christophe 
christophe.perin...@kbl-bank.com wrote:

 Hello all,

 I try to use the office importer application after migrating my 1.7.1 to
 1.8-rc2.
 For all documents i try to import i have this message : Internal error
 while finalizing the target document

 Looking in console messages on the server i found that :
 [ERROR] Internal error while creating temporary files.
 java.io.FileNotFoundException:
 C:\DOCUME~1\BB03545\LOCALS~1\Temp\1\xwiki-office-importer-xwiki:XWiki.bb03545\input.tmp
 (The filename, directory name, or volume label syntax is incorrect)

 It seems that the application tries to create a temporary folder with ':'
 in the name wich is prohibited under Windows.
 Is there a way to change that from the interface ?


This is a very unfortunate. And I'm afraid there is no way to change this
setting from the UI either. I have created an issue for this @
http://jira.xwiki.org/jira/browse/XWIKI-3406 it will be fixed for 1.8.1 
1.9M1 releases.

Note:- I did not try to reproduce this bug yet (kind of busy) but from your
description and looking at the code it seems quite possible.

Thanks.

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


Re: [xwiki-users] Office importer application error

2009-03-20 Thread Asiri Rathnayake
Hi,

On Fri, Mar 20, 2009 at 10:55 PM, Asiri Rathnayake 
asiri.rathnay...@gmail.com wrote:

 Hi Christophe

 On Fri, Mar 20, 2009 at 3:01 PM, PERINAUD Christophe 
 christophe.perin...@kbl-bank.com wrote:

 Hello all,

 I try to use the office importer application after migrating my 1.7.1 to
 1.8-rc2.
 For all documents i try to import i have this message : Internal error
 while finalizing the target document

 Looking in console messages on the server i found that :
 [ERROR] Internal error while creating temporary files.
 java.io.FileNotFoundException:
 C:\DOCUME~1\BB03545\LOCALS~1\Temp\1\xwiki-office-importer-xwiki:XWiki.bb03545\input.tmp
 (The filename, directory name, or volume label syntax is incorrect)

 It seems that the application tries to create a temporary folder with ':'
 in the name wich is prohibited under Windows.
 Is there a way to change that from the interface ?


 This is a very unfortunate. And I'm afraid there is no way to change this
 setting from the UI either. I have created an issue for this @
 http://jira.xwiki.org/jira/browse/XWIKI-3406 it will be fixed for 1.8.1 
 1.9M1 releases.

 Note:- I did not try to reproduce this bug yet (kind of busy) but from your
 description and looking at the code it seems quite possible.


I tried this on my XP installation but I could not reproduce it. It is
possible that this occurs when there are multiple wikis configured or ldap
authentication  used where the getUser() method returns something like
wiki:XWiki.UserName. So it's still a bug, will be fixed.

- Asiri



 Thanks.

 - Asiri


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