Re: [xwiki-users] Transfer from Confluence

2015-08-19 Thread Thomas Mortagne
There is nothing to debug, again this module expect a zipped
Confluence package (Confluence 4.x was used as reference when starting
working on this module) so it will have to be modified to support
whatever Confluence 3.0 produces if that's not the same format. If you
have a Confluence package in 3.0 version that does not contain
anything too personal so that someone can use it as work base you
should create a jira issue and attach it. Also maybe there is some
Confluence plugin to export a more recent format of package.

On Mon, Aug 17, 2015 at 7:12 PM, Paul Libbrecht p...@hoplahup.net wrote:
 Erm. That confluence is version 3.0.
 So... I should just try to follow that with a debugger?

 paul

 Thomas Mortagne wrote:
 Hmm looks like something changed in 5.7,
 https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+and+Spaces+to+XML
 documentation exist only until 5.6.x.

 We might have to look at whatever is the new format.

 ___
 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] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
Could you copy the full error.

On Mon, Aug 17, 2015 at 3:21 PM, Paul Libbrecht p...@hoplahup.net wrote:
 I've reached as deep as:
 tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace
 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace
 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace
 with either entities.xml or the path of the zip or the entities.xml.

 Any way to go deeper?

 paul


 Thomas Mortagne mailto:thomas.morta...@xwiki.com
 17 août 2015 14:53
 You should get a detailed log of what happen somewhere in
 jobs/status/filter/converter/.


 ___
 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] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht


Thomas Mortagne wrote:
 You can look at
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+module
 for the technical how to import a Confluence export file.
 Right now there is no general migrate from Confluence documentation I
 can think of.
This was potentially a good start, with a very basic tutorial that could
have been sufficient, but nothing seems to happen beyond Conversion
started.

What parameter should I change to get some logging from this?
Is this filter supposed to take care of attachments?

thanks

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
Thomas Mortagne wrote:
 Could you copy the full error.
complete file at:
http://direct.hoplahup.net/tmp/status.xml
Interesting bit:
throwable class=org.xwiki.filter.FilterException
  detailMessageFailed to read package/detailMessage
  cause class=java.lang.NullPointerException
stackTrace
 
tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:88)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace
 
traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace
 
traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace
 
traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace
 
traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace
 
traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace
 
tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace
 
tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
  tracejava.lang.Thread.run(Thread.java:745)/trace
/stackTrace
suppressedExceptions
class=java.util.Collections$UnmodifiableRandomAccessList
resolves-to=java.util.Collections$UnmodifiableList
  c class=list/
  list reference=../c/
/suppressedExceptions
  /cause
  stackTrace
   
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:90)/trace
   
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace
   
traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace
   
traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace
   
traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace
   
traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace
   
traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace
   
tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace
   
tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
tracejava.lang.Thread.run(Thread.java:745)/trace
  /stackTrace
  suppressedExceptions
class=java.util.Collections$UnmodifiableRandomAccessList
reference=../cause/suppressedExceptions/
/throwable


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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
I've reached as deep as:
tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace   
  
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace
with either entities.xml or the path of the zip or the entities.xml.

Any way to go deeper?

paul


 Thomas Mortagne mailto:thomas.morta...@xwiki.com
 17 août 2015 14:53
 You should get a detailed log of what happen somewhere in
 jobs/status/filter/converter/.


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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
Did you indicated a path to the Confluence XML package to load in the
target property ?

On Mon, Aug 17, 2015 at 3:28 PM, Paul Libbrecht p...@hoplahup.net wrote:
 Thomas Mortagne wrote:
 Could you copy the full error.
 complete file at:
 http://direct.hoplahup.net/tmp/status.xml
 Interesting bit:
 throwable class=org.xwiki.filter.FilterException
   detailMessageFailed to read package/detailMessage
   cause class=java.lang.NullPointerException
 stackTrace

 tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace

 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace

 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:88)/trace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace

 traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace

 traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace

 traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace

 traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace

 traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace

 tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace

 tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
   tracejava.lang.Thread.run(Thread.java:745)/trace
 /stackTrace
 suppressedExceptions
 class=java.util.Collections$UnmodifiableRandomAccessList
 resolves-to=java.util.Collections$UnmodifiableList
   c class=list/
   list reference=../c/
 /suppressedExceptions
   /cause
   stackTrace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:90)/trace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace

 traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace

 traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace

 traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace

 traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace

 traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace

 tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace

 tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
 tracejava.lang.Thread.run(Thread.java:745)/trace
   /stackTrace
   suppressedExceptions
 class=java.util.Collections$UnmodifiableRandomAccessList
 reference=../cause/suppressedExceptions/
 /throwable


 paul
 ___
 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] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
