Pirate Audio Black Screen - Broken?

I just purchased a Raspberry Pi Zero WH (pre soldered header model) and a Pirate Audio from the Pi shop in Cambridge. I’ve installed Raspbian from scratch so it’s completely fresh. I’ve also tried this twice with fresh installs…

I’ve followed this guide: https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-pirate-audio

specifically by doing the following:

git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh

the install appears successful as it says “All Done”, however the pirate audio board just shows a black screen although backlight so there’s clearly power. I’ve attempted to go to to the pis local ip like this http://192.168.0.28:6680/ but nothing loads.

Is the board broken?

I attach the full output below:

Updating apt and installing dependencies
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease         
Hit:3 https://apt.mopidy.com buster InRelease                           
Reading package lists... Done                     
Building dependency tree       
Reading state information... Done
112 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

Verifying python 3.x version
Found Python 3.7

Backing up mopidy config to: /etc/mopidy/mopidy.conf.backup-2020-03-26-11-35-29

Installing mopidy packages
mopidy was already not hold.
mopidy-spotify was already not hold.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

Installing Iris web UI for Mopidy
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: mopidy-iris in /usr/local/lib/python3.7/dist-packages (3.46.0)
Requirement already satisfied, skipping upgrade: Mopidy>=3.0 in /usr/lib/python3/dist-packages (from mopidy-iris) (3.0.1)
Requirement already satisfied, skipping upgrade: setuptools in /usr/lib/python3/dist-packages (from mopidy-iris) (40.8.0)
Requirement already satisfied, skipping upgrade: Pykka>=2.0.1 in /usr/lib/python3/dist-packages (from mopidy-iris) (2.0.2)

Adding /usr/local/lib/python3.7/dist-packages/mopidy_iris/system.sh to /etc/sudoers.d/010_mopidy-nopasswd

Installing Pirate Audio plugins...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: Mopidy-PiDi in /usr/local/lib/python3.7/dist-packages (1.0.2)
Requirement already up-to-date: pidi-display-pil in /usr/local/lib/python3.7/dist-packages (0.1.0)
Requirement already up-to-date: pidi-display-st7789 in /usr/local/lib/python3.7/dist-packages (0.1.1)
Requirement already up-to-date: mopidy-raspberry-gpio in /usr/local/lib/python3.7/dist-packages (1.0.0)
Requirement already satisfied, skipping upgrade: Pykka>=2.0.1 in /usr/lib/python3/dist-packages (from Mopidy-PiDi) (2.0.2)
Requirement already satisfied, skipping upgrade: netifaces in /usr/local/lib/python3.7/dist-packages (from Mopidy-PiDi) (0.10.9)
Requirement already satisfied, skipping upgrade: setuptools in /usr/lib/python3/dist-packages (from Mopidy-PiDi) (40.8.0)
Requirement already satisfied, skipping upgrade: musicbrainzngs>=0.6 in /usr/local/lib/python3.7/dist-packages (from Mopidy-PiDi) (0.7.1)
Requirement already satisfied, skipping upgrade: Mopidy>=3.0 in /usr/lib/python3/dist-packages (from Mopidy-PiDi) (3.0.1)
Requirement already satisfied, skipping upgrade: font-roboto in /usr/local/lib/python3.7/dist-packages (from pidi-display-pil) (0.0.1)
Requirement already satisfied, skipping upgrade: Pillow in /usr/lib/python3/dist-packages (from pidi-display-pil) (5.4.1)
Requirement already satisfied, skipping upgrade: fonts in /usr/local/lib/python3.7/dist-packages (from pidi-display-pil) (0.0.3)
Requirement already satisfied, skipping upgrade: st7789 in /usr/local/lib/python3.7/dist-packages (from pidi-display-st7789) (0.0.2)

Resetting /etc/mopidy/mopidy.conf to package defaults.
Any custom settings have been backed up to /etc/mopidy/mopidy.conf.backup-2020-03-26-11-35-29

Configuring Mopidy

Enabling and starting Mopidy
Synchronizing state of mopidy.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mopidy

All done!
Mopidy configuration has changed, see summary below and make sure to update /etc/mopidy/mopidy.conf!
Your previous configuration was backed up to /etc/mopidy/mopidy.conf.backup-2020-03-26-11-35-29
72,100d71
< 
< [raspberry-gpio]
< enabled = true
< bcm5 = play_pause,active_low,250
< bcm6 = volume_down,active_low,250
< bcm16 = next,active_low,250
< bcm20 = volume_up,active_low,250
< bcm24 = volume_up,active_low,250
< 
< [pidi]
< enabled = true
< display = st7789
< 
< [mpd]
< hostname = 0.0.0.0
< 
< [http]
< hostname = 0.0.0.0
< 
< [audio]
< mixer_volume = 40
< output = alsasink device=hw:sndrpihifiberry
< 
< [spotify]
< enabled = false
< username =
< password =
< client_id =
< client_secret =
1 Like

I’m also having similiar problems. followed instructions per web page
no output on pirate audio screen

also received a couple failure messages on install:
mobidy.service does not exist
failed to enable unit: unit file mopidy.service does not exist
unable to restart mopidy.service: unit mobidy.service not found

unable to locate package mopidy-spotify

running unit on a raspbery pi 3b
fresh install of raspbian on 32gb sd card
raspbian seems to be working fine

I’m sending this message from the Raspberry Pi I’m trying to get the hat to work with.

is there any thing I can do to manually install mopidy?
since that seems to be at least part of the problem…

garamando

1 Like

Your issue is likely different as mine managed to find and start the moped service

Well I finally got the screen to work., had to manually install Mopidy
now it runs and I get my ip address and port number on the tiny little screeen.
But there seems to be a problem with different versions of software.

the errror I get now is Mopidy-Iris requires Python 3.7but the running python is 2.7.16
so as a BETA tester I’d have to say the install script isn’t installing something correctly.
I used a fresh sd card and download of Raspian-Buster 2020-02-13
and now I’m trying to find and patch all the missing bits to get a working Mopidy web interface client.

Don’t mind the detective work for myself, I was a Unix admin decades ago and know how to chase things down. I feel sorry for my brother he’s an Apple man, and I got him one of these Pirate Audio cards for his Birthday. I’m sure he’ll be pulling his hair out…

well if I ever get this thing working, I’ll give him a copy of my sd card to get him started. hope I can get fixed before his next birthday rolls around.

If I can ever get this sorted properly, I’d like to put together a few of these as clients on Squeezeserver I’m running for my Logitech Squeezebox radios.

well it beats wasting time watching TV at least. and it uses whatever brain cells are still firing at this point.

1 Like

Same issues here with the Iris install in mopidy

Can we just download a working image of the whole setup instead?

I’ve tried on 2 version of Raspian buster
Hardware is Pi zero W with headers and Pirate Audio
Fresh card for each.

Fist time I ran the install script …

git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh

each time when it was collecting mopidy-iris the download would only get so far 8% or so then my wifi dropped out when it was trying to install Iris… odd

Tired again after sudo apt-get update
sudo apt-get upgrade
Seemed to get a little bit further

I tried Iris install with PIP
sudo python3 -m pip install Mopidy-Iris

Then back to the

git clone https://github.com/pimoroni/pirate-audio
cd pirate-audio/mopidy
sudo ./install.sh

Seems to have run the install… but nothing
Black screen
Any advice?