Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Error -- AUR dduper-git #45

Open
KenJyn76 opened this issue Dec 22, 2020 · 6 comments
Open

Assertion Error -- AUR dduper-git #45

KenJyn76 opened this issue Dec 22, 2020 · 6 comments
Assignees

Comments

@KenJyn76
Copy link

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
@KenJyn76
Copy link
Author

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.

@Lakshmipathi
Copy link
Owner

can you provide me the exact command ? Are you running this on a subvolume?

@KenJyn76
Copy link
Author

KenJyn76 commented Dec 23, 2020 via email

@Lakshmipathi
Copy link
Owner

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

@Lakshmipathi Lakshmipathi self-assigned this Jan 16, 2021
@jmphilippe
Copy link

jmphilippe commented Feb 6, 2023

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?

@bugsyb
Copy link

bugsyb commented Apr 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants