quickly-lens-template: sudo quickly uninstall fails

Bug #946426 reported by Bruno Girin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-quickly-templates
Fix Committed
High
Michael Hall

Bug Description

When trying to uninstall a lens create by quickly-lens-template, the uninstall fails with the following error:

bruno@hamburg:~/Projects/unity-lens-bookmarks$ sudo quickly uninstall
[sudo] password for bruno:
Traceback (most recent call last):
  File "/usr/share/quickly/templates/unity-lens/uninstall.py", line 61, in <module>
    os.rmdir('/usr/share/unity/lenses/lens-%s' % lens_name)
OSError: [Errno 2] No such file or directory: '/usr/share/unity/lenses/lens-bookmarks'

It appears that the install hook create the folder: /usr/share/unity/lenses/<lens-name>
While uninstall attempts to delete: /usr/share/unity/lenses/lens-<lens-name>

Revision history for this message
Michael Hall (mhall119) wrote :

Re-assigning to the template project

affects: singlet → unity-quickly-templates
Changed in unity-quickly-templates:
importance: Undecided → High
Michael Hall (mhall119)
Changed in unity-quickly-templates:
status: New → Fix Committed
assignee: nobody → Michael Hall (mhall119)
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in precise.

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.