[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883203: marked as done (TypeError in xorriso.py line 72)



Your message dated Fri, 24 Jun 2022 14:49:51 +0000
with message-id <[🔎] E1o4kd5-0009Pq-1L@fasolo.debian.org>
and subject line Bug#1009282: Removed package(s) from unstable
has caused the Debian Bug report #883203,
regarding TypeError in xorriso.py line 72
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
883203: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883203
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-wrapper
Version: 0.8-0~4
Severity: normal
Tags: patch

INFO Installing the disk metadata ...
INFO Creating the ISO image with Xorriso...
xorriso -outdev ./lxqt-sid.iso -volid DEBIAN LIVE -padding 0 -map /var/cache/lwr/build/tmpW0OHFA / -chmod 0755 / -- -boot_image isolinux dir=/isolinux -boot_image isolinux system_area=/usr/lib/ISOLINUX/isohdpfx.bin -boot_image any next -boot_image any efi_path=boot/grub/efi.img -boot_image isolinux partition_entry=gpt_basdat
DEBUG runcmd: ['xorriso', '-outdev', './lxqt-sid.iso', '-volid', 'DEBIAN LIVE', '-padding', 0, '-map', '/var/cache/lwr/build/tmpW0OHFA', '/', '-chmod', '0755', '/', '--', '-boot_image', 'isolinux', 'dir=/isolinux', '-boot_image', 'isolinux', 'system_area=/usr/lib/ISOLINUX/isohdpfx.bin', '-boot_image', 'any', 'next', '-boot_image', 'any', 'efi_path=boot/grub/efi.img', '-boot_image', 'isolinux', 'partition_entry=gpt_basdat'] None {}
CRITICAL Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 193, in _run
    self.process_args(args)
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 142, in process_args
    self.start_ops()
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 375, in start_ops
    xorriso.build_image()
  File "/usr/lib/python2.7/dist-packages/lwr/xorriso.py", line 74, in build_image
    runcmd(self.args)
  File "/usr/lib/python2.7/dist-packages/vmdebootstrap/base.py", line 38, in runcmd
    env=env, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings

As the bug message said, we want only strings as runcmd parameters. Patch attached.

Cheers Alf


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.2-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-wrapper depends on:
ii  debian-archive-keyring  2017.6
ii  isolinux                3:6.03+dfsg1-2
ii  python                  2.7.14-1
ii  python-apt              1.4.0~beta3+b1
ii  python-cliapp           1.20170827-1
ii  python-distro-info      0.17
ii  python-pycurl           7.43.0-2+b1
ii  python-requests         2.18.1-1
ii  squashfs-tools          1:4.3-4
ii  vmdebootstrap           1.8+git-1
ii  xorriso                 1.4.8-3

live-wrapper recommends no packages.

Versions of packages live-wrapper suggests:
ii  cmdtest           0.27-1
ii  live-wrapper-doc  0.8-0~4

-- no debconf information
diff --git a/lwr/xorriso.py b/lwr/xorriso.py
index 59718f3..4b6b155 100644
--- a/lwr/xorriso.py
+++ b/lwr/xorriso.py
@@ -69,4 +69,4 @@ class Xorriso(object):
             cliapp.AppException("Attempted to run xorriso before building "
                                 "arguments!")
         print(' '.join(str(v) for v in self.args))
-        runcmd(self.args)
+        runcmd(str(v) for v in self.args)

--- End Message ---
--- Begin Message ---
Version: 0.10+rm

Dear submitter,

as the package live-wrapper has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1009282

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: