FS#49211 - GNOME Music crashes upon start

Attached to Project: Arch Linux
Opened by Lasse Schuirmann (sils) - Wednesday, 04 May 2016, 15:32 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 04 May 2016, 16:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

GNOME Music crashes on startup. Traceback

```
Traceback (most recent call last):
File "/usr/bin/gnome-music", line 82, in <module>
from gnomemusic.application import Application
File "/usr/lib/python3.5/site-packages/gnomemusic/application.py", line 37, in <module>
from gnomemusic.window import Window
File "/usr/lib/python3.5/site-packages/gnomemusic/window.py", line 39, in <module>
from gnomemusic.player import Player, SelectionToolbar
File "/usr/lib/python3.5/site-packages/gnomemusic/player.py", line 50, in <module>
import requests
File "/usr/lib/python3.5/site-packages/requests/__init__.py", line 61, in <module>
from .packages.urllib3.exceptions import DependencyWarning
ImportError: cannot import name 'DependencyWarning'
```

With

```
lasse@lssteady ~ % python --version
Python 3.5.1


>>> import urllib3
>>> for thing in urllib3.exceptions.__dict__:
... print(thing)
...
(...)
DependencyWarning
(...)
```

Upstream issue claims this is a problem on Arch side: https://bugzilla.gnome.org/show_bug.cgi?id=765980

Additional info:
* package version(s)

```
lasse@lssteady ~/prog/coala-incremental (git)-[master] % ps gnome-music
extra/gnome-music 3.20.0-1 (gnome-extra) [installed]
Music player and management application
```

* config and/or log files etc.


Steps to reproduce:

* Install gnome-music
* Start it in the terminal
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 04 May 2016, 16:38 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Wednesday, 04 May 2016, 15:49 GMT
Do you have anything in /usr/lib/python3.5/site-packages/requests/packages/ besides __init__.py? If you do, where did they come from?
Comment by Lasse Schuirmann (sils) - Wednesday, 04 May 2016, 15:54 GMT
lasse@lssteady ~ % ls /usr/lib/python3.5/site-packages/requests/packages
chardet __init__.py __pycache__ urllib3

I have no idea where stuff comes from, I didn't use a virtualenv on this system consistently so I might have installed stuff with pip on top of the system stuff?
Comment by Doug Newgard (Scimmia) - Wednesday, 04 May 2016, 15:57 GMT
First, try pacman -Qo on chardet and urllib3 (__pycache__ is fine, forgot to mention that). If you installed it outside of pacman, it's your responsibility. If it's from a package not in the repos, it's also your responsibility.
Comment by Lasse Schuirmann (sils) - Wednesday, 04 May 2016, 16:33 GMT
Ok, seems I messed that one up. Thanks!

Loading...