gco / rietveld

Automatically exported from code.google.com/p/rietveld
Apache License 2.0
0 stars 0 forks source link

TemplateSyntaxError at /repos #437

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
After I click the "Repositories" tab on the top(I'm signed in), the 500 error 
appears;
if I'm signed out, it seems normal.I can see the Repositories and Branches

3x a lot!

TemplateSyntaxError at /repos
Caught NoReverseMatch while rendering: Reverse for 
'codereview.views.login_wrapper' with arguments '(None,)' and keyword arguments 
'{}' not found.
Request Method: GET
Request URL:    http://10.255.253.17:8010/repos
Django Version: 1.2.7
Exception Type: TemplateSyntaxError
Exception Value:    
Caught NoReverseMatch while rendering: Reverse for 
'codereview.views.login_wrapper' with arguments '(None,)' and keyword arguments 
'{}' not found.
Exception 
Location:   /usr/local/lib/python2.7/site-packages/django/template/defaulttags.py 
in render, line 385
Python Executable:  /usr/local/bin/python
Python Version: 2.7.3
Python Path:    ['/home/wangyuqian/code_review/gae2django/rietveld', 
'/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', 
'/usr/local/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-x86_64.eg
g', '/usr/local/lib/python2.7/site-packages/tornado-2.0-py2.7.egg', 
'/usr/local/lib/python2.7/site-packages/lxml-2.3.6-py2.7-linux-x86_64.egg', 
'/usr/local/lib/python2.7/site-packages/openpyxl-1.6.1-py2.7.egg', 
'/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', 
'/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', 
'/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/site-packages']
Server time:    Mon, 8 Apr 2013 05:44:24 -0500

Please provide any additional information below.

Original issue reported on code.google.com by xMu...@gmail.com on 8 Apr 2013 at 10:51

GoogleCodeExporter commented 9 years ago
I'm not able to reproduce this issue. Could you provide more detailed steps how 
to reproduce this?

In addition it seems that you're using the gae2django module, chances are good 
that this bug is caused by the gae2django module and not Rietveld itself.

Original comment by albrecht.andi on 8 Apr 2013 at 11:52

GoogleCodeExporter commented 9 years ago
You are right.I'm using the gae2django module and I'm trying to build the 
rietveld on my own machine.

Now it is like this:
I'm signed in and click the 'Add Repository' and then add my first repository. 
If I fill in "Gae Key", "Gae parent ctype", "Gae parent id" and "Gae ancestry", 
it will rise the exception.
However, if I only fill in "Name" and "Url", it is normal.

I only change the default sqlite db to Mysql in the setting.py.

I use the Django1.2.7 and check out the gae2django from here: 
http://django-gae2django.googlecode.com/svn/trunk/gae2django

Thanks a lot!

Original comment by xMu...@gmail.com on 9 Apr 2013 at 3:52

GoogleCodeExporter commented 9 years ago
The "Gae *" fields shouldn't be displayed. I think it's not necessary to fill 
out these fields. But since this is a bug in gae2django I'm closing this issue 
here.

Original comment by albrecht.andi on 10 Apr 2013 at 11:35