sudo quickly install fails on first lens

Bug #1100114 reported by Kevin Huynh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
singlet
New
Undecided
Unassigned

Bug Description

Version: quickly-unity-lens-template 0.0.3-0ubuntu1

If it's the first lens I am not able to run 'sudo quickly install' because '/usr/share/unity/lenses' folder does not exist; however package the lens and qpkg -i <lens-name> works.

wikipedia$ sudo quickly install
Traceback (most recent call last):
  File "/usr/share/quickly/templates/unity-lens/install.py", line 62, in <module>
    os.mkdir('/usr/share/unity/lenses/%s' % lens_name)
OSError: [Errno 2] No such file or directory: '/usr/share/unity/lenses/wikipedia'
ERROR: install command failed
Aborting

ls -l /usr/share/unity
total 16
drwxr-xr-x 2 root root 12288 Jan 4 01:17 6
drwxr-xr-x 2 root root 4096 Jan 4 01:19 themes

with dpkg -i it creates the lenses folder

ls -l /usr/share/unity
total 20
drwxr-xr-x 2 root root 12288 Jan 4 01:17 6
drwxr-xr-x 3 root root 4096 Jan 15 17:51 lenses
drwxr-xr-x 2 root root 4096 Jan 4 01:19 themes

Workaround is to install at least one lens or mkdir /usr/share/unity/lenses.

Kevin Huynh (kevkha)
description: updated
summary: - sudo quickly install fails if first lens
+ sudo quickly install fails on first lens
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.