Public bug reported:

I’m packaging webbrowser-app as a snap, and when testing the app
installed as such, downloading files fails with the following error:

Failed moving file from "/home/osomon/.local/share/ubuntu-download-
manager/snap.webbrowser-app.webbrowser-app/Downloads/example.pdf" to
"/home/osomon/snap/webbrowser-app/x2/Downloads/example.pdf"

This is because the 'Downloads' folder doesn’t initially exist under 
$HOME/snap/webbrowser-app/x2/.
Creating the folder manually solves the issue.

The DownloadsModel should check for the existence of the destination
folder, and create it if it doesn’t exist.

** Affects: webbrowser-app (Ubuntu)
     Importance: Medium
     Assignee: Olivier Tilloy (osomon)
         Status: In Progress

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

Title:
  Download fails if Downloads folder doesn’t exist

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to