[xwiki-devs] erreur lors de l'export pdf
Hi When i try to export a page in pdf , i have this error : (i use XWiki Enterprise 1.6.1.13621 ) Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12003 in 12: XSL Transformation Failed Wrapped Exception: Premature end of file. com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12003 in 12: XSL Transformation Failed Wrapped Exception: Premature end of file. at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) -- Antoine SEILLES Doctorant (phd student) LIRMM CNRS Président de l'association imagiLAB LIRMM CNRS: UMR 5506 - 161 rue Ada 34392 Montpellier Cedex 5 FRANCE www.lirmm.fr Association imagiLAB apt D22 Mas du Cavalier, 365 quai louis le vau 34080 Celleneuve www.imagilab.fr Tel: +33 (0)6 10 192 055 [email protected] [email protected] [email protected]
natoine wrote:
Hi
When i try to export a page in pdf , i have this error : (i use XWiki Enterprise 1.6.1.13621 )
Looks like an incorrect encoding setting. Can you tell me: - what container and operating system are you using - what is the system (OS) encoding - what is the encoding specified in xwiki.cfg and in web.xml -- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu a écrit :
natoine wrote:
Hi
When i try to export a page in pdf , i have this error : (i use XWiki Enterprise 1.6.1.13621 )
Looks like an incorrect encoding setting. Can you tell me: - what container and operating system are you using
Tomcat 5.5 and Ubuntu 8.10
- what is the system (OS) encoding
commande : locale LANG=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=
- what is the encoding specified in xwiki.cfg and in web.xml
xwiki.cfg : xwiki.encoding=UTF-8 web.xml : UTF-8 But this problem concerns only one page. -- Antoine SEILLES Doctorant (phd student) LIRMM CNRS Président de l'association imagiLAB LIRMM CNRS: UMR 5506 - 161 rue Ada 34392 Montpellier Cedex 5 FRANCE www.lirmm.fr Association imagiLAB apt D22 Mas du Cavalier, 365 quai louis le vau 34080 Celleneuve www.imagilab.fr Tel: +33 (0)6 10 192 055 [email protected] [email protected] [email protected]
antoine seilles wrote:
Sergiu Dumitriu a écrit :
natoine wrote:
Hi
When i try to export a page in pdf , i have this error : (i use XWiki Enterprise 1.6.1.13621 )
Looks like an incorrect encoding setting. Can you tell me: - what container and operating system are you using
Tomcat 5.5 and Ubuntu 8.10
- what is the system (OS) encoding
commande : locale
LANG=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=
- what is the encoding specified in xwiki.cfg and in web.xml
xwiki.cfg : xwiki.encoding=UTF-8 web.xml : UTF-8
But this problem concerns only one page.
The settings look good. Maybe there's something wrong with that particular document? Can you check if the page is valid XML? You can use the validator at http://validator.w3.org/ This aspect should not matter much, since we're also applying JTidy on the source to obtain a valid XML. Can you check the XML export of the page? Just append ?xpage=xml to the URL (in normal view mode, not when exporting). Is there something different about this page, compared to all the others that work? Do you have a public URL I could look at for direct debugging? -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (3)
-
antoine seilles -
natoine -
Sergiu Dumitriu