Package: bzr-tweet
Version: 1.3.0-1
Severity: serious
Tags: upstream
It looks like bzr-tweet doesn't deal well with newer versions of the Bazaar
credentials API:
bzr: ERROR: exceptions.TypeError: 'NoneType' object has no attribute
'__getitem__'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in
exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in
run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in
run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in
run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in
_do_with_cleanups
result = func(*args, **kwargs)
File "/home/jelmer/.bazaar/plugins/tweet/cmds.py", line 104, in run
twitter_consumer_sec)
File "/home/jelmer/.bazaar/plugins/tweet/cmds.py", line 57, in auth
owner_key = credentials.get("oauth_token")[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
bzr 2.8.0dev1 on python 2.7.15 (Linux-4.18.0-1-amd64-x86_64-with-debian-
buster-sid)
arguments: ['/usr/bin/bzr', 'tweet-auth']
plugins: bash_completion[2.8.0dev1], builddeb[2.8.6], bzrtools[2.6.0],
changelog_merge[2.8.0dev1], fastimport[0.14.0dev], grep[2.8.0dev1],
launchpad[2.8.0dev1], netrc_credential_store[2.8.0dev1],
news_merge[2.8.0dev1], po_merge[2.8.0dev1], tweet[1.3.0],
weave_fmt[2.8.0dev1], webdav[2.5.0]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
*** 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.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bzr-tweet depends on:
pn bzr <none>
ii python 2.7.15-3
pn python-twitter <none>
bzr-tweet recommends no packages.
bzr-tweet suggests no packages.