On Mon, Aug 17, 2015 at 3:44 PM, Paul Libbrecht p...@hoplahup.net wrote:
 I have indicated the following in the the latest The source field:

Yes source not target sorry.


 file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
 which I think is the target.

However this filter expect an unzipped Confluence package and not the
entities.xml file.

 The output-type, however, is XWiki instance output stream
 (xwiki+instance).
 paul

 Thomas Mortagne wrote:
 Did you indicated a path to the Confluence XML package to load in the
 target property ?

 ___
 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] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
You should get a detailed log of what happen somewhere in
jobs/status/filter/converter/.

On Mon, Aug 17, 2015 at 2:29 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 You can look at
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+module
 for the technical how to import a Confluence export file.
 Right now there is no general migrate from Confluence documentation I
 can think of.
 This was potentially a good start, with a very basic tutorial that could
 have been sufficient, but nothing seems to happen beyond Conversion
 started.

 What parameter should I change to get some logging from this?
 Is this filter supposed to take care of attachments?

 thanks

 paul
 ___
 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] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
I have indicated the following in the the latest The source field:
   
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
which I think is the target.
The output-type, however, is XWiki instance output stream
(xwiki+instance).
paul

Thomas Mortagne wrote:
 Did you indicated a path to the Confluence XML package to load in the
 target property ?

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
Erm. That confluence is version 3.0.
So... I should just try to follow that with a debugger?

paul

Thomas Mortagne wrote:
 Hmm looks like something changed in 5.7,
 https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+and+Spaces+to+XML
 documentation exist only until 5.6.x.

 We might have to look at whatever is the new format.

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht


Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
A folder?
I tried it and it complained it's a folder (maybe it's a difference
between a trailing /?)
The entities.xml is part of the folder.

A zip?

I see no constructor in
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
But that's the object being built, right?

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
Hmm looks like something changed in 5.7,
https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+and+Spaces+to+XML
documentation exist only until 5.6.x.

We might have to look at whatever is the new format.

On Mon, Aug 17, 2015 at 5:07 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Mon, Aug 17, 2015 at 5:06 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
 A folder?
 I tried it and it complained it's a folder (maybe it's a difference
 between a trailing /?)
 The entities.xml is part of the folder.

 A zip?

 Yes Confluence give you a zip when you do an export.


 I see no constructor in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
 But that's the object being built, right?

 ConfluenceInputFilterStream is a component so it only have default 
 constructor.


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



 --
 Thomas Mortagne



 --
 Thomas Mortagne



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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
 A folder?
 I tried it and it complained it's a folder (maybe it's a difference
 between a trailing /?)
 The entities.xml is part of the folder.

 A zip?

Yes Confluence give you a zip when you do an export.


 I see no constructor in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
 But that's the object being built, right?

 paul
 ___
 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] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
On Mon, Aug 17, 2015 at 5:06 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
 A folder?
 I tried it and it complained it's a folder (maybe it's a difference
 between a trailing /?)
 The entities.xml is part of the folder.

 A zip?

 Yes Confluence give you a zip when you do an export.


 I see no constructor in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
 But that's the object being built, right?

ConfluenceInputFilterStream is a component so it only have default constructor.


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



 --
 Thomas Mortagne



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


[xwiki-users] Transfer from Confluence

2015-07-06 Thread Paul Libbrecht

Hello XWiki experts,

I see that the Confluence syntax is supported and seems to be working
well. That is cool.
Is there a more global advice about migrating from Confluence?

I see here and there mentions of big XMLs which would be exports from
Confluence but nothing that looks like a recipe.

Thanks for hints.

paul

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


Re: [xwiki-users] Transfer from Confluence

2015-07-06 Thread vinc...@massol.net
Hi Paul,


On 6 Jul 2015 at 11:53:28, Paul Libbrecht 
(p...@hoplahup.net(mailto:p...@hoplahup.net)) wrote:

  
 Hello XWiki experts,
  
 I see that the Confluence syntax is supported and seems to be working
 well. That is cool.
 Is there a more global advice about migrating from Confluence?
  
 I see here and there mentions of big XMLs which would be exports from
 Confluence but nothing that looks like a recipe.

See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+module

Thanks
-Vincent

 Thanks for hints.
  
 paul

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


Re: [xwiki-users] Transfer from Confluence

2015-07-06 Thread Thomas Mortagne
You can look at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+module
for the technical how to import a Confluence export file.

Right now there is no general migrate from Confluence documentation I
can think of.

On Mon, Jul 6, 2015 at 11:53 AM, Paul Libbrecht p...@hoplahup.net wrote:

 Hello XWiki experts,

 I see that the Confluence syntax is supported and seems to be working
 well. That is cool.
 Is there a more global advice about migrating from Confluence?

 I see here and there mentions of big XMLs which would be exports from
 Confluence but nothing that looks like a recipe.

 Thanks for hints.

 paul

 ___
 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