← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 774138] [NEW] build error AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_inventory'

 

On Saturday 30 April 2011, you wrote:
> Public bug reported:
> 
> using bzr 2.4b
> 
> similar to
> https://bugs.launchpad.net/loggerhead/+bug/528194
> loggerhead.history.History.get_inventory() uses
> Repository.get_revision_inventory(), which was recently removed from
> bzr.dev (2.2.0b1). This breaks annotate, and presumably other things.
> 
> ** Affects: openobject-client
>      Importance: Undecided
>          Status: New

Well, it's clearly a bug in bzr[1]. That way, Canonical punishes you for not 
using Ubuntu[2] and we punish you for using OpenERP[3]

[1] my wild guess is some libraries mismatch between your setuptools and bzr. 
Did you do some upgrade to your OpenSuSe lately?
[2] remember the early days of Microsoft products, where running them along 
any non-microsoft ones would give you random errors?
[3] so far, running on anything but Ubuntu is not respected at all.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/774138

Title:
  build error AttributeError: 'CHKInventoryRepository' object has no
  attribute 'get_revision_inventory'

Status in OpenERP GTK Client:
  New

Bug description:
  using bzr 2.4b

  similar to
  https://bugs.launchpad.net/loggerhead/+bug/528194
  loggerhead.history.History.get_inventory() uses Repository.get_revision_inventory(), which was recently removed from bzr.dev (2.2.0b1). This breaks annotate, and presumably other things.

  OpenERP/trunk/openobject-client/6.0> sudo python setup.py install --prefix=/usr
  running install
  running bdist_egg
  running egg_info
  writing requirements to openerp_client.egg-info/requires.txt
  writing openerp_client.egg-info/PKG-INFO
  writing top-level names to openerp_client.egg-info/top_level.txt
  writing dependency_links to openerp_client.egg-info/dependency_links.txt
  writing requirements to openerp_client.egg-info/requires.txt
  writing openerp_client.egg-info/PKG-INFO
  writing top-level names to openerp_client.egg-info/top_level.txt
  writing dependency_links to openerp_client.egg-info/dependency_links.txt
  Traceback (most recent call last):
    File "setup.py", line 202, in <module>
      **complementary_arguments
    File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
      dist.run_commands()
    File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 76, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 96, in do_egg_install
    File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py", line 167, in run
    File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 177, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 252, in find_sources
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 306, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 333, in add_defaults
    File "build/bdist.linux-x86_64/egg/setuptools/command/sdist.py", line 45, in walk_revctrl
    File "build/bdist.linux-x86_64/egg/setuptools_bzr/__init__.py", line 94, in find_files_for_bzr
      
    File "build/bdist.linux-x86_64/egg/setuptools_bzr/__init__.py", line 66, in bzrlib_find_files_for_bzr
      
    File "build/bdist.linux-x86_64/egg/setuptools_bzr/__init__.py", line 50, in bzrlib_get_children
      
  AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_inventory'
  gass@tm8371-gf1:/sw/home/gass/OpenERP/trunk/openobject-client/6.0> sudo python setup.py install --prefix=/usr
  running install
  running bdist_egg
  running egg_info
  writing requirements to openerp_client.egg-info/requires.txt
  writing openerp_client.egg-info/PKG-INFO
  writing top-level names to openerp_client.egg-info/top_level.txt
  writing dependency_links to openerp_client.egg-info/dependency_links.txt
  writing requirements to openerp_client.egg-info/requires.txt
  writing openerp_client.egg-info/PKG-INFO
  writing top-level names to openerp_client.egg-info/top_level.txt
  writing dependency_links to openerp_client.egg-info/dependency_links.txt
  Traceback (most recent call last):
    File "setup.py", line 202, in <module>
      **complementary_arguments
    File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
      dist.run_commands()
    File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 76, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 96, in do_egg_install
    File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py", line 167, in run
    File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 177, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 252, in find_sources
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 306, in run
    File "build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py", line 333, in add_defaults
    File "build/bdist.linux-x86_64/egg/setuptools/command/sdist.py", line 45, in walk_revctrl
    File "build/bdist.linux-x86_64/egg/setuptools_bzr/__init__.py", line 94, in find_files_for_bzr
      
    File "build/bdist.linux-x86_64/egg/setuptools_bzr/__init__.py", line 66, in bzrlib_find_files_for_bzr
      
    File "build/bdist.linux-x86_64/egg/setuptools_bzr/__init__.py", line 50, in bzrlib_get_children
      
  AttributeError: 'CHKInventoryRepository' object has no attribute 'get_revision_inventory'


References