[Pkg-kde-extras] Bug#682318: [kphotoalbum] Kphotoalbum hang after load the database file (UTF8 problem?)

Grégoire G gregoire at greboca.org
Sat Jul 21 14:10:23 UTC 2012


Package: kphotoalbum
Version: 4.2-1
Severity: normal

--- Please enter the report below this line. ---
Hi!

I try with several version of Kphotoalbum, and kipi-plugin.

When I use an archive of database (from previous version),
Kphotoalbum can load database.

I changed only one tag on one picture, and save database.

After exit Kaphotoalbum, and lunch again Kaphotoalbum, he load
database and hang.

If I compare the old database file, and the new file database.
There is many differences between files, but small.

for exemple :
Start of files (with problem encoding utf8 for the new):
old :
<?xml version="1.0" encoding="UTF-8"?>
<KPhotoAlbum version="3" compressed="1">
 <Categories>
  <Category icon="kdesvntree" viewtype="1" thumbnailsize="128"
name="Mots-clés" show="1">

New:
<?xml version="1.0" encoding="UTF-8"?>
<KPhotoAlbum version="3" compressed="1">
 <Categories>
  <Category icon="" viewtype="1" thumbnailsize="128"
name="Mots_.2Dcl_.FFFFFFE9s" show="1">

and for many lines, without problem utf8 encoding (I can read all
chars) :

old:
  <image width="-1" startDate="2012-01-10T00:28:39" height="-1"
md5sum="694db160d271a1160010df51de989779" file="#####uae6zc39j.jpg"
endDate="2012-01-10T00:28:39" label="###6zc39j" angle="0"
Mots-clés="5"/>

New:
  <image width="-1" startDate="2012-01-10T00:28:39" height="-1"
md5sum="694db160d271a1160010df51de989779" file="#####uae6zc39j.jpg"
endDate="2012-01-10T00:28:39" label="###6zc39j" angle="0"/>


With vim, I replaced the 'name="Mots-clés"' like old file, and
lunched again Kphotalbum, who can load database file.

If I save again the database, the same wrong specials chars come back.

It's a small problem, I hope you can change this easily, it's on the
begening database file.

See you
Gregoire G

--- System information. ---
Architecture: i386
Kernel:       Linux 3.2.0-3-686-pae

Debian Release: wheezy/sid
  900 unstable        ftp.gajim.org
  900 unstable        ftp.fr.debian.org
  500 testing         security.debian.org
  500 testing         ftp.fr.debian.org
  500 stable          ftp.fr.debian.org
    1 experimental    ftp.fr.debian.org

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-==============
kde-runtime                         | 4:4.8.4-1
libc6                     (>= 2.11) | 2.13-34
libexiv2-12                         | 0.23-1
libgcc1                (>= 1:4.1.1) | 1:4.7.1-5
libjpeg8                    (>= 8c) | 8d-1
libkdcraw20            (>= 4:4.7.1) | 4:4.8.4-1
libkdecore5           (>= 4:4.4.95) | 4:4.8.4-3
libkdeui5             (>= 4:4.5.85) | 4:4.8.4-3
libkio5                (>= 4:4.7.0) | 4:4.8.4-3
libkipi8              (>= 4:4.5.90) | 4:4.8.4-1
libphonon4             (>= 4:4.2.0) | 4:4.6.0.0-2
libqt4-dbus            (>= 4:4.5.3) | 4:4.8.2-1
libqt4-qt3support      (>= 4:4.5.3) | 4:4.8.2-1
libqt4-sql             (>= 4:4.5.3) | 4:4.8.2-1
libqt4-xml             (>= 4:4.5.3) | 4:4.8.2-1
libqtcore4             (>= 4:4.8.0) | 4:4.8.2-1
libqtgui4              (>= 4:4.8.0) | 4:4.8.2-1
libstdc++6                 (>= 4.6) | 4.7.1-5
phonon                              | 4:4.6.0.0-2
libqt4-sql-sqlite                   | 4:4.8.2-1


Recommends        (Version) | Installed
===========================-+-===========
kipi-plugins                | 4:2.6.0-1+b1
khelpcenter                 |


Suggests           (Version) | Installed
============================-+-===========
mplayerthumbs                | 4:4.8.4-2



More information about the pkg-kde-extras mailing list