[Pkg-mozext-maintainers] Bug#740762: xpi-repack: missing --upstream-version -> unhelpful error

Jakub Wilk jwilk at debian.org
Tue Mar 4 19:29:38 UTC 2014

Package: mozilla-devscripts
Version: 0.35
Severity: minor

xpi-repack dies with an exception if you don't provide 
--upstream-version. It would be nice if could print a more meaningful 
error message.

$ xpi-repack moo.xpi
Traceback (most recent call last):
   File "/usr/bin/xpi-repack", line 132, in <module>
   File "/usr/bin/xpi-repack", line 129, in main
     repack_xpi(package, upstream_version, args[0], verbose)
   File "/usr/bin/xpi-repack", line 39, in repack_xpi
     extract_dir = package + "-" + upstream_version
TypeError: cannot concatenate 'str' and 'NoneType' objects

Jakub Wilk

More information about the Pkg-mozext-maintainers mailing list