List Info

Thread: admin (svn) - global name 'set' is not defined




admin (svn) - global name 'set' is not defined
user name
2007-09-27 04:19:54
Hi group,

Is python 2.3.5 supported by svn?

After update to rev 6426 from 5891 got an error whe n trinyg
to logon
into admin interface as user
( admin work fine):

NameError at /admin/
global name 'set' is not defined
Request Method: 	GET
Request URL: 	http://127.0.0.1:8080/ad
min/
Exception Type: 	NameError
Exception Value: 	global name 'set' is not defined
Exception Location:
	/usr/lib/python2.3/site-packages/django/contrib/auth/backen
ds.py in
get_all_permissions, line 51
Python Executable: 	/usr/bin/python2.3
Python Version: 	2.3.5

Template error

In template
/usr/lib/python2.3/site-packages/django/contrib/admin/templa
tes/admin/index.html,
error at line 13
Caught an exception while rendering: global name 'set' is
not defined
3 	
4 	{% block stylesheet %}{% load adminmedia %}{%
admin_media_prefix
%}css/dashboard.css{% endblock %}
5 	{% block coltype %}colMS{% endblock %}
6 	{% block bodyclass %}dashboard{% endblock %}
7 	{% block breadcrumbs %}{% endblock %}
8 	{% block content %}
9 	<div id="content-main">
10 	
11 	{% load adminapplist %}
12 	
13 	{% get_admin_app_list as app_list %}

under python 2.4 work fine. The problem is  that I have some
other
software running on python 2.3.5 as well mod_python.

What would be the best way to sort it?

-- 
--
Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: admin (svn) - global name 'set' is not defined
user name
2007-09-27 05:56:27
On 9/27/07, Michael <michael.aucklandgmail.com> wrote:
>
> Hi group,
>
> Is python 2.3.5 supported by svn?

Python 2.3 is officially supported. However, occasionally
Python2.3
incompatible constructs accidentially slip in.

> under python 2.4 work fine. The problem is  that I have
some other
> software running on python 2.3.5 as well mod_python.
>
> What would be the best way to sort it?

Open a ticket reporting the error. If you're feeling
enthusiastic, you
could also try your hand at a patch. set related issues are
handled in
a number of places in Django's source; you should be able to
find an
example of the correct usage without too much trouble. Apply
that fix
to the file that is broken, and submit a diff to the
ticket.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: admin (svn) - global name 'set' is not defined
user name
2007-09-28 04:02:38
On 9/27/07, Russell Keith-Magee <freakboy3742gmail.com> wrote:
>
> On 9/27/07, Michael <michael.aucklandgmail.com> wrote:
> >
> > Hi group,
> >
> > Is python 2.3.5 supported by svn?
>
> Python 2.3 is officially supported. However,
occasionally Python2.3
> incompatible constructs accidentially slip in.
>
> > under python 2.4 work fine. The problem is  that I
have some other
> > software running on python 2.3.5 as well
mod_python.
> >
> > What would be the best way to sort it?
>
> Open a ticket reporting the error. If you're feeling
enthusiastic, you
> could also try your hand at a patch. set related issues
are handled in
> a number of places in Django's source; you should be
able to find an
> example of the correct usage without too much trouble.
Apply that fix
> to the file that is broken, and submit a diff to the
ticket.
>
> Yours,
> Russ Magee %-)
>
> >
>

Found at least revision where it has been broke: 6375 :

If anyone having the same problem - last working revision is
6374.

 until find and apply patch to fix this 



-- 
--
Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )