unity-lens-photos crashed with gi._glib.GError in function(): Error when getting information for file '/home/username/.shotwell/data/photo.db': No such file or directory

Bug #1041040 reported by Edward Donovan
56
This bug affects 12 people
Affects Status Importance Assigned to Milestone
unity-lens-photos (Ubuntu)
Fix Released
Medium
David Callé

Bug Description

I installed unity-lens photos for the first time. (I haven't really used shotwell, but didn't know if it might provide useful for images under ~/Pictures.) I opened the dash and switched to the lens. It appeared and stayed empty, with the busy icon spinning. I saw apport pop up, behind the dash, and I was able to close the dash.

My home dir has a .shotwell directory, but it's empty. I don't really know whether it's the lens or python-gi that should handle a file-not-found more gracefully.

Thanks.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: unity-lens-photos 0.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-11.11-generic 3.5.2
Uname: Linux 3.5.0-11-generic x86_64
ApportVersion: 2.5.1-0ubuntu1
Architecture: amd64
Date: Fri Aug 24 01:22:11 2012
ExecutablePath: /usr/lib/unity-lens-photos/unity-lens-photos
InterpreterPath: /usr/bin/python3.2mu
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/unity-lens-photos/unity-lens-photos
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/lib/unity-lens-photos/unity-lens-photos']
SourcePackage: unity-lens-photos
Title: unity-lens-photos crashed with gi._glib.GError in function(): Error when getting information for file '/home/username/.shotwell/data/photo.db': No such file or directory
UpgradeStatus: Upgraded to quantal on 2012-06-14 (70 days ago)
UserGroups: adm cdrom dip lpadmin nopasswdlogin plugdev sambashare sudo

Revision history for this message
Edward Donovan (edward.donovan) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in unity-lens-photos (Ubuntu):
importance: Undecided → Medium
description: updated
Revision history for this message
David Callé (davidc3) wrote :

The lens assumes that Shotwell has already created this file, it's a bug.

Workaround until the fix lands:
Open Shotwell once, it will generate the missing file.

Changed in unity-lens-photos (Ubuntu):
assignee: nobody → David Callé (davidc3)
status: New → In Progress
David Callé (davidc3)
Changed in unity-lens-photos (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-photos - 0.2.1-0ubuntu2

---------------
unity-lens-photos (0.2.1-0ubuntu2) quantal; urgency=low

  * debian/patches/new_shotwell_location.patch:
    - updated for the new shotwell location (lp: #1041040)
 -- Sebastien Bacher <email address hidden> Wed, 29 Aug 2012 11:32:26 +0200

Changed in unity-lens-photos (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Bowmore (bowmore) wrote :

This bug is not fixed!

If Shotwell has not been launched once then unity-lens-photo will still crash due to that the database /home/<user>/.local/share/shotwell/data/photo.db won't exist. Thus, a check whether the database exists or not is required as well.

Revision history for this message
David Callé (davidc3) wrote :

Apparently, the distro patch was containing only a part of the fix. Setting the status back to fix committed.

Revision history for this message
David Callé (davidc3) wrote :

Looks like I can't change the status myself.

Changed in unity-lens-photos (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
David Callé (davidc3) wrote :

After investigating the issue, there was also a typo in the patch. It's now fixed, waiting to be released.

David Callé (davidc3)
Changed in unity-lens-photos (Ubuntu):
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

Remote bug watches

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