Skip to content
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

TypeError: 'exclusive' is an unknown keyword argument #352

Open
devmrfitz opened this issue Feb 7, 2021 · 4 comments
Open

TypeError: 'exclusive' is an unknown keyword argument #352

devmrfitz opened this issue Feb 7, 2021 · 4 comments

Comments

@devmrfitz
Copy link

devmrfitz commented Feb 7, 2021

mkchromecast installed from aur using yay

~$ mkchromecast -t
/usr/share/mkchromecast/mkchromecast/cast.py:111: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if iface is not None and iface[0]['addr'] is not '127.0.0.1':
Mkchromecast v0.3.8.1
/usr/share/mkchromecast/mkchromecast/systray.py:797: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if platform is 'Darwin':
/usr/share/mkchromecast/mkchromecast/systray.py:803: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if platform is 'Linux':
/usr/share/mkchromecast/mkchromecast/systray.py:864: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if platform is 'Darwin' and self.notifications is 'enabled':
/usr/share/mkchromecast/mkchromecast/systray.py:864: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if platform is 'Darwin' and self.notifications is 'enabled':
Selected backend: /usr/bin/parec
Selected audio codec: mp3
Default bitrate used: 192k
Default sample rate used: 44100Hz.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
Traceback (most recent call last):
  File "/usr/bin/mkchromecast", line 283, in <module>
    mk()
  File "/usr/bin/mkchromecast", line 59, in __init__
    self.start_tray()
  File "/usr/bin/mkchromecast", line 280, in start_tray
    mkchromecast.systray.main()
  File "/usr/share/mkchromecast/mkchromecast/systray.py", line 910, in main
    menubar()
  File "/usr/share/mkchromecast/mkchromecast/systray.py", line 173, in __init__
    self.createUI()
  File "/usr/share/mkchromecast/mkchromecast/systray.py", line 178, in createUI
    self.ag = QtWidgets.QActionGroup(self, exclusive=True)
TypeError: 'exclusive' is an unknown keyword argument
@devcomputer
Copy link

same. Pop OS 20 apt install mkchromecast

$ mkchromecast -t
Mkchromecast v0.3.8.1
Selected backend: /usr/bin/parec
Selected audio codec: mp3
Default bitrate used: 192k
Default sample rate used: 44100Hz.
Traceback (most recent call last):
File "/usr/bin/mkchromecast", line 283, in
mk()
File "/usr/bin/mkchromecast", line 59, in init
self.start_tray()
File "/usr/bin/mkchromecast", line 280, in start_tray
mkchromecast.systray.main()
File "/usr/share/mkchromecast/mkchromecast/systray.py", line 900, in main
menubar()
File "/usr/share/mkchromecast/mkchromecast/systray.py", line 164, in init
self.createUI()
File "/usr/share/mkchromecast/mkchromecast/systray.py", line 169, in createUI
self.ag = QtWidgets.QActionGroup(self, exclusive=True)
TypeError: 'exclusive' is an unknown keyword argument

@hughwilliams94
Copy link

Removing exclusive=True seems to work fine

@hughwilliams94
Copy link

In fact I think this is already fixed in the master branch as the mkchromecast-git aur package works fine.

@BrunoSpy
Copy link

0.3.8.1 is 4 years old now, maybe it's time to release a new version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants