Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 16, 2005 16:02:47

Bryan M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

svn up, admin has stopped working


Hi,

I did an svn up last night and now the admin interface doesn't work.
Here is the error I'm getting:

TemplateSyntaxError at /ctm/admin/
'block' tag with name 'userlinks' appears more than once
Request Method: GET
Request URL: <url>
Exception Type: TemplateSyntaxError
Exception Value: 'block' tag with name 'userlinks' appears more than once
Exception Location:
/usr/lib/python2.4/site-packages/django/core/template/loader.py in
do_block, line 174

I can give you a url to see the whole traceback if that'll help.

Bryan

Offline

#2 Nov. 16, 2005 16:08:21

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

svn up, admin has stopped working


On 11/16/05, Bryan Murdock <> wrote:
> I did an svn up last night and now the admin interface doesn't work.
> Here is the error I'm getting:

Hey Bryan,

Are you using the new-admin branch? I can't recreate this error using trunk.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

#3 Nov. 16, 2005 16:15:14

Bryan M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

svn up, admin has stopped working


On 11/16/05, Adrian Holovaty <> wrote:
>
> On 11/16/05, Bryan Murdock <> wrote:
> > I did an svn up last night and now the admin interface doesn't work.
> > Here is the error I'm getting:
>
> Hey Bryan,
>
> Are you using the new-admin branch? I can't recreate this error using trunk.

Not that I know of. I originally checkout the django code back on
September 17. I've done about three svn ups since then, most recently
last night. Before that I svn upped just after the backwards
incompatible changes to admin, changed my code and database and all
that, and that all worked fine.

I just started a new project from scratch and I still get the same error.

Bryan

Offline

#4 Nov. 17, 2005 05:36:51

Bryan M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

svn up, admin has stopped working


On 11/16/05, Bryan Murdock <> wrote:
> On 11/16/05, Adrian Holovaty <> wrote:
> >
> > On 11/16/05, Bryan Murdock <> wrote:
> > > I did an svn up last night and now the admin interface doesn't work.
> > > Here is the error I'm getting:
> >
> > Hey Bryan,
> >
> > Are you using the new-admin branch? I can't recreate this error using trunk.
>
> Not that I know of. I originally checkout the django code back on
> September 17. I've done about three svn ups since then, most recently
> last night. Before that I svn upped just after the backwards
> incompatible changes to admin, changed my code and database and all
> that, and that all worked fine.
>
> I just started a new project from scratch and I still get the same error.

OK, I found it. In django/contrib/admin/templates/admin/base.html I have this:

{% if not user.is_anonymous %}
<<<<<<< .mine
<div id="user-tools">Welcome, <strong>{% if user.first_name
%}{{ user.first_name }}{% else %}{{ user.username }}{% endif
%}</strong>. <br />{% block userlinks %}<a
href="password_change/">Change password</a> / <a href="logout/">Log
out</a>{% endblock %}</div>
=======
<div id="user-tools">{% trans 'Welcome,' %} <strong>{% if
user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{%
endif %}</strong>. <br />{% block userlinks %}<a
href="/admin/password_change/">{% trans 'Change password' %}</a> / <a
href="/admin/logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
>>>>>>> .r1263
{% endif %}

Um, yeah, gotta love cvs, oh, I mean subversion. I got it working now.

Bryan

Offline

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support