fsspec / fsspec/filesystem_spec

Positional Arguments Error

Open
#1,819 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.4k
Forks
490
Avg merge
2d 3h
Merged PRs (30d)
38

Description

  • MacOS
  • python=3.12.4
  • fsspec=2025.3.2
  • torch-geometric=2.6.1
dataset = TUDataset(root=root, name='ENZYMES')

Traceback (most recent call last):
File "", line 1, in
File "/Users/wakala/venvs/versions/3.12.4/torch/lib/python3.12/site-packages/torch_geometric/datasets/tu_dataset.py", line 129, in init
super().init(root, transform, pre_transform, pre_filter,
File "/Users/wakala/venvs/versions/3.12.4/torch/lib/python3.12/site-packages/torch_geometric/data/in_memory_dataset.py", line 81, in init
super().init(root, transform, pre_transform, pre_filter, log,
File "/Users/wakala/venvs/versions/3.12.4/torch/lib/python3.12/site-packages/torch_geometric/data/dataset.py", line 112, in init
self._download()
File "/Users/wakala/venvs/versions/3.12.4/torch/lib/python3.12/site-packages/torch_geometric/data/dataset.py", line 229, in _download
self.download()
File "/Users/wakala/venvs/versions/3.12.4/torch/lib/python3.12/site-packages/torch_geometric/datasets/tu_dataset.py", line 199, in download
fs.mv(filename, osp.join(self.raw_dir, osp.basename(filename)))
File "/Users/wakala/venvs/versions/3.12.4/torch/lib/python3.12/site-packages/torch_geometric/io/fs.py", line 193, in mv
fs1.mv(path1, path2, recursive)
TypeError: LocalFileSystem.mv() takes 3 positional arguments but 4 were given

Contributor guide

No contributing guide indexed for this repository

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 with the fsspec call site shown in torch_geometric/io/fs.py around line 193 and compare it with the LocalFileSystem.mv signature reported in the traceback. Reproduce the TUDataset download failure with the listed Python and package versions, then verify the filesystem move path works without the positional-argument error and add coverage for the compatible call.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.