Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError while running the program #128

Open
PatrunoLuca opened this issue Jan 6, 2023 · 0 comments
Open

TypeError while running the program #128

PatrunoLuca opened this issue Jan 6, 2023 · 0 comments

Comments

@PatrunoLuca
Copy link

pi@raspberrypi:~/joycontrol $ sudo python3 run_controller_cli.py PRO_CONTROLLER
Traceback (most recent call last):
File "/home/pi/joycontrol/run_controller_cli.py", line 16, in
from joycontrol.server import create_hid_server
File "/home/pi/joycontrol/joycontrol/server.py", line 13, in
PROFILE_PATH = pkg_resources.resource_filename('joycontrol', 'profile/sdp_record_hid.xml')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1130, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 349, in get_provider
return _find_adapter(_provider_factories, loader)(module)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1379, in init
self.module_path = os.path.dirname(getattr(module, 'file', ''))
File "/usr/lib/python3.9/posixpath.py", line 152, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant