LinearTapeFileSystem / LinearTapeFileSystem/ltfs

ltfs_ordered_copy gives "object of type 'NoneType' has no len()" when copying single file

Open
#598 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
352
Forks
110
Avg merge
2h 50m
Merged PRs (30d)
2

Description

Single file copy currently fails on main with error "object of type 'NoneType' has no len()"

**To Reproduce**
`ltfs_ordered_copy src.txt /tmp/ltfsmnt/dst.txt`

**Expected behavior**
Copies single file

- OS: Debian Trixie (Proxmox backup Server)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with `ltfs_ordered_copy src.txt /tmp/ltfsmnt/dst.txt` on the reported environment, then trace the `NoneType` length error through the `ltfs_ordered_copy` entry point. Done means copying a single source file to the destination succeeds without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.