After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765980 - ImportError when starting GNOME Music on ArchLinux
ImportError when starting GNOME Music on ArchLinux
Status: RESOLVED NOTGNOME
Product: gnome-music
Classification: Applications
Component: general
3.20.x
Other Linux
: Normal blocker
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2016-05-04 11:51 UTC by Lasse Schuirmann
Modified: 2016-05-04 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lasse Schuirmann 2016-05-04 11:51:08 UTC
I'm running GNOME 3.20 on ArchLinux and getting:

```
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'
```

when running `gnome-music` in the terminal
Comment 1 Lasse Schuirmann 2016-05-04 11:55:30 UTC
FWIW:

lasse@lssteady ~ % python --version
Python 3.5.1


>>> import urllib3
>>> for thing in urllib3.exceptions.__dict__:
...     print(thing)
... 
(...)
DependencyWarning
(...)
Comment 2 Marinus Schraal 2016-05-04 15:15:08 UTC
This looks like an arch packaging issue and should be reported there. Music imports requests, requests wants to import urllib3 and that fails.
Comment 3 Felipe Borges 2016-05-04 15:25:07 UTC
(In reply to Marinus Schraal from comment #2)
> This looks like an arch packaging issue and should be reported there. Music
> imports requests, requests wants to import urllib3 and that fails.

I second that.