Bug#900351: NameError: name 'os' is not defined

Eckhard Höffner ehoeffner at gmx.de
Tue May 29 13:10:55 BST 2018


Package: streamtuner2
Version: 2.2.0+dfsg-1
Severity: minor
Tags: a11y



stremtuner2 ist not starting showing the following: 

File "/usr/share/streamtuner2/compat2and3.py", line 72, in find_executable
    exists = [os.path.exists(dir+"/"+bin) for dir in os.environ.get("PATH").split(":")+["/"]]
NameError: name 'os' is not defined



/usr/share/streamtuner2/compat2and3.py

add before/after
import sys

=> import os






-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (600, 'testing'), (600, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages streamtuner2 depends on:
ii  python3           3.6.5-3
ii  python3-gi        3.28.2-1
ii  python3-lxml      4.2.1-1
ii  python3-pil       4.3.0-2
ii  python3-pyquery   1.2.9-3
ii  python3-requests  2.18.4-2

streamtuner2 recommends no packages.

Versions of packages streamtuner2 suggests:
pn  audacious  <none>
pn  totem      <none>
ii  vlc        3.0.2-1+b1

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list