As it says in the error, the problem is with the object `manager` being `None`. I was able to bypass this issue by adding an `if` case to check whether `manager` is `None` or not. With that, `gnome-music` runs.