Traceback (most recent call last):
File "/usr/bin/testdrive", line 366, in <module>
main()
File "/usr/bin/testdrive", line 314, in main
run_or_die(cmd)
File "/usr/bin/testdrive", line 103, in run_or_die
if run(cmd) != 0:
File "/usr/bin/testdrive", line 100, in run
return(os.system(cmd))
TypeError: system() argument 1 must be string, not None
The reason is that TestDrive.get_proto returns None when the download using zsync succeeded, rather than 0 (which indicates success). It looks to me as if a 'return 0' statement is missing on line 224 of testdrive.py.
Binary package hint: testdrive
When testdrives downloads an ISO using HTTP (like http:// releases. ubuntu. com/9.10/ ubuntu- 9.10-desktop- amd64.iso), it will crash after the successful download with the following traceback:
Traceback (most recent call last): testdrive" , line 366, in <module> testdrive" , line 314, in main testdrive" , line 103, in run_or_die testdrive" , line 100, in run os.system( cmd))
File "/usr/bin/
main()
File "/usr/bin/
run_or_die(cmd)
File "/usr/bin/
if run(cmd) != 0:
File "/usr/bin/
return(
TypeError: system() argument 1 must be string, not None
The reason is that TestDrive.get_proto returns None when the download using zsync succeeded, rather than 0 (which indicates success). It looks to me as if a 'return 0' statement is missing on line 224 of testdrive.py.
ProblemType: Bug ature: Ubuntu 2.6.35-6.9-generic 2.6.35-rc3 ture: all
DistroRelease: Ubuntu 10.10
Package: testdrive 2.4-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-6-generic x86_64
Architecture: amd64
Date: Wed Jul 7 10:03:53 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100624)
PackageArchitec
ProcEnviron:
LANGUAGE=en
LANG=de_CH.utf8
SHELL=/bin/bash
SourcePackage: testdrive