AttributeError: 'NoneType' object has no attribute 'cmdline_overrides'

Bug #917733 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Vincent Ladeuil
Tarmac
Invalid
Medium
dobey

Bug Description

Using tarmac with precise, I'm getting:

nessita@dali:~$ tarmac merge lp:magicicada --debug
Traceback (most recent call last):
  File "/home/software/tarmac/bin/tarmac", line 6, in <module>
    main()
  File "/home/software/tarmac/tarmac/bin/__init__.py", line 30, in main
    registry.run(args)
  File "/home/software/tarmac/tarmac/bin/registry.py", line 60, in run
    self._run(args)
  File "/home/software/tarmac/tarmac/bin/registry.py", line 48, in _run
    run_bzr(args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1074, in run_bzr
    bzrlib.global_state.cmdline_overrides._from_cmdline(override_config)
AttributeError: 'NoneType' object has no attribute 'cmdline_overrides'
nessita@dali:~$

Related branches

dobey (dobey)
Changed in tarmac:
assignee: nobody → Rodney Dawes (dobey)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This should also be fixed with newer versions of bzr (2.5b5)

Revision history for this message
dobey (dobey) wrote :

Jelmer, I reliably get the error in the tarmac test suite with bzr 2.5b5. The branch I linked fixes this, though I am not sure if it works with older versions of bzr on older versions of Ubuntu, yet. Also, there are a couple of messages getting printed to the console during the tests, which concern me, and which I want to resolve before saying it's ready to land and proposing it.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Sorry, I was thinking of bug 863401 which is very similar but in a different part of the code.

Changed in bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
status: New → In Progress
importance: Undecided → High
milestone: none → 2.5.0
Vincent Ladeuil (vila)
Changed in bzr:
assignee: Jelmer Vernooij (jelmer) → Vincent Ladeuil (vila)
Vincent Ladeuil (vila)
Changed in bzr:
status: In Progress → Fix Released
Vincent Ladeuil (vila)
Changed in bzr:
milestone: 2.5.0 → 2.5b6
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Could b6 be uploaded to oneiric? I'm also hitting this problem in the test suite of another project that uses bzr.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Sorry, I meant precise. The bzr beta ppa only has packages up to beta2.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 917733] Re: AttributeError: 'NoneType' object has no attribute 'cmdline_overrides'

On 02/24/2012 01:43 AM, Andreas Hasenack wrote:
> Sorry, I meant precise. The bzr beta ppa only has packages up to beta2.
2.5.0 final has just been released, I'm going to upload it to precise today.

Cheers,

Jelmer

dobey (dobey)
Changed in tarmac:
status: In Progress → Invalid
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.