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

ImportError: No module named pygst #7

Closed
suti3112 opened this issue Mar 18, 2016 · 4 comments
Closed

ImportError: No module named pygst #7

suti3112 opened this issue Mar 18, 2016 · 4 comments

Comments

@suti3112
Copy link

My Problem:

->

sudo mopidy
INFO Starting Mopidy 2.0.0
ERROR Failed to load extension ttsgpio: No module named pygst
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mopidy/ext.py", line 202, in load_extensions
extension_class = entry_point.load(require=False)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['name'])
File "/usr/local/lib/python2.7/dist-packages/mopidy_ttsgpio/init.py", line 8, in
import pygst
ImportError: No module named pygst
INFO Loading config from builtin defaults
INFO Loading config from /root/.config/mopidy/mopidy.conf
INFO Loading config from command line options
INFO Enabled extensions: mpd, http, stream, m3u, softwaremixer, file, musicbox_webclient, websettings, tunein
INFO Disabled extensions: local
WARNING Found local configuration errors, the extension has been automatically disabled:
WARNING local/media_dir must be set.
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO Starting Mopidy mixer: SoftwareMixer
INFO Starting Mopidy audio
INFO Starting Mopidy backends: TuneInBackend, StreamBackend, M3UBackend, FileBackend
INFO Audio output set to "autoaudiosink"
INFO Starting Mopidy core
INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend
INFO MPD server running at [::ffff:127.0.0.1]:6600
INFO HTTP server running at [::ffff:127.0.0.1]:6680
INFO Starting GLib mainloop

@ghost
Copy link

ghost commented Mar 18, 2016

Seems that pygst is not installed correctly. I would try to reinstall gstreamer so that pygst gets installed.

@jodal
Copy link

jodal commented Mar 19, 2016

Mopidy 2.0 doesn't use pygst, but PyGI. The change of Python language binding to GStreamer was a required part of the upgrade from GStreamer 0.10 to 1.x.

As you cannot use pygi and pygst in the same process, it looks like Mopidy-TtsGpio is currently incompatible with Mopidy 2.0.

@ghost
Copy link

ghost commented Mar 21, 2016

Thanks for the info @jodal
I will try upgrading to mopidy 2.0 and make Mopidy-TtsGpio compatible with it

@jodal
Copy link

jodal commented Mar 21, 2016

It should simply be a matter of removing the unused import of pygst in mopidy_ttsgpio/__init__.py.

@ghost ghost closed this as completed in 11f8ad0 Mar 24, 2016
This issue was closed.
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

2 participants