[Bug 1269058] Re: connect4 always fails to install

Manuel de la Peña manuel.delapena at canonical.com
Wed Jan 15 00:25:34 UTC 2014


I do not agree at all to assign this bug to the Ubuntu Download Manager.
There are three axioms that I'm not willing to change:

1. UDM is NOT used only for click packages downloads.
2. UDM will NOT remove any file present in the file system.
3 .UMD will NOT stop downloading a file because a file is already present in the file system.

These are 3 points I'll not consider changing. If you think about it, if
you download two files form the internet and a file is already present
in your file system diff applications will do the following:

* Firefox, will append a (&number) after the first extension. That is, if we download python twice we will have Python-3.3.3.tar.xz and Python-3.3.3.tar(1).xz
* wget, will append a number at the very end of the file. That is, if we download python twice we will have Python-3.3.3.tar.xz and Python-3.3.3.tar.xz.1

Even when the downloaders (Firefox, wget, chromium, etc...) append a
number to the extension, the local applications work as expected. The
fact that a click package installation will fail because the click
package was named as .click.1 is the real issue.

Pointing the UDM as the culprit we are just lying to ourselfs. In the
case of the python files I added as an example, what is the real
extension, is it tar.xz or just xz.?? In the click packages, what is the
real extension? using "com.ubuntu.developer.geelen-
bram.connect4_0.1.3_unknown.click" as an example, is it click or
.connect4_0.1.3_unknown.clic or "geelen-
bram.connect4_0.1.3_unknown.click" etc...

What is even more, you will get bug reports if users download files
twice using a browser an try to install them and fixing that in UDM will
not stop it from happening.

Having said that, I'm willing to be pragmatic and not have a bug
reporting war that takes us nowhere and will add .click as a special
case, but if I do so, will the click package installation allow me to
append some kind of string to the final name, else we will have to
change the three axioms I mentioned and in that case I'll strongly
oppose to that.

-- 
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:
  Confirmed
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