mherrmann / mherrmann/fman

ValueError: Path must be absolute

Open
#793 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

windows
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I'm simply trying to copy files from one directory to another an get the following:

Command 'Copy' raised error.

Traceback (most recent call last):
  File "fman\impl\plugins\command_registry.py", line 128, in _execute_command
  File "C:\Users\myken\AppData\Local\fman\Versions\1.7.3\Plugins\Core\core\commands\__init__.py", line 550, in __call__
    makedirs(dest_dir, exist_ok=True)
  File "fman\fs.py", line 19, in makedirs
  File "fman\impl\plugins\mother_fs.py", line 75, in makedirs
  File "fman\fs.py", line 118, in makedirs
  File "C:\Users\myken\AppData\Local\fman\Versions\1.7.3\Plugins\Core\core\fs\local\__init__.py", line 73, in mkdir
    raise ValueError('Path must be absolute')
ValueError: Path must be absolute
  • Windows 10
  • fman 1.7.3

Any idea what is happening here?

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 by reproducing the Windows 10 copy failure, then trace the reported path through core/commands/init.py, fman/fs.py, fman/impl/plugins/mother_fs.py, and core/fs/local/init.py. The issue is resolved when copying files between directories no longer raises ValueError: Path must be absolute.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.