-
Notifications
You must be signed in to change notification settings - Fork 153
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
Doesn't start on Mint 19.3 #45
Comments
I am also on Linux Mint 19.3. I get a slightly different error on launch. I installed the v1.1 .deb, after first installing the imdbpy dependency by downloading a .deb from https://packages.ubuntu.com/focal/all/python3-imdbpy/download. $ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: LinuxMint
Description: Linux Mint 19.3 Tricia
Release: 19.3
Codename: tricia
$ hypnotix
Traceback (most recent call last):
File "/usr/lib/hypnotix/hypnotix.py", line 24, in <module>
import mpv
File "/usr/lib/hypnotix/mpv.py", line 567, in <module>
_handle_func('mpv_render_context_create', [MpvRenderCtxHandle, MpvHandle, POINTER(MpvRenderParam)], c_int, ec_errcheck, ctx=None)
File "/usr/lib/hypnotix/mpv.py", line 478, in _handle_func
func = getattr(backend, name)
File "/usr/lib/python3.6/ctypes/__init__.py", line 361, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.6/ctypes/__init__.py", line 366, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libmpv.so.1: undefined symbol: mpv_render_context_create |
You can try python3-imdbpy from this place |
What version of libmpv do you have? |
It say latest available version |
Ok it looks like this would need an older version of python-mpv: jaseg/python-mpv#116. |
We could maybe ship with two versions of python-mpv, check the version of libmpv and depending on that load one or another... |
I'm not keen on targeting older releases for development but we could do that as a one-time fix. |
I did the workaround of installing an older version of python-mpv (v0.3.9, v0.3.10, v0.4.0, even the last one 0.5.2 just for the lols) but unfortunately didn't work. The same error appears.
|
Doesn't start from menu. When started from terminal have some errors. Any help :-)
`~$ Traceback (most recent call last):
File "/usr/lib/hypnotix/hypnotix.py", line 24, in import mpv
File "/usr/lib/hypnotix/mpv.py", line 567, in _handle_func('mpv_render_context_create', [MpvRenderCtxHandle, MpvHandle, POINTER(MpvRenderParam)], c_int, ec_errcheck, ctx=None)
File "/usr/lib/hypnotix/mpv.py", line 478, in _handle_func func = getattr(backend, name)
File "/usr/lib/python3.6/ctypes/init.py", line 361, in getattr func = self.getitem(name)
File "/usr/lib/python3.6/ctypes/init.py", line 366, in getitem func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libmpv.so.1: undefined symbol: mpv_render_context_create
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_lib_hypnotix_hypnotix.py.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/hypnotix/hypnotix.py", line 24, in import mpv
File "/usr/lib/hypnotix/mpv.py", line 567, in _handle_func('mpv_render_context_create', [MpvRenderCtxHandle, MpvHandle, POINTER(MpvRenderParam)], c_int, ec_errcheck, ctx=None)
File "/usr/lib/hypnotix/mpv.py", line 478, in _handle_func func = getattr(backend, name)
File "/usr/lib/python3.6/ctypes/init.py", line 361, in getattr func = self.getitem(name)
File "/usr/lib/python3.6/ctypes/init.py", line 366, in getitem func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libmpv.so.1: undefined symbol: mpv_render_context_create
`
The text was updated successfully, but these errors were encountered: