Skip to content

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

@Yutao-Jin

Description

@Yutao-Jin

image

macserver@MacServer ~ % /Users/macserver/Desktop/transmission-trackers.py

Traceback (most recent call last):
File "/Users/macserver/Desktop/transmission-trackers.py", line 54, in
cache_file = path.join(env.get('TEMP',env.get('TMP',None)) ,'.cache/trackers.txt')
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

I'm using python 3.9.9 on macOS

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