Comments (4)
Sorry for the late reply. I've just tested with 1.11.0 and it does fix this problem.
Thanks for the great tool!
from pls.
I had tried this with Powershell and it worked okay for me. Since it was unable to determine node type, could you check if you have any special types of files in the folder?
I don't have a Windows machine. Will need to try this on Powershell to reproduce the error.
from pls.
Hi @dhruvkb. Thanks for the response.
I was able to pinpoint a culprit in the folder I was testing.
Current dir: C:/Users/fernando
Meus Documentos
Traceback (most recent call last):
File "c:\Users\fernando\OneDrive\Área de Trabalho\tests.py", line 7, in <module>
print(item.stat())
File "C:\Users\fernando\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1095, in stat
return self._accessor.stat(self, follow_symlinks=follow_symlinks)
FileNotFoundError: [WinError 2] O sistema não pode encontrar o arquivo especificado: 'C:\\Users\\fernando\\Meus Documentos'
If I try to open explorer and navigate to it, I get an error too.
From what I was able to identify, this error comes from a missing junction (differs slightly from a symlink https://superuser.com/a/1291446/736809) due to moving the original folder off to a OneDrive subfolder.
This error is unrelated to your program, and it is a bug in my folder structure, nevertheless, I think it would be good to treat it gracefully and put like node type = unkown
instead of throwing the error.
What do you think?
Anyway, thanks for helping me find the
from pls.
I just pushed commit 031d6f5 to replace exception with UNKNOWN
type. Can you check if that fixes the problem?
from pls.
Related Issues (20)
- OSError in `is_dir` is not catched HOT 3
- Features link in README.md is broken HOT 1
- Traceback errors when used in empty directory. HOT 2
- link to "installation, updates and usage" in README is broken HOT 1
- List contents of multiple directories in one command HOT 3
- Support for alternative user-level config file location HOT 2
- Support generic folder/directory color and icon changes HOT 4
- Folder icons render as ? symbols. HOT 3
- Git file with space raise exception HOT 5
- Add a tree view HOT 4
- Allow for the use of icons from files HOT 3
- Fix broken CI workflow
- Error when listing files on Windows HOT 3
- Need to change the Nerd Font icons that starts with the `nf-mdi` prefix
- Exception throw when listing non readable files
- Make upgrade nag configurable HOT 3
- Please support Windows HOT 1
- Collect solo files into a single, separate output group HOT 5
- Missing configuration documentation HOT 4
- Error when no results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pls.