Comment 0 for bug 1100114

Revision history for this message
Kevin Huynh (kevkha) wrote : sudo quickly install fails if first lens

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.