Package: bmap-tools
Version: 3.6-2
Severity: normal

Dear Maintainer,

when using the option --psplash, the following error occurs:

  File "/usr/bin/bmaptool", line 11, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3/dist-packages/bmaptools/CLI.py", line 725, in main
    args.func(args)
  File "/usr/lib/python3/dist-packages/bmaptools/CLI.py", line 486, in 
copy_command
    writer.set_psplash_pipe(args.psplash_pipe)
  File "/usr/lib/python3/dist-packages/bmaptools/BmapCopy.py", line 231, in 
set_psplash_pipe
    if os.path.exists(pipe) and stat.S_ISFIFO(os.stat(pipe).st_mode):
                      ^^^^
NameError: name 'pipe' is not defined

The reason is a simple typo in the source code. Instead of "pipe",
"path" would be correct. An upstream patch is availabe in [1].

Best regards,
Felix Moessbauer
Siemens AG

[1] 
https://github.com/intel/bmap-tools/commit/06fa51d0270f84d9553c044bd7391f01459a70e8

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bmap-tools depends on:
ii  python3      3.11.2-1+b1
ii  python3-six  1.16.0-4

Versions of packages bmap-tools recommends:
ii  bzip2     1.0.8-5+b1
ii  lzop      1.04-2
ii  xz-utils  5.4.1-0.2

Versions of packages bmap-tools suggests:
ii  lz4            1.9.4-1
ii  pbzip2         1.1.13-1
pn  pigz           <none>
pn  python3-gpgme  <none>
ii  unzip          6.0-28

-- no debconf information

Reply via email to