ports/159978

Ruslan Mahmatkhanov cvs-src at yandex.ru
Tue Aug 23 09:20:05 UTC 2011


The following reply was made to PR ports/159978; it has been noted by GNATS.

From: Ruslan Mahmatkhanov <cvs-src at yandex.ru>
To: bug-followup at FreeBSD.org
Cc: Dean Matzkov <bapabooiee at gmail.com>
Subject: Re: ports/159978
Date: Tue, 23 Aug 2011 13:10:59 +0400

 Hmm, i can reproduce it like this:
 
 mrk at smeshariki2$ unsetenv LANG
 mrk at smeshariki2$ bzr help update
 ('Lang before anything: ', None)
 ('Lang before get_current_locale: ', None)
 bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no 
 attribute 'split'
 
 Traceback (most recent call last):
    File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", 
 line 946, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", 
 line 1150, in run_bzr
      ret = run(*run_argv)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", 
 line 699, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", 
 line 721, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/cleanup.py", line 
 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/cleanup.py", line 
 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", 
 line 1165, in ignore_pipe
      result = func(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/builtins.py", 
 line 4444, in run
      bzrlib.help.help(topic)
    File "/usr/local/lib/python2.7/site-packages/bzrlib/help.py", line 
 51, in help
      outfile.write(source.get_help_text(shadowed_terms))
    File "/usr/local/lib/python2.7/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.7/site-packages/bzrlib/i18n.py", line 
 82, in install
      languages=lang.split(':'),
 AttributeError: 'NoneType' object has no attribute 'split'
 
 bzr 2.4.0 on python 2.7.2 (FreeBSD-9.0-BETA1-i386-32bit-ELF)
 arguments: ['/usr/local/bin/bzr', 'help', 'update']
 plugins: bash_completion[2.4.0], changelog_merge[2.4.0], 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
 
 *** Bazaar has encountered an internal error.  This probably indicates a
      bug in Bazaar.  You can help us fix it by filing a bug report at
          https://bugs.launchpad.net/bzr/+filebug
      including this traceback and a description of the problem.
 
 
 So the workaround is to set LANG variable in your environment, but it's 
 obviously a bzr bug, since it should fallback to C by default.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.



More information about the freebsd-ports-bugs mailing list