Skip to content

Error on Mac OS X Sierra #1

@oca159

Description

@oca159

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions