On Sat, 26 Feb 2011 19:13:16 -0000, Max Bowsher <email address hidden> wrote:
> Examples of the interesting tracebacks:
>
> File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/util.py", line 671, in guess_build_type
> version_native = (not version.debian_revision)
> AttributeError: 'Version' object has no attribute 'debian_revision'
That's odd. I'm pretty sure that debian_revision has always been an
attribute.
> File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/tests/test_upstream.py", line 390, in test_new_tagged_release
> _upstream_branch_version(self.revhistory, {"somerevid": [u"1.3"]}, "bla", "1.2", self.get_suffix))
> File "/usr/lib/pymodules/python2.6/bzrlib/tests/__init__.py", line 1218, in assertEqual
> if a == b:
> File "/usr/lib/pymodules/python2.6/debian_bundle/debian_support.py", line 81, in __cmp__
> return apt_pkg.VersionCompare(self.__asString, other.__asString)
> AttributeError: 'str' object has no attribute '_Version__asString'
That looks more clear cut. It's probably missing a ".upstream_version"
on a somewhere.
On Sat, 26 Feb 2011 19:13:16 -0000, Max Bowsher <email address hidden> wrote: buildd/ bzr-builddeb- 2.6+bzr526. 527~lucid1/ util.py" , line 671, in guess_build_type debian_ revision)
> Examples of the interesting tracebacks:
>
> File "/build/
> version_native = (not version.
> AttributeError: 'Version' object has no attribute 'debian_revision'
That's odd. I'm pretty sure that debian_revision has always been an
attribute.
> File "/build/ buildd/ bzr-builddeb- 2.6+bzr526. 527~lucid1/ tests/test_ upstream. py", line 390, in test_new_ tagged_ release branch_ version( self.revhistory , {"somerevid": [u"1.3"]}, "bla", "1.2", self.get_suffix)) pymodules/ python2. 6/bzrlib/ tests/_ _init__ .py", line 1218, in assertEqual pymodules/ python2. 6/debian_ bundle/ debian_ support. py", line 81, in __cmp__ VersionCompare( self.__ asString, other.__asString) _asString'
> _upstream_
> File "/usr/lib/
> if a == b:
> File "/usr/lib/
> return apt_pkg.
> AttributeError: 'str' object has no attribute '_Version_
That looks more clear cut. It's probably missing a ".upstream_version"
on a somewhere.
Thanks,
James