| Summary: | Parley writes corrupted kvtml | ||
|---|---|---|---|
| Product: | [Applications] parley | Reporter: | Vaclav Stumbauer <stumbav> |
| Component: | general | Assignee: | Parley Developers <parley-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ch |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Corrupted file | ||
|
Description
Vaclav Stumbauer
2009-05-03 16:33:30 UTC
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 |