AttributeError: 'module' object has no attribute 'revision_status'

Bug #80240 reported by Marius Gedminas
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

I have bzr 0.14candidate1 and bzr-svn 0.3.

mg@pitonas:~ $ bzr st
Bzrtools is not up to date with installed bzr version 0.14.0candidate1.
There should be a newer version available, e.g. 0.14.
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'revision_status'

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 650, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 612, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 304, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 622, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 166, in run
    tree, file_list = tree_files(file_list)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 61, in tree_files
    return internal_tree_files(file_list, default_branch)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 85, in internal_tree_files
    return WorkingTree.open_containing(default_branch)[0], file_list
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line 350, in open_containing
    return control.open_workingtree(), relpath
  File "/home/mg/.bazaar/plugins/svn/checkout.py", line 603, in open_workingtree
    return SvnWorkingTree(self, self.local_path, self.open_branch())
  File "/home/mg/.bazaar/plugins/svn/checkout.py", line 72, in __init__
    status = svn.wc.revision_status(self.basedir, None, True, None, None)
AttributeError: 'module' object has no attribute 'revision_status'

bzr 0.14.0candidate1 on python 2.4.4.candidate.1 (linux2)
arguments: ['/usr/bin/bzr', 'st']

** please send this report to <email address hidden>

My ~ is a svn checkout:

mg@pitonas:~ $ svn info
Path: .
URL: svn+ssh://fridge/home/mg/svn/mg-home
Repository Root: svn+ssh://fridge/home/mg/svn/mg-home
Repository UUID: 4fc293c4-4eed-0310-a01a-b4ad72f90fad
Revision: 1036
Node Kind: directory
Schedule: normal
Last Changed Author: mg
Last Changed Rev: 1036
Last Changed Date: 2007-01-17 04:58:11 +0200 (Tr, 17 Sau 2007)
Properties Last Updated: 2007-01-17 04:57:58 +0200 (Tr, 17 Sau 2007)

So far I have not seen bzr-svn work anywhere.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 80240] AttributeError: 'module' object has no attribute 'revision_status'

  status confirmed

Looks like it's time to change the dependency on python-subversion to at
least 1.4.x.

Changed in bzr-svn:
status: Unconfirmed → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 80240] AttributeError: 'module' object has no attribute 'revision_status'

  status fixcommitted

bzr-svn will warn if an older version of python-subversion is being used
and will disable working tree support.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/

Changed in bzr-svn:
assignee: nobody → jelmer
status: Confirmed → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
importance: Undecided → High
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

fixed in 0.3.1

Changed in bzr-svn:
status: Fix Committed → Fix Released
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.