duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] What is the correct way to debug Duplicity (in part


From: Michael Terry
Subject: Re: [Duplicity-talk] What is the correct way to debug Duplicity (in particular a backend) ?
Date: Thu, 12 Jun 2014 07:22:58 -0400

Hello!  Did you put your backend in the ./duplicity/backends/ folder and call register_backend() like the other backends do?

Also, did you read ./duplicity/backends/README?  That has lots of tips for writing a backend, including this recommendation for testing:
./testing/manual/backendtest sx://indian.skylable.com/vol-andy80/

-mt



On 11 June 2014 17:12, address@hidden <address@hidden> wrote:
Hi,

I'm working on the implementation of Skylable backend for Duplicity.
You can see my work in progress here:
https://github.com/andreagrandi/duplicity-sx/blob/master/duplicity/backends/sxbackend.py

I'm working inside a virtualenv environment, just for your information.

To test it I do: python setup.py build
then I execute a command like this and I get the following error:

(duplicity)andrea-Inspiron-660:scripts-2.7 andrea [master] $
./bin/duplicity --full-if-older-than 1M /home/andrea/google_appengine/
sx://indian.skylable.com/vol-andy80/
UnsupportedBackendScheme: scheme not supported in url:
sx://indian.skylable.com/vol-andy80/

What I'm doing wrong? How I'm supposed to test it?

p.s: I tried to insert a ipdb line in the init of my backend but I see
that is not executed at all, just like my module didn't exist :(

Any idea about how to fix this?

Thank you so much, cheers.

--
Andrea Grandi -  Software Engineer / Qt Ambassador / Nokia Developer Champion
website: http://www.andreagrandi.it

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]