Version: 0.9.2 (using 4.2.00 (KDE 4.2.0), 4.2.0-15.fc9 Fedora) Compiler: gcc OS: Linux (x86_64) release 2.6.27.19-78.2.30.fc9.x86_64 Default installation from Fedora 9 repository. A) Parley wrote <entry id="xxx" /> into vocabulary file and it was apparently not capable of parsing it back. When I changed it to <entry id="xxx"><translation id="0"/><translation id="1"/></entry> everything was OK again. Unfortunately I use it a lot and can't give any hints on the preceding actions. B) on another occasion Parley cut off the output to the file, so I had to manually close the open tags - suppose this could be completely mine, just in case it happened to anyone else too. thank you very much, I use Parley on a daily basis, it's great! Vasek
Created attachment 33319 [details] Corrupted file Look for <entry id="745" />
I've also encountered this bug. The minimal diff between the corrupted and a fixed version of my Quiz.kvtml is below. My kvmtl just happend to have 257 entries but I doubt that you use a byte counter somewhere :) In fact I've just tested 260 entries and that worked fine. The version reported with "parley --version" is: Qt: 4.5.1 KDE: 4.2.4 (KDE 4.2.4) Parley: 0.9.2 I'm using Debian unstable with "uname -a" like: Linux james 2.6.29-2-amd64 #1 SMP Sun May 17 17:15:47 UTC 2009 x86_64 GNU/Linux --- buggy.kvtml 2009-06-03 19:59:40.000000000 +0200 +++ fixed.kvtml 2009-06-03 23:18:50.000000000 +0200 @@ -1543,7 +1543,6 @@ <text>xxxxxxxxx</text> </translation> </entry> - <entry id="198" /> <entry id="199" > <translation id="0" > <text>xxxxxx</text> @@ -2199,7 +2198,6 @@ <entry id="195" /> <entry id="196" /> <entry id="197" /> - <entry id="198" /> </container> <container> <name>xxxx</name> bye, -christian-
SVN commit 987047 by gladhorn: be more tolerant when reading kvtml entries without translation would crash <entry id="123" /> BUG: 191485 M +10 -7 keduvockvtml2reader.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=987047