Bug#841164: make-template package.deb trigger an Exception

Alexandre Detiste alexandre.detiste at gmail.com
Tue Oct 18 08:30:18 UTC 2016


Package: game-data-packager
Version: 46
Severity: minor

First noticed with Python3.5 (held back here to 3.4
because of unrelated python3-rpi.gpio).


$ equivs-build < /dev/null
$ game-data-packager make-template equivs-dummy_1.0_all.deb

Traceback (most recent call last):
  File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/pi/game-data-packager/game_data_packager/make_template.py", line 774, in <module>
    main()
  File "/home/pi/game-data-packager/game_data_packager/make_template.py", line 756, in main
    gamedata.add_one_deb(arg,args.lower)
  File "/home/pi/game-data-packager/game_data_packager/make_template.py", line 556, in add_one_deb
    install_to).replace('/usr/share/games/', '$assets/')
  File "/usr/lib/python3.4/posixpath.py", line 79, in join
    if b.startswith(sep):
  AttributeError: 'NoneType' object has no attribute 'startswith'


-- System Information:
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux testing (stretch)
Release:	testing
Codename:	stretch
Architecture: armv6l

Kernel: Linux 4.4.13+
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)



More information about the Pkg-games-devel mailing list