Pip install Mopidy-MusicBox-Webclient --upgrade

What is again?

If I run this command: sudo pip install Mopidy-MusicBox-Webclient --upgrade

then I get the following message:

Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
load_entry_point(‘pip==1.5.6’, ‘console_scripts’, ‘pip’)()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 547, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2720, in load_entry_point
return ep.load()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2380, in load
return self.resolve()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2386, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python2.7/dist-packages/pip/init.py”, line 74, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File “/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py”, line 9, in
from pip.download import path_to_url
File “/usr/lib/python2.7/dist-packages/pip/download.py”, line 25, in
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

Thank you for your help. :slight_smile:

Here is my solution for this Problem:

wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py

I have now another problem!?!?!?!

If I call mopidy local scan then I get the following message:

Traceback (most recent call last):
File “/usr/local/bin/mopidy”, line 7, in
from mopidy.main import main
File “/usr/local/lib/python2.7/dist-packages/mopidy/main.py”, line 8, in
from mopidy.internal.gi import Gst # noqa: Import to initialize
File “/usr/local/lib/python2.7/dist-packages/mopidy/internal/gi.py”, line 9, in
gi.require_version(‘Gst’, ‘1.0’)
File “/usr/lib/python2.7/dist-packages/gi/init.py”, line 100, in require_version
raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace Gst not available

In future please provide details of what versions you are using, you can usually find this by running mopidy deps.

Have you just upgraded to Mopidy v2.0.0? If so, and if you are using pip rather than your systems package manager, you need to be aware of any system dependency changes that might have been introduced. The changelog. states:

Mopidy now requires GStreamer >= 1.2.3, as we’ve finally ported from GStreamer 0.10. Since we’re requiring a new major version of our major dependency, we’re upping the major version of Mopidy too.

Details of the dependencies required to run Mopidy v2.0.0 are provided here.

Please help me.

I tried the following:

sudo pip uninstall mopidy

Result: Successfully uninstalled Mopidy-2.0.0

sudo pip install mopidy

Result:

Collecting mopidy
Using cached Mopidy-2.0.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): requests>=2.0 in /usr/local/lib/python2.7/dist-packages (from mopidy)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from mopidy)
Requirement already satisfied (use --upgrade to upgrade): Pykka>=1.1 in /usr/lib/python2.7/dist-packages (from mopidy)
Requirement already satisfied (use --upgrade to upgrade): tornado>=2.3 in /usr/local/lib/python2.7/dist-packages (from mopidy)
Requirement already satisfied (use --upgrade to upgrade): backports.ssl-match-hostname in /usr/local/lib/python2.7/dist-packages (from tornado>=2.3->mopidy)
Requirement already satisfied (use --upgrade to upgrade): singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado>=2.3->mopidy)
Requirement already satisfied (use --upgrade to upgrade): certifi in /usr/local/lib/python2.7/dist-packages (from tornado>=2.3->mopidy)
Requirement already satisfied (use --upgrade to upgrade): backports-abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado>=2.3->mopidy)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from singledispatch->tornado>=2.3->mopidy)
Installing collected packages: mopidy
Successfully installed mopidy-2.0.0

If I call mopidy local scan than:

Traceback (most recent call last):
File “/usr/local/bin/mopidy”, line 7, in
from mopidy.main import main
File “/usr/local/lib/python2.7/dist-packages/mopidy/main.py”, line 8, in
from mopidy.internal.gi import Gst # noqa: Import to initialize
File “/usr/local/lib/python2.7/dist-packages/mopidy/internal/gi.py”, line 9, in
gi.require_version(‘Gst’, ‘1.0’)
File “/usr/lib/python2.7/dist-packages/gi/init.py”, line 100, in require_version
raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace Gst not available

Thank you for your help. :slightly_smiling:

I can now call mopidy local scan without any problems. :slight_smile: But the Mopidy-MusicBox-Webclient can not operate!?! does not respond to mouse clicks!?!

Try clearing out cache and your local data. Or whatever your browser calls these things, I don’t know what browser you are using since you have not said.

I tested my new mopidy with my MpoD App of my iphone. Very strange!?! If I play a mp3, than goes to the Radio!?!?! Hä!

And I get following message in my putty console:

WARNING GStreamer warning: gst-stream-error-quark: No volume control found (3)

What is this?

Now comes no sound out!

My nerves. :wink:

I have now sound. That was the alsamixer.

But what is WARNING GStreamer warning: gst-stream-error-quark: No volume control found (3)?