mherrmann / mherrmann/fman

Access to empty CD-ROM-drive raises an error (fman 1.1.7 @ Windows)

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

Nobody has claimed this yet.

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

Description

FileSystem 'LocalFileSystem' raised error.

Traceback (most recent call last):
File "fman\impl\plugins\plugin.py", line 348, in iterdir
File "C:\Program Files\fman\Versions\1.1.7\Plugins\Core\core\fs\local_init_.py", line 37, in iterdir
return os.listdir(self._url_to_os_path(path))
PermissionError: [WinError 21] The device is not ready: 'D:\'

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 plugins/core/core/fs/local/init.py at iterdir (line 37), and compare the call path in fman/impl/plugins/plugin.py (line 348). Reproduce the problem by accessing an empty CD-ROM drive on Windows; done means accessing D:\ no longer raises the reported WinError 21.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.