1642: Non-intuitive error message when typoing a git repo path

Karr*****@gmai***** (Google Code) (Is this you? Claim this profile.)
March 21, 2011
What version are you running?
ReviewBoard 1.5beta1

What's the URL of the page containing the problem?
Admin interface

What steps will reproduce the problem?
1. Create a new git repository
2. Enter a nonexistent path in the Path: box

What is the expected output? What do you see instead?
I would expect to see "No such directory" or at least "Not a git repository".

What I actually see in the red error bar:
<django.utils.functional.__proxy__ object at 0x2af2d3efbb10>

What operating system are you using? What browser?
ReviewBoard server: Red Hat Enterprise Linux 5
Client: Firefox 3.6.3 on Fedora 13

Please provide any additional information below.
It was very difficult to determine what the actual error was. I only
realized by accident that I was mistyping the path.
chipx86
#1 chipx86
What version of Django is on there? I can't reproduce this problem.
  • +NeedInfo
#2 Karr*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Django 1.1.1, python-djblets 0.5.9
django-evolution 0.0 svn r164
Python 2.4.3
#3 Karr*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Specifically, I entered /srv/git/rhq.git when the correct path would have been
/srv/git/rhq/rhq.git

I don't know if that makes a difference.
david
#4 david
  • +Component-Admin
david
#5 david
I used to see this a lot with django 1.1 but haven't seen it with newer releases.
  • -NeedInfo
    +ThirdParty