AttributeError: 'BazaarObjectStore' object has no attribute 'get_graph_walker'

Asked by Aleksandr Smyshliaev

I am probably missing something obvious, but I cannot figure out a way to branch out of Git repository.

As far as I understand, this command should work:

  bzr branch git://github.com/jelmer/dulwich.git dulwich

Unfortunately, it produces the following error:

bzr: ERROR: exceptions.AttributeError: 'BazaarObjectStore' object has no attribute 'get_graph_walker'

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 930, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1121, in run_bzr
  File "bzrlib\commands.pyo", line 673, in run_argv_aliases
  File "bzrlib\commands.pyo", line 697, in run
  File "bzrlib\cleanup.pyo", line 136, in run_simple
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1507, in run
  File "C:/Program Files/Bazaar/plugins\git\dir.py", line 140, in sprout
  File "C:/Program Files/Bazaar/plugins\git\fetch.py", line 705, in fetch_objects
AttributeError: 'BazaarObjectStore' object has no attribute 'get_graph_walker'

bzr 2.6.0 on python 2.7.6 (Windows-7-6.1.7601-SP1)
arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'branch',
    'git://github.com/jelmer/dulwich.git', 'dulwich']
plugins: bzrtools[2.5.0], changelog_merge[2.6.0], colo[0.4.0],
    explorer[1.3.0], fastimport[0.14.0dev], git[0.6.12], launchpad[2.6.0],
    loom[2.3.0dev], netrc_credential_store[2.6.0], news_merge[2.6.0],
    pipeline[1.4.0], qbzr[0.23.1], rewrite[0.6.4dev], svn[1.2.3],
    upload[1.2.0dev], xmloutput[0.8.9]
encoding: 'cp1251', fsenc: 'mbcs', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

What should I do to fix this error?

Question information

Language:
English Edit question
Status:
Expired
For:
Bazaar Git Plugin Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Aleksandr Smyshliaev (a1s) said :
#2

Comments, anyone?

Revision history for this message
Paul "LeoNerd" Evans (leonerd) said :
#3

I seem to be getting that recently too, after an upgrade of some package or other (I don't know offhand which), but I know it used to work on my machine.

I suspect it's related to a version mismatch of something or other.. I'm mid-investigation now.

Revision history for this message
Paul "LeoNerd" Evans (leonerd) said :
#4

Initial investigation leads me to be more confused. I know from looking at github that my machine worked on 2013/Nov/25. Reading my apt log since then shows no updates to bzr, bzrlib, bzr-git, etc... between then and now. However, python-dulwich was updated from 0.9.1-1 to 0.9.4-1, so I wonder if that was it.

Revision history for this message
Aleksandr Smyshliaev (a1s) said :
#5
Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Johan Abbors (jabbors) said :
#7

I managed to get around it by installing an older version of dulwich to my local user path.

My setup:

bzr-git 0.6.12+bzr1629-1 all Bazaar plugin providing Git integration
python-dulwich 0.9.4-1 amd64 Python Git library

These are the commands I executed:

wget https://github.com/jelmer/dulwich/archive/dulwich-0.9.3.tar.gz
tar dulwich-0.9.3.tar.gz
cd dulwich-dulwich-0.9.3
python setup.py build
python setup.py install --user