git-review crashes when using it with Python 2 (not with Python 3)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-review |
Fix Released
|
High
|
Matthieu Baerts | ||
git-review (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
git-review crashes when using it with Python 2 (the default one in Ubuntu 14.04):
$ git-review
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
(status, output) = run_command_
File "/usr/bin/
argv = shlex.split(
UnicodeEnco
No problem when using it with Python 3:
$ python3 /usr/bin/git-review
remote: Resolving deltas: 100% (14/14)
remote: Processing changes: new: 1, refs: 1, done
(...)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: git-review 1.23-1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 15 14:51:18 2014
InstallationDate: Installed on 2011-08-10 (978 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
PackageArchitec
SourcePackage: git-review
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: patch |
tags: | removed: amd64 |
Changed in git-review: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
Changed in git-review: | |
importance: | Undecided → High |
assignee: | nobody → Matthieu Baerts (matttbe) |
status: | Fix Committed → Fix Released |
This patch fixes this bug for me (tested with python 2 and python 3).
I just uploaded a new version of this package on my PPA, maybe it can be useful for someone else: https:/ /launchpad. net/~matttbe/ +archive/ ppa/+build/ 5920430
I'm going to report this bug upstream too.