Error on build: No module named stats

Bug #400534 reported by Carlos Eduardo Moreira dos Santos
This bug report is a duplicate of:  Bug #673398: stats plugin must be a prerequiste. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Confirmed
Low
Unassigned

Bug Description

This is revision 654:

running install
running build
running build_py
running build_scripts
running build_credits
Traceback (most recent call last):
  File "setup.py", line 204, in <module>
    'check': Check}
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/distutils/command/install.py", line 577, in run
    self.run_command('build')
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "setup.py", line 56, in run
    from bzrlib.plugins.stats import find_credits
ImportError: No module named stats

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

You need to install the bzr-stats plugin. It's arguably a packaging bug...

Why are you trying to install the package as opposed to running it from source (i.e. from the ~/.bazaar/plugins directory) ?

Changed in bzr-gtk:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Carlos Eduardo Moreira dos Santos (cemsbr) wrote :

I installed bzr-stats and then I was able to install bzr-gtk.

I'm installing instead of running from source because I'm making a package for Archlinux, so users can update their bzr-gtk while updating the whole system.

I've just made a bzr-stats package and added it as a bzr-gtk dependency.

Thank you

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

Other bug subscribers

Remote bug watches

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