Welcome! » Log In » Create A New Profile

Exception Bad index order XXX >= (long_filename_data, 35) raised of class <type exceptions.AssertionError>:

Posted by Friedrich Praus 
Dear list,

Backup was working fine until the following subsequent runs of rdiff backup
occurred

1st run) Write failed: Broken pipe
Fatal Error: Lost connection to the remote system
-- No more logs available

2nd run) Previous backup seems to have failed, regressing destination now.
Exception '[Errno 28] No space left on device' raised of class '<type
'exceptions.IOError'>':
File "/opt/lib/python2.6/site-packages/rdiff_backup/robust.py", line 32, in
check_common_error
try: return function(*args)
File "/opt/lib/python2.6/site-packages/rdiff_backup/restore.py", line 468,
in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/opt/lib/python2.6/site-packages/rdiff_backup/Rdiff.py", line 73, in
write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/opt/lib/python2.6/site-packages/rdiff_backup/rpath.py", line 64, in
copyfileobj
outputfp.write(inbuf)

Exception '[Errno 28] No space left on device' raised of class '<type
'exceptions.IOError'>':
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337, in
Backup
backup_final_init(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501, in
backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920, in
checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
370, in reval
if isinstance(result, Exception): raise result

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337, in
Backup
backup_final_init(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501, in
backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920, in
checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
370, in reval
if isinstance(result, Exception): raise result
IOError: [Errno 28] No space left on device


3rd run) Seem remote temp dir run full, after some huge changes (file
deletions, file moves, ...) on the originating file server. So I added --remote-
temp-dir option and since that I get the following error:
SpecialFileError cache/samba/msg/15121 Socket error: AF_UNIX path too long
SpecialFileError cache/samba/msg/15141 Socket error: AF_UNIX path too long
SpecialFileError cache/samba/msg/15189 Socket error: AF_UNIX path too long
SpecialFileError cache/samba/msg/26706 Socket error: AF_UNIX path too long
SpecialFileError cache/samba/msg/3143 Socket error: AF_UNIX path too long
SpecialFileError cache/samba/msg/3878 Socket error: AF_UNIX path too long
UpdateError log/syslog Updated mirror temp file /volume1/backup/esshare/var/
log/rdiff-backup.tmp.5454 does not match source
Previous backup seems to have failed, regressing destination now.
Exception 'Bad index order: ('schuster', 'TwTester', 'FlexRay', 'Heller et
al_2008_Approaching the Limits of FlexRay.pdf') >= ('long_filename_data',
'35')' raised of class '<type 'exceptions.AssertionError'>':
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337, in
Backup
backup_final_init(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501, in
backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920, in
checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
370, in reval
if isinstance(result, Exception): raise result

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in
Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337, in
Backup
backup_final_init(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501, in
backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920, in
checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
370, in reval
if isinstance(result, Exception): raise result
AssertionError: Bad index order: ('schuster', 'TwTester', 'FlexRay', 'Heller
et al_2008_Approaching the Limits of FlexRay.pdf') >= ('long_filename_data',
'35')
Fatal Error: Lost connection to the remote system

Any comments on how to fix this?

Thanks

BR
Fritz


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
On 2017-05-04 09:26, Friedrich Praus wrote:
> Fatal Error: Lost connection to the remote system
>
> Any comments on how to fix this?

I may be wrong, but isn't the last message the likely culprit?

N.

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Hi,

please read the full log. There have been 3 runs of rdiff backup. Last run:

--Snip
3rd run) Seem remote temp dir run full, after some huge changes (file
deletions, file moves, ...) on the originating file server. So I added --remote-
temp-dir option and since that I get the following error:
--Snip
Exception 'Bad index order: ('schuster', 'TwTester', 'FlexRay', 'Heller et
al_2008_Approaching the Limits of FlexRay.pdf') >= ('long_filename_data',
'35')' raised of class '<type 'exceptions.AssertionError'>':

Now every backup fails and the error message is not clear to me. Ideas?

Thanks

BR

