Date: Sun, 21 Aug 2011 23:01:49 GMT From: Dean Matzkov <bapabooiee@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159978: devel/bazaar-ng-2.4.0: Viewing help for subcommands results in an error Message-ID: <201108212301.p7LN1n2s092918@red.freebsd.org> Resent-Message-ID: <201108212310.p7LNA9AH093961@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159978 >Category: ports >Synopsis: devel/bazaar-ng-2.4.0: Viewing help for subcommands results in an error >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 21 23:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dean Matzkov >Release: 8.2-RELEASE >Organization: >Environment: >Description: When trying to view help text for any of bzr's subcommands, it errors out like so: ---SNIP--- bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'split' Traceback (most recent call last): File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 946, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 1150, in run_bzr ret = run(*run_argv) File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 674, in run_argv_aliases self.outf.write(self.get_help_text()) File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 492, in get_help_text i18n.install() # Install i18n only for get_help_text for now. File "/usr/local/lib/python2.6/site-packages/bzrlib/i18n.py", line 80, in install languages=lang.split(':'), AttributeError: 'NoneType' object has no attribute 'split' bzr 2.4.0 on python 2.6.7 (FreeBSD-8.2-RELEASE-i386-32bit-ELF) arguments: ['/usr/local/bin/bzr', 'update', '--help'] plugins: bash_completion[2.4.0], changelog_merge[2.4.0], git[0.6.1], launchpad[2.4.0], netrc_credential_store[2.4.0], news_merge[2.4.0], weave_fmt[2.4.0] encoding: 'US-ASCII', fsenc: 'US-ASCII', lang: None ----SNIP---- This only occurs with bzr-1.4.0, which is the current version in the Ports tree. Downgrading to a previous version (such as v2.3.0) does not exhibit this problem. >How-To-Repeat: $ cd /usr/ports/devel/bazaar-ng # make install $ bzr update --help >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108212301.p7LN1n2s092918>