Re: [xwiki-users] XAR-Import

2016-03-24 Thread Bruno
Hello, I also had problems with importing XAR (a big one). In the end, I adjusted some parameters in my config. Here is what I did : - in /etc/mysql/my.cnf I set the parameter key_buffer_size from 16 M to 64M and max_allowed_packet 16 M to 128 M - in /etc/xwiki/xwiki.cfg I increased the value of

Re: [xwiki-users] XAR-Import

2016-03-22 Thread Thomas Mortagne
On Mon, Mar 21, 2016 at 8:28 PM, Matthias Wegner wrote: > Ha, ha. I just build a custom xar for you to reproduce the bug and compared > it to an export from xwiki with the same content. And now i see the problem. > I had the following structure: > > THIS IS NOT WORKING >

Re: [xwiki-users] XAR-Import

2016-03-21 Thread Matthias Wegner
Ha, ha. I just build a custom xar for you to reproduce the bug and compared it to an export from xwiki with the same content. And now i see the problem. I had the following structure: THIS IS NOT WORKING book.xar |_ package.xml |_Book |_article1 | |_WebHome.xml |_article2

Re: [xwiki-users] XAR-Import

2016-03-21 Thread Thomas Mortagne
Do you see anything in the log ? If that's a XAR you can safely share and its not too big you should probably create an issue on http://jira.xwiki.org so that we could reproduce it. On Mon, Mar 21, 2016 at 3:30 PM, Matthias Wegner wrote: > IT teils Nothing. The right

Re: [xwiki-users] XAR-Import

2016-03-21 Thread Matthias Wegner
IT teils Nothing. The right Circle Moves and it seems that it can not read. It shows no files. Regards, Matthias Von unterwegs gesendet > Am 21.03.2016 um 11:51 schrieb Thomas Mortagne : > > What dos the UI tells you when you try to import ? Does it find > documents

Re: [xwiki-users] XAR-Import

2016-03-21 Thread Thomas Mortagne
What dos the UI tells you when you try to import ? Does it find documents in the XAR ? On Sun, Mar 20, 2016 at 9:58 PM, Matthias Wegner wrote: > Hi Users, > > i made a custom xar-file because i want to import some content into XWiki > 8.0. But it seems to stuck. i can

[xwiki-users] XAR-Import

