duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] AttributeError ... 'startswith'


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] AttributeError ... 'startswith'
Date: Fri, 19 Jun 2009 16:33:45 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Karl wrote:
> Hi there,
> 
> I did several tests with duplicity 0.6.0 and got an error with every try. 
> Different form another post here it's independant of a pending slash always 
> the same error:
> 
> ~$ /usr/local/bin/duplicity --encrypt-key 6C2B1FE5 --sign-key 6C2B1FE5 
> --verbosity 9  /home/karl/Dokumente/nbook-dok/ ftp://address@hidden/ba_test/
> NcFTP version is 3.2.1
> Password for 'domain.de':
> Using temporary directory /tmp/duplicity-KKpF9W-tempdir
> Registering (mkstemp) temporary file 
> /tmp/duplicity-KKpF9W-tempdir/mkstemp-MdchAV-1
> Main action: inc
> ================================================================================
> duplicity 0.6.00 (June 08, 2009)
> Args: /usr/local/bin/duplicity --encrypt-key 6C2B1FE5 --sign-key 6C2B1FE5 
> --verbosity 9 /home/karl/Dokumente/nbook-dok/ ftp://address@hidden/ba_test/
> Linux nbook 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 2009 i686
> /usr/bin/python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3]
> ================================================================================
> Registering (mkstemp) temporary file 
> /tmp/duplicity-KKpF9W-tempdir/mkstemp-ildtEB-2
> Temp has 15484612608 available, backup will use approx 34078720.
> Reading results of 'ncftpls -f /tmp/duplicity-KKpF9W-tempdir/mkstemp-MdchAV-1 
> -F -t 30 -o useCLNT=0,useHELP_SITE=0  -l 'ftp://domain.de/ba_test/''
> 2 files exist on backend
> 0 files exist in cache
> Extracting backup chains from list of files: ['.', '..']
> File . is not part of a known set; creating new set
> Ignoring file (rejected by backup set) '.'
> File .. is not part of a known set; creating new set
> Ignoring file (rejected by backup set) '..'
> Last full backup date: none
> Collection Status
> ---
> ...
> Connecting with backend: FTPBackend
> Archive dir: (() /home/karl/.duplicity dir)
> 
> Found 0 backup chains without signatures.
> No backup chains with active signatures found
> No orphaned or incompletme backup sets found.
> PASSPHRASE variable not set, asking user.
> GnuPG passphrase:
> ....
> Forgetting temporary file /tmp/duplicity-KKpF9W-tempdir/mktemp-CUE7Dg-3
> AsyncScheduler: task completed successfully
> Processed volume 1
> Removing still remembered temporary file 
> /tmp/duplicity-KKpF9W-tempdir/mkstemp-ildtEB-2
> Removing still remembered temporary file 
> /tmp/duplicity-KKpF9W-tempdir/mkstemp-MdchAV-1
> Traceback (most recent call last):
>  File "/usr/local/bin/duplicity", line 1002, in <module>
>    with_tempdir(main)
>  File "/usr/local/bin/duplicity", line 995, in with_tempdir
>    fn()
>  File "/usr/local/bin/duplicity", line 974, in main
>    full_backup(col_stats)
>  File "/usr/local/bin/duplicity", line 415, in full_backup
>    sig_outfp.to_remote()
>  File "/usr/local/lib/python2.6/dist-packages/duplicity/dup_temp.py", line 
> 186, in to_remote
>    globals.backend.put(tgt)
>  File 
> "/usr/local/lib/python2.6/dist-packages/duplicity/backends/ftpbackend.py", 
> line 90, in put
>    remote_path = 
> os.path.join(urllib.unquote(self.parsed_url.path.lstrip('/')), 
> remote_filename).rstrip()
>  File "/usr/lib/python2.6/posixpath.py", line 65, in join
>    if b.startswith('/'):
> AttributeError: 'NoneType' object has no attribute 'startswith'
> 
> ___
> 
> Does anybody know a solution? Thanks.


I don't know.  Other distro's don't seem to be having a problem.  From
the log, it looks like you're on some sort of netbook.  I need to find
out what distro and figure out what the differences are.  Can you give
me some more info?

...Thanks,
...Ken

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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