Debian Bug report logs - #1037287
AttributeError: 'NoneType' object has no attribute 'hardlink_target'

version graph

Package: bup; Maintainer for bup is Robert Edmonds <[email protected]>; Source for bup is src:bup (PTS, buildd, popcon).

Reported by: Nicholas Guriev <[email protected]>

Date: Sat, 10 Jun 2023 08:42:01 UTC

Severity: normal

Found in version bup/0.32-3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Robert Edmonds <[email protected]>:
Bug#1037287; Package bup. (Sat, 10 Jun 2023 08:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Nicholas Guriev <[email protected]>:
New Bug report received and forwarded. Copy sent to Robert Edmonds <[email protected]>. (Sat, 10 Jun 2023 08:42:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Nicholas Guriev <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: AttributeError: 'NoneType' object has no attribute 'hardlink_target'
Date: Sat, 10 Jun 2023 11:38:56 +0300
[Message part 1 (text/plain, inline)]
Package: bup
Version: 0.32-3
Severity: normal

Dear Maintainer,

Since some time bup is unable to backup my data. This is apparently related to
hard links somehow.


-- System Information:
Debian Release: 11.7
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable'), (15, 'stable-updates'), (15, 'bullseye-fasttrack')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-23-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bup depends on:
ii  git               1:2.30.2-1+deb11u2
ii  libacl1           2.2.53-10
ii  libc6             2.31-13+deb11u6
ii  libreadline8      8.1-1
ii  par2              0.8.1-1
ii  python3           3.9.2-3
ii  python3-pylibacl  0.6.0-1+b1
ii  python3-pyxattr   0.7.2-1+b1

Versions of packages bup recommends:
ii  bup-doc          0.32-3
ii  python3-fuse     2:1.0.2-1
ii  python3-tornado  6.1.0-1+b1

bup suggests no packages.

-- no debconf information
[kup_plan1.log (text/x-log, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected]:
Bug#1037287; Package bup. (Mon, 19 Jun 2023 04:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Robert Edmonds <[email protected]>:
Extra info received and forwarded to list. (Mon, 19 Jun 2023 04:27:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Robert Edmonds <[email protected]>
To: Nicholas Guriev <[email protected]>, [email protected]
Subject: Re: Bug#1037287: AttributeError: 'NoneType' object has no attribute 'hardlink_target'
Date: Mon, 19 Jun 2023 00:25:00 -0400
Nicholas Guriev wrote:
> Since some time bup is unable to backup my data. This is apparently related to
> hard links somehow.

> bup "-d" "/media/mymedia/a3907ce1-af8b-40b1-b26b-f37322e39382/barberry-kde-backups" "save" "-n" "kup" "-vv" "/home/mymedia" "/home/mymedia/.steam/steam/config" "/home/mymedia/.steam/steam/userdata"
> Traceback (most recent call last):
>   File "/usr/lib/bup/cmd/bup-save", line 413, in <module>
>     meta.hardlink_target = find_hardlink_target(hlink_db, ent)
> AttributeError: 'NoneType' object has no attribute 'hardlink_target'
> Exception ignored in: <function PackWriter.__del__ at 0x7f1c49250f70>
> Traceback (most recent call last):
>   File "/usr/lib/bup/cmd/../bup/git.py", line 722, in __del__
>   File "/usr/lib/bup/cmd/../bup/git.py", line 919, in close
>   File "/usr/lib/bup/cmd/../bup/git.py", line 897, in _end
>   File "/usr/lib/bup/cmd/../bup/git.py", line 942, in write
> NameError: name 'open' is not defined

Hi,

I'd suggest normal bug debugging steps like "bup fsck" or "bup index
--clear" and if that doesn't fix the problem, try posting on the
upstream bup mailing list (https://groups.google.com/g/bup-list).

-- 
Robert Edmonds
[email protected]



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:17:35 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.