[xwiki-users] Office importer application error
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 ? Thank you Ps: real good job from Xwiki team for 1.8 performances improvements System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.8-rc2 from the pack Jetty/HSQL Christophe Périnaud -------------------------------------------------------------------------------- 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
Hi Christophe On Fri, Mar 20, 2009 at 3:01 PM, PERINAUD Christophe < [email protected]> 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
Hi, On Fri, Mar 20, 2009 at 10:55 PM, Asiri Rathnayake < [email protected]> wrote:
Hi Christophe
On Fri, Mar 20, 2009 at 3:01 PM, PERINAUD Christophe < [email protected]> 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
participants (2)
-
Asiri Rathnayake -
PERINAUD Christophe