Use log codes for common backend errors

Bug #578663 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
Déjà Dup
Fix Released
Low
Michael Terry

Bug Description

Most/all backends currently just raise BackendExceptions when an error occurs. It would be nice to include more information, including log codes for wrapper consumption.

I'm working on the patch.

Related branches

Michael Terry (mterry)
Changed in deja-dup:
importance: Undecided → Low
status: New → Triaged
Changed in duplicity:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 0.7.00
Michael Terry (mterry)
Changed in deja-dup:
assignee: nobody → Michael Terry (mterry)
milestone: none → 15.3
status: Triaged → Fix Committed
Michael Terry (mterry)
Changed in deja-dup:
status: Fix Committed → Fix Released
Changed in duplicity:
milestone: 0.7.00 → 0.6.11
Changed in duplicity:
status: Fix Committed → Fix Released
Revision history for this message
Michael Terry (mterry) wrote :

Ken, this doesn't seem to have been applied to the 0.6.11 tarball after all?

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 578663] Re: Use log codes for common backend errors

I've reversed out the LP status. Will get it into the next release, soon.

Looks like it was merged into the 0.7 series, not 0.6.

...Ken

On Sun, Nov 21, 2010 at 5:50 PM, Michael Terry
<email address hidden>wrote:

> Ken, this doesn't seem to have been applied to the 0.6.11 tarball after
> all?
>
> --
> Use log codes for common backend errors
> https://bugs.launchpad.net/bugs/578663
> You received this bug notification because you are subscribed to
> Duplicity.
>
> Status in Déjà Dup: Fix Released
> Status in Duplicity - Bandwidth Efficient Encrypted Backup: Fix Released
>
> Bug description:
> Most/all backends currently just raise BackendExceptions when an error
> occurs. It would be nice to include more information, including log codes
> for wrapper consumption.
>
> I'm working on the patch.
>
>
>

Changed in duplicity:
status: Fix Released → In Progress
assignee: nobody → Kenneth Loafman (kenneth-loafman)
milestone: 0.6.11 → none
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

I just tried to merge the two branches above and got 'nothing to do' from bzr. Are you sure about this?

Changed in duplicity:
status: In Progress → Fix Released
status: Fix Released → In Progress
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Either bazaar is screwed up, or there's something else going on here. A 'bzr diff' yields nothing...

ken@stealth:~/workspace/duplicity-0.6-series$ bzr diff https://code.launchpad.net/~mterry/duplicity/backend-log-codes
ken@stealth:~/workspace/duplicity-0.6-series$ bzr diff https://code.launchpad.net/~mterry/duplicity/backend-log-codes2

Changed in duplicity:
status: In Progress → Fix Released
assignee: Kenneth Loafman (kenneth-loafman) → nobody
Revision history for this message
Michael Terry (mterry) wrote :

I'm not a bzr expert, but I'm not sure if diff can be used between divergent branches like that. I think you have to use --old or --new to specify which branch is to be treated as the newer one.

I've filed a new branch here against 0.6: https://code.launchpad.net/~mterry/duplicity/backend-log-codes3/+merge/42759

Changed in duplicity:
status: Fix Released → Triaged
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Will get it in ASAP.

...Ken

On Sat, Dec 4, 2010 at 4:16 PM, Michael Terry
<email address hidden>wrote:

> I'm not a bzr expert, but I'm not sure if diff can be used between
> divergent branches like that. I think you have to use --old or --new to
> specify which branch is to be treated as the newer one.
>
> I've filed a new branch here against 0.6:
> https://code.launchpad.net/~mterry/duplicity/backend-log-<https://code.launchpad.net/%7Emterry/duplicity/backend-log->
> codes3/+merge/42759
>
> ** Changed in: duplicity
> Status: Fix Released => Triaged
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/578663
>
> Title:
> Use log codes for common backend errors
>
> Status in Déjà Dup:
> Fix Released
> Status in Duplicity - Bandwidth Efficient Encrypted Backup:
> Triaged
>
> Bug description:
> Most/all backends currently just raise BackendExceptions when an error
> occurs. It would be nice to include more information, including log codes
> for wrapper consumption.
>
> I'm working on the patch.
>
>
>

Changed in duplicity:
milestone: none → 0.6.12
status: Triaged → Fix Committed
Changed in duplicity:
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.