← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 586581] Re: bzr_set.py launchpad error

 

Hello,

Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!

** Changed in: openobject-addons
       Status: New => Won't Fix

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

Status in OpenObject Addons Modules: Won't Fix

Bug description:
Hi.. I updated my laptop to the last ubuntu 10.04
Installed python2.6, last bazaar version and I just was trying to use the bzr_setup.py script but I obtain this error:

ana@ubuntu:~/openerp-bzr/openerp$ python bzr_set.py 
update branch of lp:~openerp-commiter/openobject-addons/stable_5.0-extra-addons into ./addons-extra
No handlers could be found for logger "bzr"
Traceback (most recent call last):
  File "bzr_set.py", line 146, in <module>
    update_openerp(dest_dir, opt.version, opt.lplogin, opt.export, opt.revision, not opt.quiet)
  File "bzr_set.py", line 109, in update_openerp
    cmd[status](bzrdir, local, rev and [rev] or None)
  File "bzr_set.py", line 72, in <lambda>
    'update': lambda u, l, r: run_cmd('pull', u, directory=l, overwrite=True, revision=r),
  File "bzr_set.py", line 20, in run_cmd
    return f.run(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1004, in run
    branch_to.lock_write()
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 2144, in lock_write
    return self.control_files.lock_write(token=token)
  File "/usr/lib/python2.6/dist-packages/bzrlib/lockable_files.py", line 193, in lock_write
    token_from_lock = self._lock.lock_write(token=token)
  File "/usr/lib/python2.6/dist-packages/bzrlib/lockdir.py", line 600, in lock_write
    return self.wait_lock()
  File "/usr/lib/python2.6/dist-packages/bzrlib/lockdir.py", line 568, in wait_lock
    raise LockContention(self)
bzrlib.errors.LockContention: Could not acquire lock "LockDir(file:///home/ana/openerp-bzr/openerp/addons-extra/.bzr/branch/lock)": 


If I just download a branch with bzr branch command It just works:
~/openerp-bzr/openerp$ bzr branch lp:openobject-addons/extra-5.0
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 4394 revision(s). 

Thank you very much:

Ana