| Summary: | importing photos first time and crashed | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | skeil <skeil> |
| Component: | Database-Scan | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | caulier.gilles, marcel.wiesweg, wolf.behrenhoff |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.10.0 | |
| Sentry Crash Report: | |||
|
Description
skeil
2009-02-10 08:17:15 UTC
Which version of digiKam you use ? Go to Help/About menu for more informations... Gilles Caulier I assume you compile from current SVN. Can you reproduce the crash when you import the folder again? It must be a video file causing this. The filename is probably printed on the console in the last lines before the assert hits. If you can reproduce, please open the file digikam/libs/database/albumdb.cpp and insert this into line 1130 (before the Q_ASSERT): if (fieldNames.size()==infos.size()) kDebug() << "Assert hit:" << fieldNames << infos << fields << imageID; I can't find a reason why the assertion should fail, but maybe I'm missing it. Hello,
I also have the same problem when trying to import all my photos from external disk. I can reproduce this bug. Using the current SVN version.
Marcel, I guess you wanted us to insert
if (fieldNames.size()!=infos.size()) ...
insead of ... == ... ;-)
done that, result is:
digikam(19032) Digikam::AlbumDB::addImageInformation: Assert hit: ("rating", "creationDate", "format") (QVariant(QString, "AVI") ) 67 32704
How do I find out which file causes this?
SVN commit 924830 by mwiesweg: Silly me, the most stupid mistake. Must have been blind yesterday. BUG: 183887 M +1 -1 imagescanner.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=924830 |