Assertion Error -- AUR dduper-git
Using dduper-git or dduper-bin on Arch, I'm running into the following error. I'm not sure what other informaction to give, but if you need more, let me know. I'm sure I just missed a setup step, or something similar.
Traceback (most recent call last):
File "/usr/bin/dduper", line 576, in <module>
main(results)
File "/usr/bin/dduper", line 466, in main
dedupe_dir(results.dir_path, results.dry_run, results.recurse)
File "/usr/bin/dduper", line 457, in dedupe_dir
dedupe_files(file_list, dry_run)
File "/usr/bin/dduper", line 411, in dedupe_files
ret = do_dedupe(src_file, dst_file, dry_run)
File "/usr/bin/dduper", line 225, in do_dedupe
assert len(out1) != 0
AssertionError
UPDATE: I've now tried installing via all three methods outlined in the installation instructions, meeting the same error. In addition, I've tried multiple filesystems, and multiple systems. I can't seem to get this to work.
can you provide me the exact command ? Are you running this on a subvolume?
I have run multiple commands -- most commonly, though
dduper -p /dev/sda -d /home -r --analyze
I've been running it on directories where subvolumes are mounted.
On Wed, Dec 23, 2020, 5:12 AM Lakshmipathi [email protected] wrote:
can you provide me the exact command ? Are you running this on a subvolume?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lakshmipathi/dduper/issues/45#issuecomment-750079864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6757KHXQFAGKB2QUJDKWTSWG67BANCNFSM4VGJIENQ .
I've been running it on directories where subvolumes are mounted.
I think thats the issue. I have fix for running dduper on subvolume - I hope to merge those changes this week. If you run dduper on your top-level subvolume (id 5) it will work and it will fail on subvolume with ids >= 256
Hello, I think I'm facing the same issue:
# dduper --device /dev/sda1 --dir /data/share/ --recurse --analyze
Traceback (most recent call last):
File "/usr/sbin/dduper", line 715, in <module>
main(results)
File "/usr/sbin/dduper", line 595, in main
dedupe_dir(results.dir_path, results.dry_run, results.recurse)
File "/usr/sbin/dduper", line 578, in dedupe_dir
dedupe_files(f, dry_run)
File "/usr/sbin/dduper", line 482, in dedupe_files
ret = do_dedupe(src_file, dst_file, dry_run)
File "/usr/sbin/dduper", line 293, in do_dedupe
assert len(out1) != 0
AssertionError
It seems to be working if subvolume id = 256 but failing at id=257. Have you finally released some patch code, at least for testing?
Checking on here too re subvolumes, as seems like plenty of Issues are open due to this and fix might be already done, just not pushed put to master.