TEXT   75

pyside2

Guest on 23rd September 2022 12:59:21 AM

  1. shlomif[dotfiles]:$trunk$ git dh
  2. 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
  3. index 355e5985..42a4804c 100755
  4. --- a/shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py
  5. +++ b/shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py
  6. @@ -10,7 +10,7 @@ Date: 25 December 2021
  7.  import platform
  8.  import sys
  9.  
  10. -from PyQt5 import QtCore, QtGui, QtWidgets
  11. +from PySide2 import QtCore, QtGui, QtWidgets
  12.  
  13.  import click
  14.  
  15. shlomif[dotfiles]:$trunk$ python3 shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py
  16. Qt: Session management error: Could not open network socket
  17. Traceback (most recent call last):
  18.   File "/usr/lib64/python3.8/ctypes/__init__.py", line 97, in CFUNCTYPE
  19.     return _c_functype_cache[(restype, argtypes, flags)]
  20. KeyError: (<class 'ctypes.c_void_p'>, (<class 'ctypes.c_int'>, <vlc.ListPOINTER object at 0x7faf7de33fa0>), 1)
  21.  
  22. During handling of the above exception, another exception occurred:
  23.  
  24. Traceback (most recent call last):
  25.   File "shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py", line 213, in <module>
  26.     main()
  27.   File "/usr/lib/python3.8/site-packages/click/core.py", line 763, in __call__
  28.     return self.main(*args, **kwargs)
  29.   File "/usr/lib/python3.8/site-packages/click/core.py", line 716, in main
  30.     rv = self.invoke(ctx)
  31.   File "/usr/lib/python3.8/site-packages/click/core.py", line 955, in invoke
  32.     return ctx.invoke(self.callback, **ctx.params)
  33.   File "/usr/lib/python3.8/site-packages/click/core.py", line 554, in invoke
  34.     return callback(*args, **kwargs)
  35.   File "shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py", line 206, in main
  36.     player = Player(song, msg)
  37.   File "shlomif-settings/home-bin-executables/bin/notifier-event-show-hook--pyqt5.py", line 29, in __init__
  38.     self.instance = vlc.Instance()
  39.   File "/usr/lib/python3.8/site-packages/vlc.py", line 1821, in __new__
  40.     return libvlc_new(len(args), args)
  41.   File "/usr/lib/python3.8/site-packages/vlc.py", line 4617, in libvlc_new
  42.     _Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
  43.   File "/usr/lib/python3.8/site-packages/vlc.py", line 268, in _Cfunction
  44.     p = ctypes.CFUNCTYPE(*types)
  45.   File "/usr/lib64/python3.8/ctypes/__init__.py", line 99, in CFUNCTYPE
  46.     class CFunctionType(_CFuncPtr):
  47. TypeError: 'Shiboken.ObjectType' object is not iterable
  48. shlomif[dotfiles]:$trunk$

Raw Paste


Login or Register to edit or fork this paste. It's free.