Does shlex_split_unicode exist anywhere?
Neil Martinsen-Burrell
nmb at wartburg.edu
Mon Feb 22 14:46:26 GMT 2010
On 2010-02-22 08:39 , Russel Winder wrote:
> Just tried "bzr qlog" and it failed:
>
> bzr: ERROR: '/home/users/russel/Repositories/Bazaar/SharedRepositories/Gradle/Working/subprojects/gradle-core/build/tmp/tests/DefaultCacheInvalidationStrategyTest/isValidWithIgnoreFiles/buildSrc' is not a working copy
>
> so then I tried Bazaar Explorer:
>
> bzr: ERROR: exceptions.ImportError: cannot import name shlex_split_unicode
>
> Traceback (most recent call last):
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 833, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 1032, in run_bzr
> ret = run(*run_argv)
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 641, in run_argv_aliases
> return self.run_direct(**all_cmd_args)
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 645, in run_direct
> return self._operation.run_simple(*args, **kwargs)
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/cleanup.py", line 122, in run_simple
> self.cleanups, self.func, *args, **kwargs)
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/cleanup.py", line 156, in _do_with_cleanups
> result = func(*args, **kwargs)
> File "/home/users/russel/.bazaar/plugins/explorer/lib/commands.py", line 139, in run
> window = explorer.QExplorerMainWindow(location_list=location_list,
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/lazy_import.py", line 106, in __getattribute__
> obj = _replace()
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/lazy_import.py", line 89, in _replace
> obj = factory(self, scope, name)
> File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/lazy_import.py", line 192, in _import
> module = __import__(module_python_path, scope, scope, [member])
> File "/home/users/russel/.bazaar/plugins/explorer/lib/explorer.py", line 29, in <module>
> from bzrlib.commands import shlex_split_unicode
> ImportError: cannot import name shlex_split_unicode
>
> You can report this problem to Bazaar's developers by running
> apport-bug /var/crash/bzr.1000.2010-02-22T14:30.crash
> if a bug-reporting window does not automatically appear.
>
>
> It seems though that shlex_split_unicode doesn't exist in bzr.dev as of
> a few moments ago :-(((
As Ian Clatworthy had to explain to me on the bzr-mac list recently:
"""
Gordon put up a patch for bzr.dev to fix this. It's approved and just
needs merging. See
https://code.edge.launchpad.net/~doxxx/bzr/524181-shlex_split_unicode/+merge/19675
"""
So we should see a fix for this shortly <nudge, nudge>. In the
meantime, doing ``bzr update -r 5045`` in your bzr.dev branch will work
around the problem for now.
-Neil
More information about the bazaar
mailing list