[PATCH] Add branchview dir to setup.py

Jelmer Vernooij jelmer at samba.org
Wed Feb 13 13:33:00 GMT 2008


Am Mittwoch, den 13.02.2008, 10:59 +0200 schrieb Gary van der Merwe:
> At the moment, if you install bzr-gtk with ./setup.py install, and
> then you try run bzr viz, you will get the following error:
> 
> bzr: ERROR: exceptions.ImportError: No module named branchview
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
> 806, in run_bzr_catch_errors
>     return run_bzr(argv)
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
> 762, in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
> 492, in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/__init__.py",
> line 252, in run
>     pp = start_viz_window(br, revid, limit)
>   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/__init__.py",
> line 221, in start_viz_window
>     from viz import BranchWindow
>   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/viz/__init__.py",
> line 14, in <module>
>     from branchwin import BranchWindow
>   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/viz/branchwin.py",
> line 19, in <module>
>     from bzrlib.plugins.gtk.branchview import TreeView
> ImportError: No module named branchview
> 
> bzr 1.1.0.dev.0 on python 2.5.1.final.0 (linux2)
> arguments: ['/usr/bin/bzr', 'viz']
> encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
> plugins:
>   bzrtools
> /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.0.0]
>   extmerge             /home/garyvdm/.bazaar/plugins/extmerge [unknown]
>   gtk
> /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.94.0dev0]
>   launchpad
> /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
>   multiparent
> /usr/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc
> [unknown]
> *** 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.
> 
> This is because the branchview dir was not added to setup.py when it
> was created. This patch fixes this.
bb:approve
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org



More information about the bzr-gtk mailing list