Bug 427067 - Albums doesn't show thumbnails; timeline only shows 1 folder
Summary: Albums doesn't show thumbnails; timeline only shows 1 folder
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Albums-MainView (show other bugs)
Version: 7.1.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 11:35 UTC by Samuel
Modified: 2020-11-07 20:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel 2020-09-28 11:35:16 UTC
SUMMARY
No album thumbnails are displayed when in thumbnail view. There is 1 folder (specifically a Windows folder) displayed in timeline view, but the remaining albums are not shown.


STEPS TO REPRODUCE
1. I'm not sure? I just installed this and waited 2 days for it to add my albums.
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT
All folders are shown in the albums section; all albums shown in the timeline section


SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Samuel 2020-09-28 11:40:45 UTC
Forgot to mention, the thumbnails.db file is 16MB so it clearly is holding some thumbnails, but I don't know why none are appearing?
Comment 2 Maik Qualmann 2020-09-28 11:46:27 UTC
Activate the debug output by setting an environment variable in the Windows environment editor.

Variable:
QT_LOGGING_RULES

Value:
digikam.*=true

Download DebugView from Microsoft and run it. Start digiKam and upload the messages from DebugView here.

Maik
Comment 3 Maik Qualmann 2020-09-29 13:09:43 UTC
Did you solve the problem? Before you try an internal MySQL server, you should set it up with SQLite (bug 427079). I suspect that you did something wrong when adding the image collection.

Maik
Comment 4 Samuel 2020-09-30 02:41:19 UTC
I have 3 bug reports so I will just consolidate into this post because at this point I think everything is related.

I did your suggestion about converting the database from sqllite to internalserver, it worked, I think. I added my collection and it took about a a day to have all the collections updated. Then, same issue. No thumbnails, yet I had tens of thousands of my folders visible.

I did Maintennce > refresh thumbnails. It took a few seconds and nothing changed. So i changed my settings to disable refresh on startup. I try closing Digikam and it crashes. Now anytime I reopen it it tries to refresh my very massive collection, so it clearly never remebred my settings.

At this point, I don't know what happened, so I uninstalled Digikam, removed mariosql, and then reinstalled it. It somhow tried to refresh my collections again...not sure how this is possible is i removed both.

I'll try again, but at this point I think i'm giving up on this.
Comment 5 Samuel 2020-09-30 02:42:55 UTC
I'll do that debug view if I can even get this running wiothout crashing
Comment 6 Samuel 2020-09-30 03:35:12 UTC
I went through every folder in APPDATA and found digimarc or something like that, I deleted that and now digikam opens normally. However, making a new mysql internal service now causes various errotrs like something about failing to create tables in database.

I'm not sure what that problem is about and I googled around for a bit. I'm thinking perhaps retsrating my computer might help from all the reinstalls I've done but I have a few thousands computations i'm doing so i can't restart. I will report back to the thread when i get a chance
Comment 7 Maik Qualmann 2020-09-30 06:46:32 UTC
You should first add a small collection of images to get to know digiKam. That no thumbnails are visible is very strange. We know the behavior of Windows when you have 2 graphics cards in the computer and you have set the other graphics card for the graphics acceleration. Check this in the Windows settings. Furthermore, a program like DebugView should not crash, which suggests that something is wrong with your Windows system.

Maik
Comment 8 Samuel 2020-09-30 14:03:56 UTC
I ended up finding out the issue. When I uninstalled MariaDB, I'm not even sure how this is possible, but in one of the attempts it didn't remove mysql process, but removed all the other stuff, so that process was still using the old database decretory. I force closed that and then created a new Digikam directory for SQL internal server using MariaDB and it is now working.

I am noticing that any settings I change in digikam are only applied after restarting the software.

Also since I have a few dozen million images/video that main folder is taking forever to 'find new items' and I wasn't sure it was working, so I added a new folder with just a few thousand media and it loaded it fine and did all its other stuff (fingerprints. face rec, etc).

So now it seems to be fully working, just chugging along with that finding new items; still at 0% after 3 hours but it's coming along.

Thank you for your help!