Version: 1.3 (using KDE KDE 3.2.2) Installed from: RedHat RPMs OS: Linux When using Kugar Designer (kudesigner) and saving a template file (*.kut) the file is saved in some sort of binary format as opposed to plain text. Noticed problem when I was trying to produce a "sum" field while working through the on-line how-to. Version-Release number of selected component (if applicable): Kugar (as far as I know) is part of koffice. Version of koffice installed is koffice-1.3-6. Version of Kugar is 1.3. Linux Distribution: Fedora Core 2 How reproducible: Every instance tried reproduces the binary *.kut file. Steps to Reproduce: 1. Run sample *.kud (sample1.kud) file against sample *.kut (sample1.kut) file and see Kugar report with sum visible. 2. Cat sample *.kut file (sample1.kut) and check to see if it is plain text readable. 3. Open sample *.kut file (sample1.kut) in Kugar Designer (kudesigner). 4. Make no modification to the file and save it (or export it). 5. Cat sample1.kut and see lots of binary unreadable characters. 5. Run sample *.kud file (sample1.kud) against now binary formatted template (sample1.kut) and see report without sum attached. Actual results: *.kut files are being saved in some sort of binary format. Kugar can read the template but is unable to produce sums. Expected results: *.kut files should be saved in readable plain text format. Kugar can read the template and produce sums on the report. Additional Info: I have another machine with Fedora Core 2 installed and get the same results. I have a machine with Fedora Core 1 installed and have no problem (Kudesigner is ver. 1.2 however).
Kugar designer as of version 1.3 saves compressed xml files. kut file is simply a zip archive. You can unpack it and see if calculated field is stored correctly.
I unzipped the kut file and it extracted 4 files: mimetype maindoc.xml documentinfo.xml preview.png I compared the text of the original sample1.kut to the extracted maindoc.xml. What appeared to stick out to me in comparing the two files is that on the ReportFooter section of sample1.kut I see: <ReportFooter Height="32" PrintFrequency="2"> and on maindoc.xml I see: <ReportFooter Height="32" PrintFrequency="0"> so I modified PrintFrequency="2" in maindoc.xml, zipped up the 4 files mentioned earlier into a new kut file, ran Kugar against the modified kut file and voila! the sum field reappeared again. This looks like a bug at this point, would you agree? Don Dixon bugzilla@macrologic.com
Can not reproduce. Kudesigner now has the option of spitting out Flat XML instead of zipping up the file. If you can retry and provide a template and datafile to try I'll see if I can reproduce, but without that I'm closing this for now.