ImportError: cannot import name _shortcut (using bzr.dev)

Bug #234014 reported by Marius Kruger
2
Affects Status Importance Assigned to Milestone
bzr-xmloutput
Fix Released
Medium
Guillermo Gonzalez

Bug Description

$ bzr missing
bzr: ERROR: exceptions.ImportError: cannot import name _shortcut

Traceback (most recent call last):
  File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 846, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/commands.py", line 807, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/amanica/.bazaar/plugins/xmloutput/__init__.py", line 142, in run
    from missingxml import show_missing_xml
  File "/home/amanica/.bazaar/plugins/xmloutput/missingxml.py", line 35, in <module>
    from bzrlib.missing import (
ImportError: cannot import name _shortcut

bzr 1.6dev on python 2.5.1 (linux2)
arguments: ['/usr/local/bin/bzr', 'missing']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
plugins:
  authors /home/amanica/.bazaar/plugins/authors [unknown]
  bisect /home/amanica/.bazaar/plugins/bisect [1.1.0pre0]
  bzr_push_and_update /home/amanica/.bazaar/plugins/bzr_push_and_update [unknown]
  bzrtools /home/amanica/.bazaar/plugins/bzrtools [1.5.0]
  difftools /home/amanica/.bazaar/plugins/difftools [unknown]
  docdiff /home/amanica/.bazaar/plugins/docdiff [0.9.0]
  email /home/amanica/.bazaar/plugins/email [unknown]
  gtk /home/amanica/.bazaar/plugins/gtk [0.95.0dev1]
  launchpad /stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/plugins/launchpad [unknown]
  lessdiff /home/amanica/.bazaar/plugins/lessdiff [unknown]
  lesslog /home/amanica/.bazaar/plugins/lesslog [unknown]
  merge_into /home/amanica/.bazaar/plugins/merge_into [unknown]
  multiparent /stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/plugins/multiparent.pyc [unknown]
  qbzr /home/amanica/.bazaar/plugins/qbzr [0.6.0]
  stats /home/amanica/.bazaar/plugins/stats [unknown]
  update_mirrors /home/amanica/.bazaar/plugins/update_mirrors [unknown]
  xmloutput /home/amanica/.bazaar/plugins/xmloutput [0.4.4]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Related branches

Revision history for this message
Guillermo Gonzalez (verterok) wrote :

This applies to bzr 1.6dev, and I think it's caused by the last changes to missing.

Changed in bzr-xmloutput:
assignee: nobody → guillo.gonzo
importance: Undecided → Medium
status: New → Confirmed
Changed in bzr-xmloutput:
status: Confirmed → Fix Committed
Revision history for this message
Marius Kruger (amanica) wrote : Re: [Bug 234014] Re: ImportError: cannot import name _shortcut (using bzr.dev)
  • unnamed Edit (801 bytes, text/html; charset=ISO-8859-1)

thanks a lot man,
it works!

regards
marius

On Thu, May 22, 2008 at 6:54 PM, Guillermo Gonzalez <email address hidden>
wrote:

> ** Changed in: bzr-xmloutput
> Status: Confirmed => Fix Committed
>
> --
> ImportError: cannot import name _shortcut (using bzr.dev)
> https://bugs.launchpad.net/bugs/234014
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Guillermo Gonzalez (verterok) wrote :

No problem, you'r welcome ;)

Cheers,

--
Guillermo

Changed in bzr-xmloutput:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.