Skip to content

TypeError: expected str, bytes or os.PathLike object, not NoneType #7

@girod2033

Description

@girod2033

Hello.
I am getting an error on startup.

g:\111\mpd-content-parser>mpd_content_parser.py
Traceback (most recent call last):
File "G:\111\mpd-content-parser\mpd_content_parser.py", line 292, in
main()
File "G:\111\mpd-content-parser\mpd_content_parser.py", line 273, in main
xmlpath = Path(args.path).resolve()
File "C:\Program Files\Python37\lib\pathlib.py", line 1003, in new
self = cls._from_parts(args, init=False)
File "C:\Program Files\Python37\lib\pathlib.py", line 658, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Program Files\Python37\lib\pathlib.py", line 642, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions