[Bug 1269058] Re: connect4 always fails to install

Mike McCracken 1269058 at bugs.launchpad.net
Wed Jan 15 01:27:28 UTC 2014


After some discussion and code spelunking, I wonder if this shouldn't be
a unity-scope-click bug.

For some background:

The UUID is only appended by UDM in two cases: if the app is confined,
or if it's unconfined and the client has sent a LOCAL_PATH_KEY metadata
value.

The scope is running as unconfined, as confirmed by the UDM log:
>> 2014-01-13 20:56:41,635 - DEBUG - UNCONFINED APP

but, the scope does not send LOCAL_PATH_KEY, so we get the appending behavior from UDM.
I don't think this is necessarily a bug, since UDM can get the filename correctly itself, why should the scope bother.

However, the real strange thing to me is why the file already exists in this case. The only reasonable explanation I can think of is if the app had already been installed and then removed, but the downloaded file still exists, and then Jamie tried to install it again.
Jamie, is that the case?
Even so, I don't know what the story for deleting the packages is, so I'm not actually sure that scenario is possible.

If there's some way that a download is getting done multiple times or
something, then this is a real bug somewhere, after all. I'm just not
sure where.

-- 
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/1269058

Title:
  connect4 always fails to install

Status in Ubuntu Download Manager:
  Invalid
Status in “click” package in Ubuntu:
  Invalid

Bug description:
  Try to install Connect4 and it fails stating to look in ubuntu-download-manager.log for details. Here are those details:
  2014-01-13 20:56:41,631 - DEBUG - Service registered to com.canonical.applications.Downloader
  2014-01-13 20:56:41,632 - DEBUG - true
  2014-01-13 20:56:41,633 - DEBUG - Owner is:  ":1.116"
  2014-01-13 20:56:41,634 - DEBUG - Factory assigns the Download Uuid.
  2014-01-13 20:56:41,635 - DEBUG - UNCONFINED APP
  2014-01-13 20:56:41,635 - DEBUG - Local path is "/home/phablet/.local/share/ubuntu-download-manager/Downloads"
  2014-01-13 20:56:41,637 - DEBUG - Timer must be stopped because we have 1 downloads.
  2014-01-13 20:56:41,648 - DEBUG - Network is accessible, performing download request
  2014-01-13 20:57:36,272 - DEBUG - "Transaction: Installing files
  "
  2014-01-13 20:57:36,340 - DEBUG - "Status:      Waiting in queue
  "
  2014-01-13 20:57:36,357 - DEBUG - "Status:      Starting
  "
  2014-01-13 20:57:36,388 - DEBUG - "Status:      Loading cache
  "
  2014-01-13 20:57:36,412 - DEBUG - "Percentage:  0
  "
  2014-01-13 20:57:37,356 - DEBUG - "Percentage:  10
  "
  2014-01-13 20:57:45,285 - DEBUG - "Percentage:  100
  "
  2014-01-13 20:57:45,329 - DEBUG - "Percentage:  0
  "
  2014-01-13 20:57:45,417 - DEBUG - "Percentage:  50
  "
  2014-01-13 20:57:45,928 - DEBUG - "Percentage:  100
  "
  2014-01-13 20:57:46,195 - DEBUG - "Status:      Querying
  "
  2014-01-13 20:58:05,567 - DEBUG - "Status:      Running
  "
  2014-01-13 20:58:06,069 - DEBUG - "Transaction: Installing files
  "
  2014-01-13 20:58:06,114 - DEBUG - "Status:      Waiting in queue
  "
  2014-01-13 20:58:06,125 - DEBUG - "Status:      Waiting for authentication
  "
  2014-01-13 20:58:06,158 - DEBUG - "Results:
  "
  2014-01-13 20:58:06,161 - DEBUG - "Fatal error: Failed to obtain authentication.
  "
  2014-01-13 20:58:06,167 - WARNING - Error removing "/home/phablet/.local/share/ubuntu-download-manager/Downloads/com.ubuntu.developer.geelen-bram.connect4_0
  .1.3_unknown.click0710607e6a0245a896cc965f613e687f"
  2014-01-13 20:58:06,168 - DEBUG - virtual void Ubuntu::DownloadManager::Download::emitError(const QString&) "COMMAND ERROR"
  2014-01-13 20:58:06,168 - DEBUG - State is CANCEL || FINISH || ERROR
  2014-01-13 20:58:06,168 - DEBUG - void Ubuntu::DownloadManager::Manager::onDownloadsChanged(QString) "/com/canonical/applications/download/0710607e6a0245a89
  6cc965f613e687f"
  2014-01-13 20:58:06,169 - DEBUG - Timer must be started because we have 0 downloads.
  2014-01-13 20:58:36,292 - DEBUG - Timeout reached, shutdown service.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1269058/+subscriptions



More information about the foundations-bugs mailing list