Package: debtags
Version: 2.0.2
Severity: important
File: /usr/bin/debtags-submit-patch
File: /usr/bin/debtags-hardware
User: [email protected]
Usertags: python3

These two scripts fail to work because they use Python 2 only syntax but use 
/usr/bin/python3 and debtags depends only on Python 3.

pabs@chianamo ~/tmp-python-debtags $ apt-cache show debtags |grep Depen
Depends: python3:any (>= 3.2~), python3-apt, python3-debian
pabs@chianamo ~ $ head -n1 /usr/bin/debtags-*
==> /usr/bin/debtags-hardware <==
#!/usr/bin/python3

==> /usr/bin/debtags-submit-patch <==
#!/usr/bin/python3
pabs@chianamo ~ $ debtags-submit-patch 
  File "/usr/bin/debtags-submit-patch", line 60
    except urllib2.HTTPError, e:
                            ^
SyntaxError: invalid syntax
pabs@chianamo ~ $ debtags-hardware 
  File "/usr/bin/debtags-hardware", line 54
    print "#"
            ^
SyntaxError: Missing parentheses in call to 'print'

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates'), (850, 'buildd-testing-proposed-updates'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debtags depends on:
ii  python3-apt     1.1.0~beta2
ii  python3-debian  0.1.27
pn  python3:any     <none>

debtags recommends no packages.

Versions of packages debtags suggests:
pn  tagcoll  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to