vlc-pyqt5-example icon indicating copy to clipboard operation
vlc-pyqt5-example copied to clipboard

Error on Mac OS X Sierra

Open oca159 opened this issue 8 years ago • 1 comments

I am receiving the next error:

Traceback (most recent call last):
  File "/Users/oaaburto/Documents/example.py", line 115, in PlayPause
    self.OpenFile()
  File "/Users/oaaburto/Documents/example.py", line 161, in OpenFile
    self.mediaplayer.set_nsobject(int(self.videoframe.winId()))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

I think that is a problem related to this line:

self.videoframe = QMacCocoaViewContainer(0)

Could you please confirm that?

oca159 avatar Jun 06 '17 00:06 oca159

I don't have any error when using the VLC player. What version of (Py)Qt are you using?

devos50 avatar Jun 06 '17 10:06 devos50