← Back to team overview

project-leonov team mailing list archive

[Bug 243083] [NEW] Cannot download attachment

 

Public bug reported:

When trying to download an attachment from a task (right click, save
$filename), nothing happens.  Attachment is in Leonov bug 243080.

Debug Output:

2008-06-25 17:18:09,953 configuration.Config._get    DEBUG Debug: launchpad.lp_attachment_download_path does not exist.
Traceback (most recent call last):
  File "/home/seele/projects/leonov-kde-mdi-style/leonov/kde/views/mainbuginfo.py", line 250, in slotAttachmentMenu
    attachment.download("./"+attachment.lp_filename)
  File "/home/seele/projects/leonov/launchpadbugs/attachmentsbase.py", line 210, in download
    attachment = self.__connection.get(self.url)
  File "/home/seele/projects/leonov/launchpadbugs/http_connection.py", line 154, in get
    return self._safe_urlopen(url, None, False)
  File "/home/seele/projects/leonov/launchpadbugs/http_connection.py", line 209, in _safe_urlopen
    raise IOError, "unsupported contenttype (%s)" %contenttype
IOError: unsupported contenttype (image/png)

** Affects: leonov
     Importance: Undecided
         Status: New

-- 
Cannot download attachment
https://bugs.launchpad.net/bugs/243083
You received this bug notification because you are a member of The
Leonov Project Team, which is subscribed to Leonov.

Status in Leonov - A Launchpad Desktop Client: New

Bug description:
When trying to download an attachment from a task (right click, save $filename), nothing happens.  Attachment is in Leonov bug 243080.

Debug Output:

2008-06-25 17:18:09,953 configuration.Config._get    DEBUG Debug: launchpad.lp_attachment_download_path does not exist.
Traceback (most recent call last):
  File "/home/seele/projects/leonov-kde-mdi-style/leonov/kde/views/mainbuginfo.py", line 250, in slotAttachmentMenu
    attachment.download("./"+attachment.lp_filename)
  File "/home/seele/projects/leonov/launchpadbugs/attachmentsbase.py", line 210, in download
    attachment = self.__connection.get(self.url)
  File "/home/seele/projects/leonov/launchpadbugs/http_connection.py", line 154, in get
    return self._safe_urlopen(url, None, False)
  File "/home/seele/projects/leonov/launchpadbugs/http_connection.py", line 209, in _safe_urlopen
    raise IOError, "unsupported contenttype (%s)" %contenttype
IOError: unsupported contenttype (image/png)



Follow ups

References