I deleted the entries manually from the database (from table xwikidoc) -hoping
it won't affect anything else.
Now, I still have this issue regarding the migration from a 0.9 database to a
1.1.1 database (schema) by using the export/import feature.
Anybody with the same issue?
- If I connect the 1.1.1 wiki to the database it does not work (only up to
1.1rc1 it works). It fails also with 1.2m1.
- If I export a package, I can't import it in the new wiki 1.1.1.
What can I do to migrate my data? Any idea?
Thank you
Marc
On October 13, 2007 01:04:35 am Marc Lijour wrote:
Hi
I have a couple of pages with strange names such as:
"sse String pour les op+�rateurs + et +=^M^J* lvalue^M^J* alias,
aliasing^M^J* passage par valeur (copie)/WebHome"
It looks like the name is the result of some unintended action. The
question now is how do I remove this page (or space)?
I have a hard time doing it from the wiki with the scriptlet provided to
delete spaces (the parser is fooled by the special characters).
Note that it does not matter that much. I am upgrading the wiki, therefore
if I could remove that from the backup.xar it would be satisfactory.
For now I get an error which I assume is due to these weird names (the zip
file opens correctly):
I am upgrading to 1.1.1 and I used the 1.1rc1 export script to create the
xar file (from a database based on some old 0.9 schema modified manually as
per instructions on the wiki).
00:51:55,259 INFO [STDOUT] 00:51:55,239 WARN ajp-127.0.0.1-8009-11
http://www.lijour.net/xwiki/bin/import/XWiki/Import?action=getPackageInfos&…
name=Backup.xar&xpage=plain&_= XWikiAction:execute:183 - Uncaught exception:
Error number 11015 in 11: Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:117) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
ava:96) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
ava:230) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:175) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoc
iationValve.java:179) at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:84) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
8) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
4) at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnect
ionValve.java:157) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.
java:381) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document : Premature end of file.
Nested exception: Premature end of file.
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2307)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:697)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:384)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:117) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
ava:96) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
ava:230) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:175) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoc
iationValve.java:179) at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:84) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
8) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
4) at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnect
ionValve.java:157) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.
java:381) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.dom4j.DocumentException: Error on line -1 of document : Premature end
of file. Nested exception: Premature end of file.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2305)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:697)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:384)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:117) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
ava:96) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
ava:230) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:175) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoc
iationValve.java:179) at org.jboss.web.
00:51:55,289 INFO [STDOUT]
tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
8) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
4) at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnect
ionValve.java:157) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.
java:381) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Nested exception:
org.xml.sax.SAXParseException: Premature end of file.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source) at
org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispatch(Un
known Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2305)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:697)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:384)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:117) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
ava:96) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
ava:230) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:175) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoc
iationValve.java:179) at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:84) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
8) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
4) at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnect
ionValve.java:157) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.
java:381) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users