MSFS Livery Tools

It’s really a weird error which I simply cannot reproduce. From my attempts, I realized that you probably can use the application, but maybe not with all its functionalities. I can add a workaround to catch this error and inform the user, but nothing more than this. That method (glob) is a built-in Python method that emulates paths and thus should not throw a “file not found” error – it would happen elsewhere if the program tried to open a non-existent path, but not there. A short test using Python’s console can demonstrate this (I do not have a “f” drive):

In [1]: from pathlib import Path

In [2]: p = Path('f:/test')

In [3]: for n in range(-1,10):
   ...:     print(f"{n}: {list(p.glob('Community/' + '*/' * n + 'layout.json'))}")
   ...:
-1: []
0: []
1: []
2: []
3: []
4: []
5: []
6: []
7: []
8: []
9: []

No error. You may try it yourself using the Python executable bundled with MSFS Livery Tools. Maybe you’ve found a Python bug and should file an issue at Issues · python/cpython · GitHub