[Bug 1215478] Re: desktophook fails when ~/.local/share/applications doesn't exist

Colin Watson cjwatson at canonical.com
Tue Aug 27 10:54:13 UTC 2013


These error messages appear to come from upstart-app-launch's hook, not
from click itself.  "click desktophook" doesn't have this bug.

** Package changed: click (Ubuntu) => upstart-app-launch (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1215478

Title:
  desktophook fails when ~/.local/share/applications doesn't exist

Status in “upstart-app-launch” package in Ubuntu:
  New

Bug description:
  Hi,

  While debugging installation of click packages with new r/o images, I tried:
  wget https://public.apps.ubuntu.com/download/com.ubuntu.developer.mhall119/xda-developers-app/com.ubuntu.developer.mhall119.xda-developers-app-0.1.4.click?noauth=1
  click install --user=phablet com.ubuntu.developer.mhall119.xda-developers-app-0.1.4.click\?noauth\=1  --force-missing-framework

  and that generated these warnings:
  ** (process:2009): WARNING **: Unable to read directory '/home/phablet/.local/share/applications': Error opening directory 
                '/home/phablet/.local/share/applications': No such file or directory
  ** (process:2009): WARNING **: Unable to write out desktop file to 
                '/home/phablet/.local/share/applications/com.ubuntu.developer.mhall119.xda-developers-app_xda-developers_0.1.4.desktop': Failed to create file 
                '/home/phablet/.local/share/applications/com.ubuntu.developer.mhall119.xda-developers-app_xda-developers_0.1.4.desktop.Z0H21W': No such file or directory

  and indeed .desktop files were missing.

  I think the desktophook doesn't create the .local dirs when needed

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart-app-launch/+bug/1215478/+subscriptions




More information about the foundations-bugs mailing list