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: edgar . soldin
Subject: Re: [Duplicity-talk] What is the correct way to debug Duplicity (in particular a backend) ?
Date: Thu, 12 Jun 2014 13:26:38 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

also. be aware to use the latest development branch
 lp:duplicity 
which is now based on 0.7 branch.
 lp:duplicity/0.6-series 
is about to be phased out and not supposed to receive any functional 
enhancements anymore.

..ede/duply.net

On 12.06.2014 13:22, Michael Terry wrote:
> 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
>>
> 
> 
> 
> _______________________________________________
> 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]