Thank you for suggestions. Quoting didn’t help but deleting the file and making a new file with the same content helped.
But now I can’t login because it tells me I have bad username or password.
2018-05-27 11:56:47,352 - ERROR Refreshing the auth token failed: HTTPSConnectionPool(host='auth.mopidy.com', port=443): Max retries exceeded with url: /spotify/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",),))
2018-05-27 11:56:47,361 - WARNING Did not receive authentication token!
2018-05-27 11:56:47,364 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:56:52,208 - ERROR Spotify login error: Bad username and/or password
Edit: The system clock is back to normal. Still doesn’t work.
I also checked that my username and password are alphanumerical
Edit2: I think I wrecked my whole installation: I tried to reinstall mopidy-spotify:
CardList.py CardList.pyc Reader.py Reader.pyc add_card.py box.log box.py box.pyc cardList.csv cardList.csv.save cardList.csv.save.1 config.py deviceName.txt gpio.log gpio_control.py shutdown startup
root@MusicBox:~# tail -f /var/log/mopidy/mopidy.log
2018-05-27 11:56:47,352 - ERROR Refreshing the auth token failed: HTTPSConnectionPool(host='auth.mopidy.com', port=443): Max retries exceeded with url: /spotify/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",),))
2018-05-27 11:56:47,361 - WARNING Did not receive authentication token!
2018-05-27 11:56:47,364 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:56:52,208 - ERROR Spotify login error: Bad username and/or password
2018-05-27 11:59:15,480 - ERROR Refreshing the auth token failed: HTTPSConnectionPool(host='auth.mopidy.com', port=443): Max retries exceeded with url: /spotify/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",),))
2018-05-27 11:59:15,489 - WARNING Did not receive authentication token!
2018-05-27 11:59:15,491 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:59:15,690 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:42:05,286 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:42:42,240 - WARNING Element doesn't implement handling of this stream. Please file a bug.
^C
root@MusicBox:~# date
Sun Oct 21 19:49:11 BST 2018
root@MusicBox:~# service mopidy restart
[....] Restarting Mopidy music server: mopidy
. ok
root@MusicBox:~#
root@MusicBox:~# service mopidy stop
root@MusicBox:~# ps aux | grep mopidy
root 3017 0.0 0.2 2036 1224 pts/0 S+ 19:53 0:00 grep mopidy
root@MusicBox:~# sudo apt-get purge mopidy-spotify
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mopidy-spotify
root@MusicBox:~# pip uninstall Mopidy-Spotify
Uninstalling Mopidy-Spotify-1.4.0:
/usr/local/lib/python2.7/dist-packages/Mopidy_Spotify-1.4.0-py2.7.egg-info
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/__init__.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/__init__.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/backend.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/backend.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/container_manager.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/container_manager.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/ext.conf
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/images.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/images.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/library.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/library.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/playback.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/playback.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/playlist_manager.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/playlist_manager.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/playlists.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/playlists.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/session_manager.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/session_manager.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/spotify_appkey.key
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/translator.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/translator.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/utils.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/utils.pyc
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/web.py
/usr/local/lib/python2.7/dist-packages/mopidy_spotify/web.pyc
Proceed (y/n)? y
Successfully uninstalled Mopidy-Spotify-1.4.0
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@MusicBox:~# sudo apt-get install mopidy-spotify
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mopidy-spotify
root@MusicBox:~# sudo apt-get update
Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [473 B]
Hit http://www.lesbonscomptes.com unstable Release.gpg
Hit http://www.lesbonscomptes.com unstable Release
Get:2 http://archive.raspberrypi.org wheezy Release.gpg [488 B]
Get:3 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Get:4 http://archive.raspberrypi.org wheezy Release [17.6 kB]
Hit http://www.lesbonscomptes.com unstable/main Sources
Get:5 http://archive.raspberrypi.org wheezy/main armhf Packages [145 kB]
Hit http://www.lesbonscomptes.com unstable/main armhf Packages
Ign http://www.lesbonscomptes.com unstable/main Translation-en
Get:6 http://mirrordirector.raspbian.org wheezy/main Sources [6097 kB]
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:7 http://mirrordirector.raspbian.org wheezy/contrib Sources [53.2 kB]
Get:8 http://mirrordirector.raspbian.org wheezy/non-free Sources [98.4 kB]
Get:9 http://mirrordirector.raspbian.org wheezy/rpi Sources [588 B]
Get:10 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7680 kB]
Get:11 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [35.0 kB]
Get:12 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [73.6 kB]
Get:13 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 14.2 MB in 53s (267 kB/s)
Reading package lists... Done
root@MusicBox:~# sudo apt-get install mopidy-spotify
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mopidy-spotify
root@MusicBox:~# wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
OK
root@MusicBox:~# sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/stretch.list
root@MusicBox:~# sudo apt-get update
Get:1 http://apt.mopidy.com stretch Release.gpg [819 B]
Hit http://www.lesbonscomptes.com unstable Release.gpg
Get:2 http://apt.mopidy.com stretch Release [37.0 kB]
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://www.lesbonscomptes.com unstable Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://www.lesbonscomptes.com unstable/main Sources
Get:3 http://apt.mopidy.com stretch/main Sources [36.0 kB]
Hit http://www.lesbonscomptes.com unstable/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main Sources
Ign http://www.lesbonscomptes.com unstable/main Translation-en
Hit http://mirrordirector.raspbian.org wheezy/contrib Sources
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit http://mirrordirector.raspbian.org wheezy/non-free Sources
Hit http://mirrordirector.raspbian.org wheezy/rpi Sources
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Get:4 http://apt.mopidy.com stretch/contrib Sources [7877 B]
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Get:5 http://apt.mopidy.com stretch/non-free Sources [3169 B]
Get:6 http://apt.mopidy.com stretch/main armhf Packages [20.3 kB]
Get:7 http://apt.mopidy.com stretch/contrib armhf Packages [5391 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Get:8 http://apt.mopidy.com stretch/non-free armhf Packages [1040 B]
Ign http://apt.mopidy.com stretch/contrib Translation-en
Ign http://apt.mopidy.com stretch/main Translation-en
Ign http://apt.mopidy.com stretch/non-free Translation-en
Fetched 112 kB in 22s (4963 B/s)
Reading package lists... Done
root@MusicBox:~# apt-cache search mopidy
mopidy-doc - music server with support for MPD/HTTP clients - documentation
mopidy-soundcloud - Mopidy extension for playing music from SoundCloud
mopidy-tunein - Mopidy extension for playing music from TuneIn
mopidy-local-sqlite - Mopidy extension for keeping your local library in SQLite
mopidy - music server with support for MPD/HTTP clients
mopidy-podcast - Mopidy extension for searching and browsing podcasts
mopidy-dleyna - Mopidy extension for playing music from Digital Media Servers
mopidy-dirble - Mopidy extension for browsing Dirble's radio station directory
mopidy-internetarchive - Mopidy extension for playing music from the Internet Archive
mopidy-beets - Mopidy extension for playing music from Beets' web plugin
mopidy-alsamixer - Mopidy extension for extension for ALSA volume control
mopidy-somafm - Mopidy extension for playing music from SomaFM
mopidy-podcast-itunes - Mopidy extension for searching and browsing iTunes podcasts
mopidy-scrobbler - Mopidy extension for scrobbling music to Last.fm
mopidy-youtube - Mopidy extension for playing music from YouTube
mopidy-mpris - Mopidy extension for controlling playback through MPRIS
mopidy-spotify - Mopidy extension for playing music from Spotify
mopidy-spotify-tunigo - Mopidy extension for providing the browse feature of Spotify
mpd-watchdog - Music player daemon (MPD/Mopidy) watchdog
root@MusicBox:~# sudo apt-get install mopidy-spotify
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mopidy-spotify : Depends: mopidy (>= 2.0) but it is not going to be installed
Depends: python-spotify (>= 2.0.5) but it is not going to be installed
Depends: python:any (< 2.8) but it is not installable
Depends: python:any (>= 2.7.5-5~) but it is not installable
E: Unable to correct problems, you have held broken packages.
root@MusicBox:~# pip install Mopidy-Spotify
Collecting Mopidy-Spotify
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading https://files.pythonhosted.org/packages/7c/67/e5bfc70a3698784eb98609dce6013e7f1ebf5f43b004053a7bffa389a017/Mopidy_Spotify-3.1.0-py2.py3-none-any.whl
Requirement already satisfied: requests>=2.0 in /usr/local/lib/python2.7/dist-packages (from Mopidy-Spotify)
Collecting Mopidy>=2.0 (from Mopidy-Spotify)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading https://files.pythonhosted.org/packages/dc/9e/c3651ef6b527ecb4a567efa542a12a39692914228d8ed6939d2fd86dcb29/Mopidy-2.2.1-py2.py3-none-any.whl (215kB)
100% |################################| 225kB 243kB/s
Collecting pyspotify>=2.0.5 (from Mopidy-Spotify)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading https://files.pythonhosted.org/packages/5b/ce/7a6520ea348023762d5b138e85809198626c758ee8053bfc534438ad8bad/pyspotify-2.0.5.tar.gz (152kB)
100% |################################| 153kB 329kB/s
Requirement already satisfied: Pykka>=1.1 in /usr/local/lib/python2.7/dist-packages (from Mopidy-Spotify)
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from Mopidy-Spotify)
Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->Mopidy-Spotify)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->Mopidy-Spotify)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->Mopidy-Spotify)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->Mopidy-Spotify)
Collecting tornado<5,>=4.4 (from Mopidy>=2.0->Mopidy-Spotify)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading https://files.pythonhosted.org/packages/e3/7b/e29ab3d51c8df66922fea216e2bddfcb6430fb29620e5165b16a216e0d3c/tornado-4.5.3.tar.gz (484kB)
100% |################################| 491kB 134kB/s
Requirement already satisfied: cffi>=1.0.0 in /usr/local/lib/python2.7/dist-packages (from pyspotify>=2.0.5->Mopidy-Spotify)
Requirement already satisfied: backports.ssl_match_hostname in /usr/local/lib/python2.7/dist-packages (from tornado<5,>=4.4->Mopidy>=2.0->Mopidy-Spotify)
Collecting singledispatch (from tornado<5,>=4.4->Mopidy>=2.0->Mopidy-Spotify)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Requirement already satisfied: backports_abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado<5,>=4.4->Mopidy>=2.0->Mopidy-Spotify)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.0.0->pyspotify>=2.0.5->Mopidy-Spotify)
Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from singledispatch->tornado<5,>=4.4->Mopidy>=2.0->Mopidy-Spotify)
Installing collected packages: singledispatch, tornado, Mopidy, pyspotify, Mopidy-Spotify
Found existing installation: tornado 4.2.1
Uninstalling tornado-4.2.1:
Successfully uninstalled tornado-4.2.1
Running setup.py install for tornado ... done
Found existing installation: Mopidy 1.1.2
Uninstalling Mopidy-1.1.2:
Successfully uninstalled Mopidy-1.1.2
Found existing installation: pyspotify 1.11
Uninstalling pyspotify-1.11:
Successfully uninstalled pyspotify-1.11
Running setup.py install for pyspotify ... done
Successfully installed Mopidy-2.2.1 Mopidy-Spotify-3.1.0 pyspotify-2.0.5 singledispatch-3.4.0.3 tornado-4.5.3
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@MusicBox:~# tail -f /var/log/mopidy/mopidy.log
2018-05-27 11:56:47,364 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:56:52,208 - ERROR Spotify login error: Bad username and/or password
2018-05-27 11:59:15,480 - ERROR Refreshing the auth token failed: HTTPSConnectionPool(host='auth.mopidy.com', port=443): Max retries exceeded with url: /spotify/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",),))
2018-05-27 11:59:15,489 - WARNING Did not receive authentication token!
2018-05-27 11:59:15,491 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:59:15,690 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:42:05,286 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:42:42,240 - WARNING Element doesn't implement handling of this stream. Please file a bug.
2018-10-21 19:50:13,242 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:54:37,143 - ERROR Spotify login error: Bad username and/or password
^C
root@MusicBox:~# service mopidy restart
[ ok ] Restarting Mopidy music server: mopidy.
root@MusicBox:~# tail -f /var/log/mopidy/mopidy.log
2018-05-27 11:56:47,364 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:56:52,208 - ERROR Spotify login error: Bad username and/or password
2018-05-27 11:59:15,480 - ERROR Refreshing the auth token failed: HTTPSConnectionPool(host='auth.mopidy.com', port=443): Max retries exceeded with url: /spotify/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",),))
2018-05-27 11:59:15,489 - WARNING Did not receive authentication token!
2018-05-27 11:59:15,491 - WARNING Could not initialize spotipy web api instance
2018-05-27 11:59:15,690 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:42:05,286 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:42:42,240 - WARNING Element doesn't implement handling of this stream. Please file a bug.
2018-10-21 19:50:13,242 - ERROR Spotify login error: Bad username and/or password
2018-10-21 19:54:37,143 - ERROR Spotify login error: Bad username and/or password
^C
root@MusicBox:~# ps aux | grep py
nobody 2052 0.0 0.2 2036 1416 ? Ss 19:40 0:00 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/triggers.d/ --socket /var/run/thd.socket --pidfile /var/run/thd.pid --user nobody /dev/input/event0
root 2864 0.0 1.5 25904 7736 ? Sl 19:41 0:01 python -u /kartenaenderung/gpio_control.py
root 2887 0.0 1.7 10480 8640 ? S 19:42 0:00 python -u /kartenaenderung/box.py
root 3258 0.0 0.2 2036 1260 pts/0 S+ 20:04 0:00 grep py
root@MusicBox:~# ps aux | grep mopidy
root 3260 0.0 0.2 2036 1152 pts/0 S+ 20:05 0:00 grep mopidy
root@MusicBox:~# service mopidy start
root@MusicBox:~# ps aux | grep mopidy
root 3277 0.0 0.2 2036 1264 pts/0 S+ 20:05 0:00 grep mopidy
root@MusicBox:~# sudo reboot
Broadcast message from root@MusicBox (pts/0) (Sun Oct 21 20:05:20 2018):
The system is going down for reboot NOW!
root@MusicBox:~#
login as: root
root@192.168.2.106's password:
______ _ _______ _ ______
(_____ (_) (_______) (_) (____ \
_____) ) _ _ _ _ _ ___ _ ____ ____) ) ___ _ _
| ____/ | | ||_|| | | | |/___) |/ ___) __ ( / _ ( \ / )
| | | | | | | | |_| |___ | ( (___| |__) ) |_| ) X (
|_| |_| |_| |_|____/(___/|_|\____)______/ \___(_/ \_)
Welcome!
root@MusicBox:~# ls
CardList.py CardList.pyc Reader.py Reader.pyc add_card.py box.log box.py box.pyc cardList.csv cardList.csv.save cardList.csv.save.1 config.py deviceName.txt gpio.log gpio_control.py shutdown startup
root@MusicBox:~# cat /var/log/musicbox_startup.log
************************
Initializing MusicBox...
************************
Setting sound configuration...
Probing sound devices:
* Found internal device: card0
* Found internal device: card0
* Found unknown device 'sndrpihifiberrydac' on card1
Probing sound devices:
* Found internal device: card0
* Found internal device: card0
* Found i2s device: card1
Selected card=1 (i2s=1 output=hifiberry-dac usb=1 intc=0)
Using audio card1 (hifiberry-dac)
MusicBox name is MusicBox
ifup: interface wlan0 already configured
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/b8:27:eb:cc:5e:19
Sending on LPF/wlan0/b8:27:eb:cc:5e:19
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.2.1 port 67
Reloading /etc/samba/smb.conf: smbd only.
done.
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
Waiting for network (1 of 4)...
Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
Reconfiguring network interfaces...done.
Starting Dropbear SSH server: dropbear.
Starting daemon monitor: monit.
Scanning music-files, please wait...
Traceback (most recent call last):
File "/usr/local/bin/mopidy", line 7, in <module>
from mopidy.__main__ import main
File "/usr/local/lib/python2.7/dist-packages/mopidy/__main__.py", line 10, in <module>
from mopidy import commands, config as config_lib, ext
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 14, in <module>
from mopidy.audio import Audio
File "/usr/local/lib/python2.7/dist-packages/mopidy/audio/__init__.py", line 4, in <module>
from .actor import Audio
File "/usr/local/lib/python2.7/dist-packages/mopidy/audio/actor.py", line 10, in <module>
from mopidy.audio import tags as tags_lib, utils
File "/usr/local/lib/python2.7/dist-packages/mopidy/audio/tags.py", line 10, in <module>
from mopidy.internal.gi import GLib, Gst
File "/usr/local/lib/python2.7/dist-packages/mopidy/internal/gi.py", line 9, in <module>
gi.require_version('Gst', '1.0')
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 73, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gst not available
***********************************************************************************
My IP address is 192.168.2.106
Connect to me in your browser at http://MusicBox.local or http://192.168.2.106
***********************************************************************************
starting python scripts
started gpio_control.py
started box.py
root@MusicBox:~#
Can I do anything to salvage this Situation? The Musicbox is about 400km away from my position and I’m doing everything remotely