Requests module missing - app won't launch on Xenial Openbox

Bug #1757500 reported by Adrien Monteleone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lplayer
New
Undecided
Unassigned

Bug Description

Trying out LPlayer on OpenBox running on Ubuntu 16.04 Xenial.

The app failed to launch from the command line.

The following traceback was produced in a terminal:

Traceback(most recent call last):
  File "/usr/bin/lplayer", line 35, in <module>
    from lplayer.lplayer import main
  File "/usr/share/lplayer/lplayer/lplayer.py", line 44, in <module>
    from .mainwindow import MainWindow
  File "/usr/share/lplayer/lplayer/mainwindow.py", line 56, in <module>
    from .audio import Audio
  File "/usr/share/lplayer/lplayer/audio.py", line 29, in <module>
    from .utils import create_thumbnail_for_audio
  File "/usr/share/lplayer/lplayer/utils.py", line 25, in <module>
    import requests
ImportError: No module named 'requests'

running Ubuntu 16.04.4 Xenial Xerus using kernel 4.4.0-116 generic in Virtualbox.

I'll be happy to provide any additional info or logs.

Revision history for this message
Adrien Monteleone (adrienm) wrote :

Sorry, I spoke too soon. (I'm not familiar with Python - yet)

I see the 'requests' module is a python3 module not one included in LPlayer.

I also see now that it is listed as a dependency on GitHub, but not apt.

I took a look at lplayer/debian/control and it is missing python3-requests in the Depends section.

Installing the package manually allows it to launch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.