[Quexf-discuss] [Fwd: Re: QueX__ integration with LimeSurvey]
Web based, Open Source alternative to Remark OMR or Teleform
Brought to you by:
azammitdcarf
From: Carlos N. C. <car...@gm...> - 2008-04-21 13:18:19
|
This a copy of the email I sent to Adam without the example files, because the list don't allow to attach ZIP files. Dear Adam, Thank you for your work. I've tested the new file, and it worked. That is, produces an xml file. I've been testing the whole process with the two questionnaires I had used from the beginnig of this thread. But unfortunately I couldn't get it work. I found two different situations. If you're interested in continue fixing this problem, this is what happen. --- 1. File "CESGA_QueXML.xml" (new one, exported from LimeSurvey after your fixing) QueXML Tools with default parameters produces a XSL:FO file ("-tmp-loRmyS.xml" I renamed to "CESGA_XSL-FO.xml"). I was surprised this file is more lighter than that one I got before you fixed exporting php file (200K after when it was a few MB before). Website don't show errors on converting. On MS Windows XEP Assistant validated this XSL:Fo file (just where it stopped before fixing). Then tried to convert it to PDF (I tested PostScript also, with the same results). The log file showed many errors bur produces an incomplete PDF questionnaire that included only first two pages (presentation and introduction). [Off topic: naturally everything it's in english ;-) If you need translations on this I offer myself to give you spanish, portuguese and galician ones] Extracts from the XEP Assistant log file: [error] Failed to create image file://mnt/iss/quexml/deakin_logo.png of type null [error] java.io.FileNotFoundException: \\mnt\iss\quexml\deakin_logo.png (No se ha encontrado la ruta de acceso de la red) ... [error] Failed to create image file:/mnt/iss/quexml/information.svg of type null [error] java.io.FileNotFoundException: \mnt\iss\quexml\information.svg (El sistema no puede hallar la ruta especificada) * Although I was working in MS Windows the supposed multi-platform jar version of RenderX tried to find many files through Linux paths] [error] com.renderx.xep.cmp.NoPageMasterException: state: last blank even * Last message was "formatting successful", conversion ended but questionnaire is unuseful. --- 2. File "forGADocente_QueXML.xml" (new one, exported from LimeSurvey after your fixing) QueXML Tools produces a XSL:FO file ("-tmp-SQ27yZ.xml" I renamed to "forGADocente_XSL-FO.xml"). This time file size is more or less the same as before the fixing (>9MB, it's a longer questionnaire). Website don't show errors on converting. XEP Assistant validated again this XSL:FO file but crashed on converting. Following messages appeared at MS-DOS terminal (not at XEP Assistant, as before): Exception in thread "TimerQueue" java.lang.OutOfMemoryError: Java heap space at java.awt.EventQueue.postEvent(Unknown Source) at java.awt.EventQueue.postEventPrivate(Unknown Source) at java.awt.EventQueue.postEvent(Unknown Source) at java.awt.EventQueue.invokeLater(Unknown Source) at javax.swing.SwingUtilities.invokeLater(Unknown Source) at javax.swing.Timer.post(Unknown Source) at javax.swing.TimerQueue.postExpiredTimers(Unknown Source) at javax.swing.TimerQueue.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap space at java.io.BufferedReader.<init>(Unknown Source) at java.io.BufferedReader.<init>(Unknown Source) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source ) at javax.xml.parsers.FactoryFinder.find(Unknown Source) at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source) at com.icl.saxon.TransformerFactoryImpl.getStyleParser(TransformerFactor yImpl.java:521) at com.icl.saxon.TransformerFactoryImpl.getSAXSource(TransformerFactoryI mpl.java:145) at com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryI mpl.java:126) at com.icl.saxon.TransformerFactoryImpl.newTransformerHandler(Transforme rFactoryImpl.java:580) at com.renderx.xep.FormatterCore$ContentHandlerDriver.endDocument(Unknow n Source) at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:334) at com.renderx.xep.FormatterCore.render(Unknown Source) at com.renderx.xep.FormatterImpl.render(Unknown Source) at com.renderx.xep.FormatterImpl.render(Unknown Source) at com.renderx.xep.FOTransformer.transform(Unknown Source) at com.renderx.xepx.x4u.as.Formatter.render(Formatter.java:117) at com.renderx.xepx.x4u.as.Formatter$1.run(Formatter.java:22) I don't know but I suspect this is a memory problem. If so it seems longer questionnaires exceed the scope of the "triple convertion" process. I attach one ZIP archive with the examples I worked with, each one including the original QueXML file, the XSL:FO one, and finally the PDF (or not). I don't know if the solution to these errors are on your hands. Maybe you found them (or similar ones) before at the university. Anyhow, thanks for your effort. Carlos Adam Zammit escribiu: > Dear Carlos, > > The problem questions all had the type "Drop down list". It appears > there was a problem in exporting to a drop down list. > > I have updated the file in the bug report to LimeSurvey here: > > http://bugs.limesurvey.org/view.php?id=1934 > > You can download the file "export_structure_quexml.php" and then copy > it to your limesurvey/admin directory to test it. > > I hope this solves your problem, and I look forward to hearing if it > works. > > Regards, > Adam Zammit |