shlomif[dotfiles]:$trunk$ git dh diff --git a/shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py b/shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py index 355e5985..42a4804c 100755 --- a/shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py +++ b/shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py @@ -10,7 +10,7 @@ Date: 25 December 2018 import platform import sys -from PyQt5 import QtCore, QtGui, QtWidgets +from PySide2 import QtCore, QtGui, QtWidgets import click shlomif[dotfiles]:$trunk$ python3 shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py Qt: Session management error: Could not open network socket Traceback (most recent call last): File "/usr/lib64/python3.8/ctypes/__init__.py", line 97, in CFUNCTYPE return _c_functype_cache[(restype, argtypes, flags)] KeyError: (, (, ), 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py", line 213, in main() File "/usr/lib/python3.8/site-packages/click/core.py", line 763, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/core.py", line 716, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 955, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 554, in invoke return callback(*args, **kwargs) File "shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py", line 206, in main player = Player(song, msg) File "shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py", line 29, in __init__ self.instance = vlc.Instance() File "/usr/lib/python3.8/site-packages/vlc.py", line 1821, in __new__ return libvlc_new(len(args), args) File "/usr/lib/python3.8/site-packages/vlc.py", line 4617, in libvlc_new _Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance), File "/usr/lib/python3.8/site-packages/vlc.py", line 268, in _Cfunction p = ctypes.CFUNCTYPE(*types) File "/usr/lib64/python3.8/ctypes/__init__.py", line 99, in CFUNCTYPE class CFunctionType(_CFuncPtr): TypeError: 'Shiboken.ObjectType' object is not iterable shlomif[dotfiles]:$trunk$