[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Fwd: Re: My first two backups: two tracebacks
From: |
edgar . soldin |
Subject: |
[Duplicity-talk] Fwd: Re: My first two backups: two tracebacks |
Date: |
Sun, 19 Feb 2017 13:13:13 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
Aaron, did you see the below. i am pretty sure empty exclusion files used to
work at some point. ..ede/duply.net
-------- Forwarded Message --------
Subject: Re: [Duplicity-talk] My first two backups: two tracebacks
Date: Sat, 18 Feb 2017 19:13:36 -0800
From: raindog 308 via Duplicity-talk <address@hidden>
Reply-To: Discussion about duplicity backup <address@hidden>
To: Nate Eldredge <address@hidden>
CC: raindog 308 <address@hidden>, raindog 308 via Duplicity-talk
<address@hidden>
Sorry, that particular issue was due to including a 0-byte exclude file, as
you suspected.
On Sat, Feb 18, 2017 at 5:34 PM, Nate Eldredge <address@hidden>
wrote:
> What is the command line you're running? This looks like an error when
> parsing exclude/include file lists, so please post the contents of those
> files too. They might be malformed.
>
>
> On Sat, 18 Feb 2017, raindog 308 via Duplicity-talk wrote:
>
> That gave a different Traceback :-)
>>
>> Traceback (most recent call last):
>> File "/usr/local/bin/duplicity", line 1546, in <module>
>> with_tempdir(main)
>> File "/usr/local/bin/duplicity", line 1540, in with_tempdir
>> fn()
>> File "/usr/local/bin/duplicity", line 1375, in main
>> action = commandline.ProcessCommandLine(sys.argv[1:])
>> File "/usr/local/lib/python2.7/site-packages/duplicity/commandline.py",
>> line 1140, in ProcessCommandLine
>> set_selection()
>> File "/usr/local/lib/python2.7/site-packages/duplicity/commandline.py",
>> line 978, in set_selection
>> sel.ParseArgs(select_opts, select_files)
>> File "/usr/local/lib/python2.7/site-packages/duplicity/selection.py",
>> line 258, in ParseArgs
>> for sf in self.filelist_globbing_get_sfs(filelists[filelists_index],
>> 0,
>> arg):
>> File "/usr/local/lib/python2.7/site-packages/duplicity/selection.py",
>> line 371, in filelist_globbing_get_sfs
>> yield self.glob_get_sf(line, include)
>> File "/usr/local/lib/python2.7/site-packages/duplicity/selection.py",
>> line 434, in glob_get_sf
>> sel_func = self.glob_get_filename_sf(glob_str, include)
>> File "/usr/local/lib/python2.7/site-packages/duplicity/selection.py",
>> line 502, in glob_get_filename_sf
>> raise FilePrefixError(filename)
>> FilePrefixError: /initrd.img
>>
>>
>>
>> On Sat, Feb 18, 2017 at 10:41 AM, edgar.soldin--- via Duplicity-talk <
>> address@hidden> wrote:
>>
>> try the latest 0.7.11.. 0.6.x is outdated and not mainzained anymore..
>>> ede/
>>> duply.net
>>>
>>> On February 18, 2017 6:29:52 PM GMT+01:00, raindog 308 via
>>> Duplicity-talk <
>>> address@hidden> wrote:
>>>
>>>> Well this was disappointing. Both on Debian 8 with 0.6.24.
>>>>
>>>> Hopefully this is helpful...? I'm using pexpect because paramiko has
>>>> very
>>>> limited support for ssh options.
>>>>
>>>>
>>>> Traceback (most recent call last):
>>>> File "/usr/bin/duplicity", line 1509, in <module>
>>>> with_tempdir(main)
>>>> File "/usr/bin/duplicity", line 1503, in with_tempdir
>>>> fn()
>>>> File "/usr/bin/duplicity", line 1352, in main
>>>> do_backup(action)
>>>> File "/usr/bin/duplicity", line 1473, in do_backup
>>>> full_backup(col_stats)
>>>> File "/usr/bin/duplicity", line 545, in full_backup
>>>> globals.backend)
>>>> File "/usr/bin/duplicity", line 427, in write_multivol
>>>> (tdp, dest_filename, vol_num)))
>>>> File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
>>>> line
>>>> 145, in schedule_task
>>>> return self.__run_synchronously(fn, params)
>>>> File "/usr/lib/python2.7/dist-packages/duplicity/asyncscheduler.py",
>>>> line
>>>> 171, in __run_synchronously
>>>> ret = fn(*params)
>>>> File "/usr/bin/duplicity", line 426, in <lambda>
>>>> async_waiters.append(io_scheduler.schedule_task(lambda tdp,
>>>> dest_filename, vol_num: put(tdp, dest_filename, vol_num),
>>>> File "/usr/bin/duplicity", line 315, in put
>>>> backend.put(tdp, dest_filename)
>>>> File
>>>> "/usr/lib/python2.7/dist-packages/duplicity/backends/_ssh_pexpect.py",
>>>> line
>>>> 226, in put
>>>> self.put_sftp(source_path, remote_filename = remote_filename)
>>>> File
>>>> "/usr/lib/python2.7/dist-packages/duplicity/backends/_ssh_pexpect.py",
>>>> line
>>>> 239, in put_sftp
>>>> self.run_sftp_command(commandline, commands)
>>>> File
>>>> "/usr/lib/python2.7/dist-packages/duplicity/backends/_ssh_pexpect.py",
>>>> line
>>>> 192, in run_sftp_command
>>>> child.sendline(self.password)
>>>> File "/usr/lib/python2.7/dist-packages/duplicity/pexpect.py", line 961,
>>>> in sendline
>>>> n = self.send(s)
>>>> File "/usr/lib/python2.7/dist-packages/duplicity/pexpect.py", line 953,
>>>> in send
>>>> c = os.write(self.child_fd, s)
>>>> TypeError: must be string or buffer, not None
>>>>
>>>>
>>>>
>>>> Traceback (most recent call last):
>>>> File "/usr/bin/duplicity", line 1509, in <module>
>>>> with_tempdir(main)
>>>> File "/usr/bin/duplicity", line 1503, in with_tempdir
>>>> fn()
>>>> File "/usr/bin/duplicity", line 1352, in main
>>>> do_backup(action)
>>>> File "/usr/bin/duplicity", line 1441, in do_backup
>>>> list_current(col_stats)
>>>> File "/usr/bin/duplicity", line 674, in list_current
>>>> sig_chain = col_stats.get_signature_chain_at_time(time)
>>>> File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line
>>>> 977, in get_signature_chain_at_time
>>>> raise CollectionsError("No signature chains found")
>>>> CollectionsError: No signature chains found
>>>>
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>
>>>
>>
> --
> Nate Eldredge
> address@hidden
>
>