Picture library is not opening

Bug #388910 reported by jutta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
High
Olivier Tilloy

Bug Description

Steps to reproduce:

1) Open Moovida on my computer (I have tried to reproduce it on other computers and wasn't able to reproduce the bug)
2) Click on "Library" in the picture section

Expected result

The picture library opens

Current result:

The picture library doesn't open, nothing happens. The chosen line keeps on blinking.

Related branches

Revision history for this message
jutta (jmailander) wrote :

Here is the corresponding log file including the traceback.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I was able to reproduce the bug on Jutta's machine.

Changed in elisa:
importance: Undecided → High
milestone: none → 1.0.4
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

From the traceback, it seems that one image in the pictures library has a None shot_time, which is unexpected.
That image doesn't contain a "shot time" information in its metadata, so the file modification time should be used.
I tried to reproduce the bug with the same image on windows and linux, no luck, the image is correctly indexed with a shot time (the file modification time).
I'll try to see if re-indexing on Jutta's machine solves the problem, but in any case we can be more tolerant and avoid this kind of bug by try/except'ing.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Re-indexing on Jutta's machine does solve the problem. It seems the database was corrupted somehow.
Anyway, patch on its way to be more tolerant with this kind of database corruption, and allow list items not to have a shortcut associated.

Changed in elisa:
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
Changed in elisa:
status: Confirmed → In Progress
Olivier Tilloy (osomon)
Changed in elisa:
milestone: 1.0.4 → 1.0.5
Olivier Tilloy (osomon)
Changed in elisa:
milestone: 1.0.5 → 1.0.6
Olivier Tilloy (osomon)
Changed in elisa:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in elisa:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.