'function' object has no attribute 'decode' in safe_unicode on MacPorts
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Bazaar Subversion Plugin |
Undecided
|
Unassigned | |||
Bug Description
I just installed the latest BaZaar from MacPorts and I got this traceback when I did a bzr rebase:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/opt/local/
return the_callable(*args, **kwargs)
File "/opt/local/
ret = run(*run_argv)
File "/opt/local/
return self.run(
File "/opt/local/
return self._operation
File "/opt/local/
self.cleanups, self.func, *args, **kwargs)
File "/opt/local/
result = func(*args, **kwargs)
File "/opt/local/
result = func(*args, **kwargs)
File "/opt/local/
upstream = Branch.
File "/opt/local/
return control.
File "/opt/local/
ignore_
File "/opt/local/
repos = self.find_
File "/opt/local/
return SvnRepository(self, transport, self.branch_path)
File "/opt/local/
self.
File "/opt/local/
locations = self.get_
File "/opt/local/
val = self._get_
File "/opt/local/
value = source(
File "/opt/local/
self.
File "/opt/local/
super(
File "/opt/local/
self.dir = osutils.
File "/opt/local/
return unicode_
AttributeError: 'function' object has no attribute 'decode'
bzr 2.3.1 on python 2.7.1 (Darwin-
arguments: ['/opt/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'
plugins:
bash_completion /opt/local/
launchpad /opt/local/
netrc_
news_merge /opt/local/
rewrite /opt/local/
svn /opt/local/
*** 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:/
including this traceback and a description of the problem.
I think it's something wrong inside the macPorts repository because if I use the Bazaar binaries from the official site works well
| Martin Pool (mbp) wrote : | #1 |
| summary: |
- Traceback with Bazaar from latest MacPorts + 'function' object has no attribute 'decode' in safe_unicode on MacPorts |
| affects: | bzr → bzr-svn |
| Martin Pool (mbp) wrote : | #2 |
Please see if you can reproduce this with bzr-svn 1.1.0.
| Changed in bzr-svn: | |
| status: | New → Incomplete |
| Martin Packman (gz) wrote : | #3 |
From the exiting bug, this will apparently be fixed in the next bzr-svn release, though it's not clear exactly what the problem is or which revision fixes it from the bug entry.
| arthur richards (awjrichards) wrote : | #4 |
This seems to still persist with the version of bzr-svn available in macports ( 1.0.4_1), which I believe is incompatible with the current version of bzr in macports (2.3.1). I rolled bzr back to what I had previously (2.2.3) as well as my version of bzr-svn (to 1.0.4_0) and that seemed to resolve the issue till bzr-svn 1.1.0 is stable/in macports.
| Jelmer Vernooij (jelmer) wrote : | #5 |
1.0.4 does not have this fix - the fix is currently just committed in trunk and will be in 1.1.0.

I'm guessing this may be a bzr-svn bug, or an inconsistency between bzr-svn and bzr itself. If you update bzr-svn it might go away.