Package: pybtex
Version: 0.15-1
If python-pkg-resources is not installed, pybtex --help fails with an
exception:
| $ pybtex --help
| Traceback (most recent call last):
| File "/usr/bin/pybtex", line 27, in <module>
| main()
| File "/usr/lib/pymodules/python2.7/pybtex/cmdline.py", line 75, in __call__
| self.main()
| File "/usr/lib/pymodules/python2.7/pybtex/cmdline.py", line 114, in main
| options, args = self.opt_parser.parse_args(args)
| File "/usr/lib/python2.7/optparse.py", line 1399, in parse_args
| stop = self._process_args(largs, rargs, values)
| File "/usr/lib/python2.7/optparse.py", line 1439, in _process_args
| self._process_long_opt(rargs, values)
| File "/usr/lib/python2.7/optparse.py", line 1514, in _process_long_opt
| option.process(opt, value, values, self)
| File "/usr/lib/python2.7/optparse.py", line 788, in process
| self.action, self.dest, opt, value, values, parser)
| File "/usr/lib/python2.7/optparse.py", line 810, in take_action
| parser.print_help()
| File "/usr/lib/python2.7/optparse.py", line 1669, in print_help
| file.write(self.format_help().encode(encoding, "replace"))
| File "/usr/lib/python2.7/optparse.py", line 1649, in format_help
| result.append(self.format_option_help(formatter))
| File "/usr/lib/python2.7/optparse.py", line 1629, in format_option_help
| result.append(OptionContainer.format_option_help(self, formatter))
| File "/usr/lib/python2.7/optparse.py", line 1073, in format_option_help
| result.append(formatter.format_option(option))
| File "/usr/lib/python2.7/optparse.py", line 315, in format_option
| help_text = self.expand_default(option)
| File "/usr/lib/pymodules/python2.7/pybtex/cmdline.py", line 51, in
expand_default
| plugin_choices = self.get_plugin_choices(option.plugin_group)
| File "/usr/lib/pymodules/python2.7/pybtex/cmdline.py", line 46, in
get_plugin_choices
| return ', '.join(sorted(enumerate_plugin_names(plugin_group)))
| TypeError: 'NoneType' object is not iterable
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages pybtex depends on:
ii python 2.7.3-2
ii python-pyparsing 1.5.6+dfsg1-2
ii python-support 1.0.15
Versions of packages pybtex recommends:
pn python-yaml <none>
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org