stats plugin must be a prerequiste

Bug #673398 reported by -- on 2010-11-10
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends

Bug Description

When trying a manual build or bzr-gtk, bzrlib.plugins.stats break the build.

How to reproduce :
> cd ~/.bazaar/plugins
> bzr branch lp:bzr-gtk gtk
> cd btk
> python build

(my objective was maily to build the locale files)

Traceback :
Traceback (most recent call last):
  File "", line 169, in <module>
    'check': Check}
  File "/usr/lib64/python2.6/distutils/", line 152, in setup
  File "/usr/lib64/python2.6/distutils/", line 975, in run_commands
  File "/usr/lib64/python2.6/distutils/", line 995, in run_command
  File "/usr/lib64/python2.6/distutils/command/", line 134, in run
  File "/usr/lib64/python2.6/distutils/", line 333, in run_command
  File "/usr/lib64/python2.6/distutils/", line 995, in run_command
  File "", line 54, in run
    from bzrlib.plugins.stats.cmds import find_credits
ImportError: No module named stats.cmds

Software versions :
Python 2.6.2
Bazaar 2.1.0
bzr-gtk r700

How to solve :
- add a try except or the prerequiste in the file

- install first and build bzr-stats plugin

Jelmer Vernooij (jelmer) on 2010-11-16
Changed in bzr-gtk:
status: New → Triaged
importance: Undecided → Low
Jelmer Vernooij (jelmer) wrote :

the bzr-stats plugin is indeed a prerequisite if you want to install the plugin to the system at the moment (as opposed to running it from ~/.bazaar/plugins). We should probably document this a bit better, or allow installation without installing the stats.

What do you mean by adding a prerequisite to though? We don't use setuptools.

Ah yeah 'install-require' is a setuptools or distribute thing. Distutils have 'require' key word
but, as i know is not working well.

Documenting the 'stats' prerequiste may be enought.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions