[KPhotoAlbum] problems with kphotoalbum-20090613.tar.bz2

Martin Jost lists at majo.name
Sat Jun 20 08:31:33 BST 2009


Hello,

I tried kphotoalbum-20090613.tar.bz2 but have run into problems.
(I had 4.0.1 installed in the same location before. Just to let you
know, if I might need to delete some old config files or some such)

1.
On my machine, it didn't compile "out of the box".
I changed the following two files:
*** ./MainWindow/BreadcrumbViewer.cpp.~1~       2009-06-09
22:14:16.000000000 +0200
--- ./MainWindow/BreadcrumbViewer.cpp   2009-06-20 08:13:47.000000000 +0200
***************
*** 36,42 ****

      QString res = htmlList.last();
      const QString ellipses = QChar(0x2026) + QString::fromLatin1(" > ");
!     for ( int i = htmlList.length()-2; i >= 0; --i ) {
          // If we can't fit it in, then add ellipses
          const QString tmp = htmlList[i] + QString::fromLatin1(" > ") +
res;
          doc.setHtml(tmp);
--- 36,42 ----

      QString res = htmlList.last();
      const QString ellipses = QChar(0x2026) + QString::fromLatin1(" > ");
!     for ( int i = htmlList.count()-2; i >= 0; --i ) {
          // If we can't fit it in, then add ellipses
          const QString tmp = htmlList[i] + QString::fromLatin1(" > ") +
res;
          doc.setHtml(tmp);

*** ./Browser/BreadcrumbList.cpp.~1~    2009-06-09 19:55:13.000000000 +0200
--- ./Browser/BreadcrumbList.cpp        2009-06-20 08:31:11.000000000 +0200
***************
*** 22,28 ****
  Browser::BreadcrumbList Browser::BreadcrumbList::latest() const
  {
      BreadcrumbList result;
!     for ( int i = length()-1; i >=0; --i ) {
          const Breadcrumb crumb = at(i);
          const QString txt = crumb.text();
          if ( !txt.isEmpty() || crumb.isView() )
--- 22,28 ----
  Browser::BreadcrumbList Browser::BreadcrumbList::latest() const
  {
      BreadcrumbList result;
!     for ( int i = count()-1; i >=0; --i ) {
          const Breadcrumb crumb = at(i);
          const QString txt = crumb.text();
          if ( !txt.isEmpty() || crumb.isView() )

Then it compiled and linked. Hopefully my "guessing" was correct. (I'm
no QT-programmer and just looked at other examples of the same datatype
in KPA)

2.
Now it starts, and yes the starting screen looks good.
Even better is, that the folder view starts out with all branches
closed. (I was thinking about adding a wishlist item for that - now I
already got it, even 6 months before christmas :-)
IHMO even better would be, if KPA could remember the state of the
branches at program exit...

3.
BUT...
I clicked on one of the folders (containing 524 images according to KPA)
I just get back to the opening screen. (See attached screenshot)
This seems to be updated. The breadcrumb (lower left) shows the selected
folder.
The status (lower right) shows the correct count of images in the folder
(524) But the date-bar only shows 509 (?)
But that's it - no image visible...

Also searching for locations, persons etc. behaved the same way. No
images visible, instead I just get back to an updated main screen.

If I now click "Run slideshow", it shows the fotos I would expect.
But I never were able to see the "usual" thumbnail view.

What am I doing wrong here ?

4.
EXIF DB still doesn't work.
I recreated the DB, but I still see errors on the console.
(This is from a new start of KPA, after the DB was rebuild)
And a query with the default settings of the dialog yielded 0 images.
---------------------------------------------------------------
godot:/images/fotos/2009/Wien> /usr/local/bin/kphotoalbum
2005/Christof/15.jpg already in database
2005/Christof/15.jpg already in database
2005/Christof/22.jpg already in database
2005/Christof/22.jpg already in database
2005/Christof/25.jpg already in database
2005/Christof/25.jpg already in database
2005/Christof/28.jpg already in database
2005/Christof/28.jpg already in database
2005/Christof/26.jpg already in database
2005/Christof/26.jpg already in database
2005/Christof/56.jpg already in database
2005/Christof/56.jpg already in database
2005/Christof/64.jpg already in database
2005/Christof/64.jpg already in database
2005/Christof/67.jpg already in database
2005/Christof/67.jpg already in database
2005/Christof/60.jpg already in database
2005/Christof/60.jpg already in database
2005/Christof/69.jpg already in database
2005/Christof/69.jpg already in database
2006/Norwegen/19.8./IMG_0500.JPG already in database
2006/Norwegen/19.8./IMG_0512.JPG already in database
2006/Norwegen/19.8./IMG_0540.JPG already in database
2006/Norwegen/19.8./IMG_0623.JPG already in database
2006/Norwegen/19.8./IMG_0628.JPG already in database
2006/Norwegen/22.8./IMG_0995.JPG already in database
2006/Norwegen/23.8./IMG_1081.JPG already in database
2006/Norwegen/24.8./IMG_1265.JPG already in database
2006/Norwegen/24.8./IMG_1358.JPG already in database
2006/Norwegen/25.8./IMG_1443.JPG already in database
2006/Norwegen/25.8./IMG_1444.JPG already in database
2006/Norwegen/27.8./IMG_1580.JPG already in database
2006/FDS/75 Jahre Taborkirche/IMG_2753.JPG already in database
2006/Donautal/IMG_2862.JPG already in database
Error running query: INSERT into exif values (?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?)
Error was:  Parameter count mismatch
Error running query: INSERT into exif values (?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?)
Error was:  Parameter count mismatch
Error running query: INSERT into exif values (?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?)
Error was:  Parameter count mismatch
Error running query: INSERT into exif values (?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?)
Error was:  Parameter count mismatch
Error running query: SELECT DISTINCT Exif_Image_Make, Exif_Image_Model
FROM exif
Error was: No query Unable to fetch row
Error running query: SELECT filename from exif WHERE (0 <=
Exif_Photo_FocalLength and Exif_Photo_FocalLength <= 10100)
Error was: No query Unable to fetch row
QSqlDatabasePrivate::removeDatabase: connection 'exif' is still in use,
all queries will cease to work.
---------------------------------------------------------------

Regards

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KPA.png
Type: image/png
Size: 97221 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20090620/441a328d/attachment.png>


More information about the Kphotoalbum mailing list