Download fails if Downloads folder doesn’t exist
Bug #1599436 reported by
Olivier Tilloy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Bill Filler | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Medium
|
Olivier Tilloy |
Bug Description
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/
This is because the 'Downloads' folder doesn’t initially exist under $HOME/snap/
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.
Related branches
lp:~osomon/webbrowser-app/create-downloads-folder
- Michael Sheldon (community): Approve
- system-apps-ci-bot: Needs Fixing (continuous-integration)
-
Diff: 24 lines (+6/-4)1 file modifiedsrc/app/webbrowser/downloads-model.cpp (+6/-4)
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 13 |
assignee: | nobody → Bill Filler (bfiller) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package webbrowser-app - 0.23+16. 10.20160711- 0ubuntu1
--------------- 10.20160711- 0ubuntu1) yakkety; urgency=medium
webbrowser-app (0.23+16.
[ Florian Boucault ]
* Debian packaging crossbuild fixes:
[ Olivier Tilloy ]
* Create Downloads folder if it doesn’t exist. (LP: #1599436)
* Increase timeout a lot to cope with flaky tests in CI. (LP:
#1599630)
-- Olivier Tilloy <email address hidden> Mon, 11 Jul 2016 15:20:04 +0000