Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error with Ubuntu 16.04 and tray option #208

Closed
eduardoxy opened this issue Sep 6, 2018 · 4 comments
Closed

Error with Ubuntu 16.04 and tray option #208

eduardoxy opened this issue Sep 6, 2018 · 4 comments

Comments

@eduardoxy
Copy link

Hello friend,

I am trying to install your software in my Ubuntu 16.04 x64.
I can install it from the sources and run via terminal succesfully.
But when I try to run "mkchromecast -t" I get the following error:

Traceback (most recent call last):
File "./mkchromecast", line 15, in
from mkchromecast.cast import casting
File "./../mkchromecast/cast.py", line 8, in
from mkchromecast.preferences import ConfigSectionMap
File "./../mkchromecast/preferences.py", line 60, in
from PyQt5.QtWidgets import (QWidget, QLabel, QComboBox, QApplication,
ImportError: /home/eduardoxy/.local/lib/python3.5/site-packages/PyQt5/QtCore.so: undefined symbol: PySlice_AdjustIndices

Could you have some solution to that problem?
ps: I have installed the pyqt5, but I'm not able to identify what is wrong.

Thank you!

@eduardoxy
Copy link
Author

eduardoxy commented Sep 6, 2018

Hello!

I have corrected the error I will write the solution here.
I've found this bug on PyQt. In order to correct it, I install the python 3.6.6 from the binaries following this simple tutorial.

So then I have followed the tips on #151 in this comment.
I built a virtual environment for python3.6, activate it and install the mkchromecast using the "pip install -r requirements.txt".

After those steps, the command is running with the -t option like a charm.
Thank you.

@muammar
Copy link
Owner

muammar commented Sep 6, 2018

Thank you for writing this. I am sorry I am not very responsive.

@muammar
Copy link
Owner

muammar commented Oct 13, 2018

I added this to the Wiki. Closing this issue.

@muammar muammar closed this as completed Oct 13, 2018
@eduardoxy
Copy link
Author

Perfect!

Best regards

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

No branches or pull requests

2 participants