2016-03-20 Thread Matthias Wegner
Hi Users, i made a custom xar-file because i want to import some content into XWiki 8.0. But it seems to stuck. i can upload the file but it is never imported. The request.log show only 127.0.0.1 - - [20/Mrz/2016:20:51:39 +] "POST /xwiki/bin/upload/XWiki/XWikiPreferences HTTP/1.1" 302 -

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-23 Thread Peter John Acklam
Thanks everyone! The problem has been solved, and the odd characters are gone. The query didn't work without some modifications. I ended up using select xwd_fullname from xwikidoc where xwd_content like '%' || chr(1) || '%'; (concat() only takes two operands, so it was easier to use ||. My

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-23 Thread Paul Libbrecht
Hello all, here would be the query: select xwd_fullname from xwikidoc where xwd_content like concat("%",char(1),"%"); (I've seen many indicate that || would be the concatenation operator, but it seems like it is not the case in like operands) Based on that, Peter, you should be able to filter

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
What I can say from the error is that the character is in a document content at least (not a title, or an object) but it does not help much reduce the scope. You could try to find it with a SQL request I guess, need to find how to search this specific character in a SQL request. On Mon, Feb 22,

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread vinc...@massol.net
Hi Peter, On 22 Feb 2016 at 12:46:33, Peter John Acklam (pjack...@gmail.com(mailto:pjack...@gmail.com)) wrote: > Avoiding this problem in the future would be nice, but I already have this > character in my wiki, and I need to get rid of it. I don't know how it got > there, but more importantly,

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
On Mon, Feb 22, 2016 at 12:46 PM, Peter John Acklam wrote: > Avoiding this problem in the future would be nice, but I already have this > character in my wiki, and I need to get rid of it. I don't know how it got > there, but more importantly, I need to find it, so I can

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Peter John Acklam
Avoiding this problem in the future would be nice, but I already have this character in my wiki, and I need to get rid of it. I don't know how it got there, but more importantly, I need to find it, so I can remove it. With no XAR export, we can't do our planned transision from an Oracle to a

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
Starting a discussion on this subject on http://markmail.org/message/32vnzxchphr26phh. If you have more input on what is this character doing here please share there. On Mon, Feb 22, 2016 at 11:55 AM, Thomas Mortagne wrote: > Actually I do know why it's writting XML

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
Actually I do know why it's writting XML 1.0, that's because we tell it to... Did not know XML 1.0 was not supporting anything, I'm surprise we get this kind of report only know. Anyway thanks for the report, will take care of this. On Mon, Feb 22, 2016 at 11:31 AM, Thomas Mortagne

Re: [xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Thomas Mortagne
What I understand from the error message is that Woodstox think it's writing XML 1.0 and looks like it's not possible to put anything you want in XML 1.0 but not sure why exactly. You happen to have a document containing some weird character (0x1) which is probably a mistake but still we should be

[xwiki-users] XAR Export fails - Invalid white space character (0x1) in text to output

2016-02-22 Thread Peter John Acklam
I can no longer make a XAR export of our wiki. The essential error message in catalina.out seems to be "Invalid white space character (0x1) in text to output (in xml 1.1, could output as a character entity)" Alas, there is no information about which wiki page contains this invalid character. I

Re: [xwiki-users] XAR

2015-09-18 Thread Peter Huisman
Hi Eduard, Thanks for the explanation and the links. I am not looking for the Java way since we already have a XML exporter in place that is exporting the information in our environment (which is heavily object based) in a way that can be used by third parties. This is the way we are looking

Re: [xwiki-users] XAR

2015-09-18 Thread Eduard Moraru
Hi, Glad to be able to help :) On Fri, Sep 18, 2015 at 11:10 AM, Peter Huisman wrote: > Hi Eduard, > > Thanks for the explanation and the links. > > I am not looking for the Java way since we already have a XML exporter in > place that is exporting the information in our

[xwiki-users] XAR

2015-09-17 Thread Peter Huisman
Hi, Is there a way to generate XAR’s using XWiki’s scheduling function? I’m not looking for a DB based backup but merely for a backup of spaces / pages. With kind regards, Peter ___ users mailing list users@xwiki.org

Re: [xwiki-users] XAR

2015-09-17 Thread Eduard Moraru
Hi Peter, Of course, though you might want to think a bit on the approach. 1) If you want to do it in XWiki using the scheduler plugin, you have to write some groovy script [1] in the scheduled task that you create in order to use the filter module [2] (or the old packager module [3], whichever

Re: [xwiki-users] XAR

2015-04-22 Thread Thomas Mortagne
Impossible to tell you why without more details like what error do you get etc. If you don't see anything in the UI please look at the log. Given the size of you XAR file it's probably a memory issue. On Tue, Apr 21, 2015 at 5:44 PM, Maciej Fokt maciek.f...@taxi123.pl wrote: Hello, I tried to

[xwiki-users] XAR

2015-04-21 Thread Maciej Fokt
Hello, I tried to make a backup of spaces. I made (I think correctly) backup of one of space... and I deleted this space. Now I can't import this backup .xar file... Why?! File weight: 16.9 MB Please tell me why.. Greetings, Maciek. ___ users

[xwiki-users] XAR Export/Import Issues - JIRA XWIKI-1926

2008-10-17 Thread Deven Phillips
Vincent, I was already on the mailing list, I just haven't been keeping up lately. May I start off with a few questions? 1. Does XWiki use the Google XAR API unchanged? 2. Where should I post patches? Here? JIRA? Thanks, Deven ___ users mailing