Error if the download folder doesn't exist

Bug #418400 reported by Manuel Muradás
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tucan (Ubuntu)
Fix Released
Undecided
Fran Lupion

Bug Description

Binary package hint: tucan

Tucan exits with an exception when adding a link to download, but the downloads folder doesn't exists.

Steps to reproduce:
1. Open Tucan
2. Rename the downloads folder
3. Add a Download

Observed behavior:
Tomboy exits displaying the following exception:
{{{
Traceback (most recent call last):
  File "/usr/share/tucan/input_links.py", line 220, in add_links
    self.packages(packages, [])
  File "/usr/share/tucan/gui.py", line 268, in manage_packages
    os.mkdir(package_path)
OSError: [Errno 2] No such file or directory: '/home/user/downloads/DownloadedFileName/'
}}}

Expected behavior:
- The whole path to the download directory is created before downloading the file
- Or a more nice error is displayed.

ProblemType: Bug
Architecture: i386
Date: Mon Aug 24 23:17:33 2009
DistroRelease: Ubuntu 9.10
Package: tucan 0.3.8-1
PackageArchitecture: all
ProcEnviron:
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-6.26-generic
SourcePackage: tucan
Uname: Linux 2.6.31-6-generic i686

Revision history for this message
Manuel Muradás (dieresys) wrote :
Revision history for this message
Fran Lupion (crakotaku) wrote :

solved on r1086, thanks for the help!

regards, Crak.

Changed in tucan (Ubuntu):
assignee: nobody → Fran Lupion (crakotaku)
status: New → Fix Committed
Fran Lupion (crakotaku)
Changed in tucan (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.