"gpg: can't handle text lines longer than 19995 characters" error when backing up

Bug #1019293 reported by Robin Sheat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deja-dup (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I run deja-dup, and it encounters some data* it asks for the password to be reentered, and when you do that, it tries again, and gets in the same loop, over and over until you cancel. Nothing ends up being backed up.

* e.g. my gpg public keyring, but when I exclude .gnupg, it has what may be the same problem on something else too, so I think that's coincidence.

The last part of the log is at the bottom of this, and I'll attach the final 1000 lines. I don't think this is a duplicate of bug #883742, as the source of the error is quite different.

DUPLICITY: DEBUG 1
DUPLICITY: . Selecting /home/robin/.gnupg/gpg.conf

DUPLICITY: DEBUG 1
DUPLICITY: . Comparing ('home', 'robin', '.gnupg', 'gpg.conf') and None

DUPLICITY: DEBUG 1
DUPLICITY: . Getting delta of (('home', 'robin', '.gnupg', 'gpg.conf') /home/robin/.gnupg/gpg.conf reg) and None

DUPLICITY: INFO 4 'home/robin/.gnupg/gpg.conf'
DUPLICITY: . A home/robin/.gnupg/gpg.conf

DUPLICITY: DEBUG 1
DUPLICITY: . Selecting /home/robin/.gnupg/gpg.conf~

DUPLICITY: DEBUG 1
DUPLICITY: . Comparing ('home', 'robin', '.gnupg', 'gpg.conf~') and None

DUPLICITY: DEBUG 1
DUPLICITY: . Getting delta of (('home', 'robin', '.gnupg', 'gpg.conf~') /home/robin/.gnupg/gpg.conf~ reg) and None

DUPLICITY: INFO 4 'home/robin/.gnupg/gpg.conf~'
DUPLICITY: . A home/robin/.gnupg/gpg.conf~

DUPLICITY: DEBUG 1
DUPLICITY: . Selecting /home/robin/.gnupg/pubring.gpg

DUPLICITY: DEBUG 1
DUPLICITY: . Comparing ('home', 'robin', '.gnupg', 'pubring.gpg') and None

DUPLICITY: DEBUG 1
DUPLICITY: . Getting delta of (('home', 'robin', '.gnupg', 'pubring.gpg') /home/robin/.gnupg/pubring.gpg reg) and None

DUPLICITY: INFO 4 'home/robin/.gnupg/pubring.gpg'
DUPLICITY: . A home/robin/.gnupg/pubring.gpg

DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /tmp/duplicity-_XHa0A-tempdir/mkstemp-DS0LuL-1

DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /tmp/duplicity-_XHa0A-tempdir/mktemp-w2gx_c-2

DUPLICITY: INFO 1
DUPLICITY: . GPG error detail: Traceback (most recent call last):
DUPLICITY: . File "/usr/bin/duplicity", line 1403, in <module>
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/duplicity", line 1396, in with_tempdir
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/duplicity", line 1366, in main
DUPLICITY: . full_backup(col_stats)
DUPLICITY: . File "/usr/bin/duplicity", line 500, in full_backup
DUPLICITY: . globals.backend)
DUPLICITY: . File "/usr/bin/duplicity", line 378, in write_multivol
DUPLICITY: . globals.gpg_profile, globals.volsize)
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 332, in GPGWriteFile
DUPLICITY: . file.close()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 221, in close
DUPLICITY: . self.gpg_failed()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 206, in gpg_failed
DUPLICITY: . raise GPGError, msg
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: can't handle text lines longer than 19995 characters
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
DUPLICITY: .

DUPLICITY: ERROR 31 GPGError
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: can't handle text lines longer than 19995 characters
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: deja-dup 22.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Fri Jun 29 14:04:01 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: deja-dup
UpgradeStatus: Upgraded to precise on 2012-05-08 (52 days ago)

Revision history for this message
Robin Sheat (eythian) wrote :
Michael Terry (mterry)
summary: - deja-jup gets into ask password loop when backing up some data
+ "gpg: can't handle text lines longer than 19995 characters" error when
+ backing up
Revision history for this message
Michael Terry (mterry) wrote :

Has anyone seen this in recent years?

Changed in deja-dup (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for deja-dup (Ubuntu) because there has been no activity for 60 days.]

Changed in deja-dup (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.