mherrmann / mherrmann/fman

GoTo UNC path throws an error

Open
#704 0 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

So I am trying to Go To a network location on windows 10. The location is something like \dd\archive\program. When I try to use Go To command to navigate here I get this error

Command 'GoTo' raised error.

Traceback (most recent call last):
  File "fman\impl\plugins\command_registry.py", line 128, in _execute_command
  File "C:\Users\username\AppData\Local\fman\Versions\1.6.6\Plugins\Core\core\commands\goto.py", line 27, in __call__
    if exists(url):
  File "fman\fs.py", line 10, in exists
  File "fman\impl\plugins\mother_fs.py", line 49, in exists
  File "C:\Users\username\AppData\Local\fman\Versions\1.6.6\Plugins\Core\core\fs\local\__init__.py", line 36, in exists
    return self._isabs(os_path) and Path(os_path).exists()
  File "pathlib.py", line 1336, in exists
  File "pathlib.py", line 1158, in stat
  File "pathlib.py", line 387, in wrapped
PermissionError: [WinError 24] The program issued a command but the command length is incorrect: '\\\\\\\\dd\\\\archive\\\\program\\\\' 

It seems to only be this network drive as well because I have been able to access other network locations and remote servers. I have also tried to map this as a network drive and I can access the folder at the network drive location but I can not go into any sub folders or I receive the same error.

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 core/commands/goto.py and fman/fs.py, then follow the traceback into fman/impl/plugins/mother_fs.py and core/fs/local/init.py. Reproduce the GoTo command on Windows with the reported UNC path and inspect the exists call. Done means GoTo can navigate to the UNC location and its subfolders without raising the reported error.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.