Bug#883197: TypeError in run.py line 370
Package: live-wrapper
Version: 0.8-0~4
Severity: normal
Tags: patch
INFO Installing the disk metadata ...
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 370, in start_ops
' '.join(xorriso_args))
TypeError: sequence item 6: expected string, int found
We only want stings here. 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/run.py b/lwr/run.py
index a2fe103..c59af9c 100644
--- a/lwr/run.py
+++ b/lwr/run.py
@@ -367,7 +367,7 @@ class LiveWrapper(cliapp.Application):
self.settings['description'] = get_default_description(self.settings['distribution'])
install_disk_info(self.cdroot,
self.settings['description'],
- ' '.join(xorriso_args))
+ ' '.join(str(v) for v in xorriso_args))
# Create ISO image
logging.info("Creating the ISO image with Xorriso...")
Reply to: