git-review broken on Ubuntu+ARM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-review |
Invalid
|
Undecided
|
Unassigned | ||
git-review (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have already reported this in Wikimedia bug tracker, but looks like this is the better place to report the problem:
https:/
I am following git-review installation instructions for Debian[1]. Everything
works fine until I try to use git-review.
$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo easy_install pip
Searching for pip
Best match: pip 1.0
Adding pip 1.0 to easy-install.pth file
Installing pip script to /usr/local/bin
Using /usr/lib/
Processing dependencies for pip
Finished processing dependencies for pip
$ sudo pip install git-review
Requirement already satisfied (use --upgrade to upgrade): git-review in
/usr/local/
Requirement already satisfied (use --upgrade to upgrade): argparse in
/usr/lib/python2.7 (from git-review)
Cleaning up...
$ which git-review
/usr/local/
$ git remote -v
origin ssh://<email address hidden>
origin ssh://<email address hidden>
$ git review -s
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
needs_update = latest_is_newer()
File "/usr/local/
if not configParser.
File "/usr/lib/
v = self.get(section, option)
File "/usr/lib/
raise NoSectionError(
ConfigParser.
$ git review -vs
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
needs_update = latest_is_newer()
File "/usr/local/
if not configParser.
File "/usr/lib/
v = self.get(section, option)
File "/usr/lib/
raise NoSectionError(
ConfigParser.
(precise)
$ git review -d 74128
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
needs_update = latest_is_newer()
File "/usr/local/
if not configParser.
File "/usr/lib/
v = self.get(section, option)
File "/usr/lib/
raise NoSectionError(
ConfigParser.
Could the problem be that the machine has ARM processor?
Environment:
Samsung Chromebook[2]
$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="12.04.3 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.3 LTS)"
VERSION_ID="12.04"
$ uname -a
Linux localhost 3.4.0 #1 SMP Thu Sep 12 16:20:20 PDT 2013 armv7l armv7l armv7l
GNU/Linux
$ git review --version
git-review version 1.23
--
1: http://
2: https:/
Changed in git-review: | |
assignee: | nobody → Jeremy Stanley (fungi) |
importance: | Undecided → Medium |
status: | New → Triaged |
The line of code where this exception is originating is https:/ /git.openstack. org/cgit/ openstack- infra/git- review/ tree/git- review? id=1.23# n179 which is saying that you have a /etc/git- review/ git-review. conf file with no "updates" section. Normally git-review shouldn't need a global configuration file (not sure how you wound up with one--maybe installing an older distribution package and then using pip to install a newer git-review?). You can try removing or correcting that file, but you might want to make sure that you uninstall and purge any old git-review you may have installed using apt-get as well.