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

[Bug]: #112

Closed
chudinhhai opened this issue Dec 14, 2022 · 0 comments
Closed

[Bug]: #112

chudinhhai opened this issue Dec 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@chudinhhai
Copy link

GridPlayer version

0.4.3

What OS are you using?

Linux

OS Version / Linux distribution

Ubuntu 22.04.1

What distribution channel are you using? [LINUX ONLY]

None

Bug description

I download the source code of your project and try run it by "poetry run gridplayer" command but it crashed. Here is the full error log:
2022-12-14 14:51:31,300 (21039) | UNHANDLED | CRITICAL | Traceback (most recent call last):
File "", line 1, in
File "/home/harry/gridplayer/gridplayer/main.py", line 29, in main
ret = run_app()
File "/home/harry/gridplayer/gridplayer/main/run.py", line 14, in run_app
vlc_version, vlc_python_version = init_vlc()
File "/home/harry/gridplayer/gridplayer/utils/libvlc.py", line 32, in init_vlc
vlc_version = _get_vlc_version()
File "/home/harry/gridplayer/gridplayer/utils/libvlc.py", line 85, in _get_vlc_version
with importing_embed_vlc():
File "/usr/lib/python3.10/contextlib.py", line 142, in exit
next(self.gen)
File "/home/harry/gridplayer/gridplayer/utils/libvlc_fixer.py", line 30, in importing_embed_vlc
_fix_plugins_path()
File "/home/harry/gridplayer/gridplayer/utils/libvlc_fixer.py", line 40, in _fix_plugins_path
vlc_lib_root = _get_libvlc_root_path()
File "/home/harry/gridplayer/gridplayer/utils/libvlc_fixer.py", line 62, in _get_libvlc_root_path
vlc_lib_root = Path(vlc_module.dll._name) # noqa: WPS437
File "/usr/lib/python3.10/pathlib.py", line 960, in new
self = cls._from_parts(args)
File "/usr/lib/python3.10/pathlib.py", line 594, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.10/pathlib.py", line 578, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Can you tell me what is the problem here

Log excerpt

2022-12-14 14:51:31,300 (21039) | UNHANDLED | CRITICAL | Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/harry/gridplayer/gridplayer/__main__.py", line 29, in main
    ret = run_app()
  File "/home/harry/gridplayer/gridplayer/main/run.py", line 14, in run_app
    vlc_version, vlc_python_version = init_vlc()
  File "/home/harry/gridplayer/gridplayer/utils/libvlc.py", line 32, in init_vlc
    vlc_version = _get_vlc_version()
  File "/home/harry/gridplayer/gridplayer/utils/libvlc.py", line 85, in _get_vlc_version
    with importing_embed_vlc():
  File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/home/harry/gridplayer/gridplayer/utils/libvlc_fixer.py", line 30, in importing_embed_vlc
    _fix_plugins_path()
  File "/home/harry/gridplayer/gridplayer/utils/libvlc_fixer.py", line 40, in _fix_plugins_path
    vlc_lib_root = _get_libvlc_root_path()
  File "/home/harry/gridplayer/gridplayer/utils/libvlc_fixer.py", line 62, in _get_libvlc_root_path
    vlc_lib_root = Path(vlc_module.dll._name)  # noqa: WPS437
  File "/usr/lib/python3.10/pathlib.py", line 960, in __new__
    self = cls._from_parts(args)
  File "/usr/lib/python3.10/pathlib.py", line 594, in _from_parts
    drv, root, parts = self._parse_args(args)
  File "/usr/lib/python3.10/pathlib.py", line 578, in _parse_args
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
@chudinhhai chudinhhai added the bug Something isn't working label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant