Migration to 2.0 - InvalidCharsInPath: contains invalid characters
See original GitHub issueI am trying to move from 1.0 to 2.0 on my Windows 10 laptop. However, I cannot simulate or run any rules.
The error message reads : InvalidCharsInPath: path 'C:\Users\%USERPFOILE%\AppData\Local\organize\organize\config.yaml' contains invalid characters
Errors are occurring at :
Python\Python310\lib\site-packages\organize\cli.py:86 in β β run_local
86 β β config = open_fs(config_dir).readtext(config_name)
\Python\Python310\lib\site-packages\fs\base.py:691 in ββ readtext β
691 β β β self.open( β β 692 β β β β path, mode=βrtβ, encoding=encoding, errors=errors, newline=newline β β 693 β β β ) β β 694 β β ) as read_file:
Python\Python310\lib\site-packages\fs\osfs.py:640 in open
β > 640 β β _path = self.validatepath(path)
Python\Python310\lib\site-packages\fs\osfs.py:687 in β β validatepath β β > 687 β β return super(OSFS, self).validatepath(path)
β > 1577 β β β β raise errors.InvalidCharsInPath(path)
How can I resolve this ? Iβm I missing some dependencies ?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (7 by maintainers)
You are still running an old version. Use
organize --version
to check, it should be v2.1.2problem solved, thanks.