[PATCH] IMAP Backend Error in delete()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When duplicity goes to delete files using the delete() method of the IMAP backend, an error occurs. This seems to be due to a badly formed IMAP search command. Traceback below:
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
full_
File "/usr/bin/
col_
File "/usr/lib/
map(
File "/usr/lib/
self.
File "/usr/lib/
list = self._imapf(
File "/usr/lib/
(ret,
File "/usr/lib/
typ, dat = self._simple_
File "/usr/lib/
return self._command_
File "/usr/lib/
raise self.error('%s command error: %s %s' % (name, typ, data))
error: SEARCH command error: BAD ['Could not parse command']
This is using duplicity from the PPA on ubuntu Jaunty:
Duplicity ver 0.6.05
The imap server I'm using is imap.gmail.com (a Gmail account of course).
Changed in duplicity: | |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
milestone: | none → 0.6.06 |
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
I did a bzr branch lp:duplicity and edited the imapbackend.py file to try and fix the problem. It works for me now, I just changed the search command.
Could somebody please check the attached merge directive? I have no experience of contributing to software on launchpad or anyone else, and I'd hate to cause problems. The merge directive was made using bazaar, so it should apply nicely using bzr merge.