Bug#823995: game-data-packager: new version of Pyflakes3 complains when checking command_line.py

Alexandre Detiste alexandre.detiste at gmail.com
Wed May 11 05:24:43 UTC 2016


Package: game-data-packager
Version: 44
Severity: normal


Is this a bug in GDP or Pyflakes3 ?

-----------

$for f in game_data_packager/*.py; do echo $f; pyflakes3 $f; done

game_data_packager/command_line.py
Traceback (most recent call last):
  File "/usr/bin/pyflakes3", line 9, in <module>
    load_entry_point('pyflakes==1.2.2', 'console_scripts', 'pyflakes')()
  File "/usr/lib/python3/dist-packages/pyflakes/api.py", line 184, in main
    warnings = checkRecursive(args, reporter)
  File "/usr/lib/python3/dist-packages/pyflakes/api.py", line 141, in
checkRecursive
    warnings += checkPath(sourcePath, reporter)
  File "/usr/lib/python3/dist-packages/pyflakes/api.py", line 108, in checkPath
    return check(codestr, filename, reporter)
  File "/usr/lib/python3/dist-packages/pyflakes/api.py", line 69, in check
    w = checker.Checker(tree, filename)
  File "/usr/lib/python3/dist-packages/pyflakes/checker.py", line 416, in
__init__
    self.handleChildren(tree)
  File "/usr/lib/python3/dist-packages/pyflakes/checker.py", line 738, in
handleChildren
    self.handleNode(node, tree)
  File "/usr/lib/python3/dist-packages/pyflakes/checker.py", line 785, in
handleNode
    handler(node)
  File "/usr/lib/python3/dist-packages/pyflakes/checker.py", line 1164, in
IMPORTFROM
    node.module, alias.name)
  File "/usr/lib/python3/dist-packages/pyflakes/checker.py", line 212, in
__init__
    full_name = module + '.' + self.real_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages game-data-packager depends on:
ii  fakeroot        1.20.2-1
ii  python3         3.5.1-3
ii  python3-debian  0.1.27
ii  python3-yaml    3.11-3+b1
pn  python3:any     <none>

game-data-packager recommends no packages.

Versions of packages game-data-packager suggests:
ii  arj                   3.10.22-14
ii  binutils              2.26-8
ii  cabextract            1.6-1
ii  cdparanoia            3.10.2+debian-11
ii  dynamite              0.1.1-2
ii  gcc                   4:5.3.1-1
pn  gdebi | gdebi-kde     <none>
ii  gir1.2-gdkpixbuf-2.0  2.34.0-1
ii  gir1.2-gtk-3.0        3.20.3-2
ii  gir1.2-pango-1.0      1.40.1-1
ii  innoextract           1.6-1
ii  lgc-pg                1.3.1-1
ii  lgogdownloader        2.28-1
ii  lhasa [lzh-archiver]  0.3.1-1
ii  make                  4.1-9
ii  p7zip-full            15.14.1+dfsg-1
ii  python3-gi            3.20.1-1
ii  steam                 1.0.0.52-1
ii  steamcmd              0~20130205-1
ii  unace-nonfree         2.5-8
ii  unar                  1.9.1-1
ii  unrar                 1:5.3.2-1
ii  unshield              1.0-1
ii  unzip                 6.0-20
ii  vorbis-tools          1.4.0-8
ii  xdelta                1.1.3-9.1

-- debconf-show failed



More information about the Pkg-games-devel mailing list