Am Donnerstag, 4. Mai 2017, 10:04:01 CEST schrieb Piotr Karbowski:
> Hi,
>
> > Exception '[Errno 28] No space left on device' raised of class '<type
>
> 'exceptions.IOError'>':
>
> -- Piotr.
>
> On Thu, May 4, 2017 at 9:26 AM, Friedrich Praus <praus@technikum-wien.at>
wrote:
> > Dear list,
> >
> > Backup was working fine until the following subsequent runs of rdiff
> > backup
> > occurred
> >
> > 1st run) Write failed: Broken pipe
> > Fatal Error: Lost connection to the remote system
> > -- No more logs available
> >
> > 2nd run) Previous backup seems to have failed, regressing destination now.
> > Exception '[Errno 28] No space left on device' raised of class '<type
> >
> > 'exceptions.IOError'>':
> > File "/opt/lib/python2.6/site-packages/rdiff_backup/robust.py", line 32,
> > in
> >
> > check_common_error
> >
> > try: return function(*args)
> >
> > File "/opt/lib/python2.6/site-packages/rdiff_backup/restore.py", line
> > 468,
> >
> > in get_fp
> >
> > Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
> >
> > File "/opt/lib/python2.6/site-packages/rdiff_backup/Rdiff.py", line 73,
> > in
> >
> > write_patched_fp
> >
> > rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
> >
> > File "/opt/lib/python2.6/site-packages/rdiff_backup/rpath.py", line 64,
> > in
> >
> > copyfileobj
> >
> > outputfp.write(inbuf)
> >
> > Exception '[Errno 28] No space left on device' raised of class '<type
> >
> > 'exceptions.IOError'>':
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304,
> > in
> >
> > error_check_Main
> >
> > try: Main(arglist)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324,
> > in
> >
> > Main
> >
> > take_action(rps)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280,
> > in
> >
> > take_action
> >
> > elif action == "backup": Backup(rps[0], rps[1])
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337,
> > in
> >
> > Backup
> >
> > backup_final_init(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501,
> > in
> >
> > backup_final_init
> >
> > checkdest_if_necessary(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920,
> > in
> >
> > checkdest_if_necessary
> >
> > dest_rp.conn.regress.Regress(dest_rp)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 450, in __call__
> >
> > return apply(self.connection.reval, (self.name,) + args)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 370, in reval
> >
> > if isinstance(result, Exception): raise result
> >
> > Traceback (most recent call last):
> > File "/usr/bin/rdiff-backup", line 30, in <module>
> >
> > rdiff_backup.Main.error_check_Main(sys.argv[1:])
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304,
> > in
> >
> > error_check_Main
> >
> > try: Main(arglist)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324,
> > in
> >
> > Main
> >
> > take_action(rps)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280,
> > in
> >
> > take_action
> >
> > elif action == "backup": Backup(rps[0], rps[1])
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337,
> > in
> >
> > Backup
> >
> > backup_final_init(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501,
> > in
> >
> > backup_final_init
> >
> > checkdest_if_necessary(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920,
> > in
> >
> > checkdest_if_necessary
> >
> > dest_rp.conn.regress.Regress(dest_rp)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 450, in __call__
> >
> > return apply(self.connection.reval, (self.name,) + args)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 370, in reval
> >
> > if isinstance(result, Exception): raise result
> >
> > IOError: [Errno 28] No space left on device
> >
> >
> > 3rd run) Seem remote temp dir run full, after some huge changes (file
> > deletions, file moves, ...) on the originating file server. So I added
> > --remote- temp-dir option and since that I get the following error:
> > SpecialFileError cache/samba/msg/15121 Socket error: AF_UNIX path too long
> > SpecialFileError cache/samba/msg/15141 Socket error: AF_UNIX path too long
> > SpecialFileError cache/samba/msg/15189 Socket error: AF_UNIX path too long
> > SpecialFileError cache/samba/msg/26706 Socket error: AF_UNIX path too long
> > SpecialFileError cache/samba/msg/3143 Socket error: AF_UNIX path too long
> > SpecialFileError cache/samba/msg/3878 Socket error: AF_UNIX path too long
> > UpdateError log/syslog Updated mirror temp file
> > /volume1/backup/esshare/var/ log/rdiff-backup.tmp.5454 does not match
> > source
> > Previous backup seems to have failed, regressing destination now.
> > Exception 'Bad index order: ('schuster', 'TwTester', 'FlexRay', 'Heller et
> > al_2008_Approaching the Limits of FlexRay.pdf') >= ('long_filename_data',
> >
> > '35')' raised of class '<type 'exceptions.AssertionError'>':
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304,
> > in
> >
> > error_check_Main
> >
> > try: Main(arglist)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324,
> > in
> >
> > Main
> >
> > take_action(rps)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280,
> > in
> >
> > take_action
> >
> > elif action == "backup": Backup(rps[0], rps[1])
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337,
> > in
> >
> > Backup
> >
> > backup_final_init(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501,
> > in
> >
> > backup_final_init
> >
> > checkdest_if_necessary(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920,
> > in
> >
> > checkdest_if_necessary
> >
> > dest_rp.conn.regress.Regress(dest_rp)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 450, in __call__
> >
> > return apply(self.connection.reval, (self.name,) + args)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 370, in reval
> >
> > if isinstance(result, Exception): raise result
> >
> > Traceback (most recent call last):
> > File "/usr/bin/rdiff-backup", line 30, in <module>
> >
> > rdiff_backup.Main.error_check_Main(sys.argv[1:])
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304,
> > in
> >
> > error_check_Main
> >
> > try: Main(arglist)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324,
> > in
> >
> > Main
> >
> > take_action(rps)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 280,
> > in
> >
> > take_action
> >
> > elif action == "backup": Backup(rps[0], rps[1])
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 337,
> > in
> >
> > Backup
> >
> > backup_final_init(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 501,
> > in
> >
> > backup_final_init
> >
> > checkdest_if_necessary(rpout)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 920,
> > in
> >
> > checkdest_if_necessary
> >
> > dest_rp.conn.regress.Regress(dest_rp)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 450, in __call__
> >
> > return apply(self.connection.reval, (self.name,) + args)
> >
> > File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", line
> >
> > 370, in reval
> >
> > if isinstance(result, Exception): raise result
> >
> > AssertionError: Bad index order: ('schuster', 'TwTester', 'FlexRay',
> > 'Heller et al_2008_Approaching the Limits of FlexRay.pdf') >=
> > ('long_filename_data', '35')
> > Fatal Error: Lost connection to the remote system
> >
> > Any comments on how to fix this?
> >
> > Thanks
> >
> > BR
> > Fritz
> >
> >
> > _______________________________________________
> > rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
> > https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> > Wiki URL:
> > http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki




_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login