Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-12-07 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  closed  | Milestone:  
 Component:  Core framework  |   Version:  SVN 
Resolution:  worksforme  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Comment (by anonymous):

 Replying to [comment:7 mertnuhoglu]:
 > Replying to [comment:6 kmtracey]:
 >
 > django 1.1.1 final version which is available for download in the
 website doesn't contain the lines that calculate DEFAULT_LOCALE_ENCODING.

 Yes, it does, really.  It contains exactly the code you can see on the
 website here:

 
http://code.djangoproject.com/browser/django/tags/releases/1.1.1/django/utils/encoding.py#L142

 I just downloaded a fresh copy, unpacked, and checked the file.  The code
 is there in the release file.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-12-07 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  closed  | Milestone:  
 Component:  Core framework  |   Version:  SVN 
Resolution:  worksforme  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Comment (by mertnuhoglu):

 Replying to [comment:6 kmtracey]:

 django 1.1.1 final version which is available for download in the website
 doesn't contain the lines that calculate DEFAULT_LOCALE_ENCODING.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-11-05 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  closed  | Milestone:  
 Component:  Core framework  |   Version:  SVN 
Resolution:  worksforme  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Comment (by yopi):

 Had the same issue when upgrading to 11724. The error is explicit tho,
 DEFAULT_LOCALE_ENCODING has to be set to UTF-8. I use mod_fastcgi with a
 socket so I could use:
 /usr/bin/env - \
   DEFAULT_LOCALE_ENCODING="UTF-8" \
   PYTHONPATH="../python:.." \
   ./manage.py runfcgi socket=$SOCKET pidfile=$PIDFILE maxrequests=1

 However, Django is making an assumption here about DEFAULT_LOCALE_ENCODING
 that wasn't made before. This is an unfortunate change that deserves a
 fix. There are no doubts that lots of user are uselessly reunning into
 that error.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-08-06 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  closed  | Milestone:  
 Component:  Core framework  |   Version:  SVN 
Resolution:  worksforme  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Changes (by Alex):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 No new information after 2 months, I'm going to close as worksforme.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-05-13 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  new | Milestone:  
 Component:  Core framework  |   Version:  SVN 
Resolution:  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Comment (by kmtracey):

 I saw this exception when I did an `svn up` of the code in use by a
 running dev server.  Restarting the dev server fixed it.  I assume you
 have tried restarting the server?  And verified that the code you are
 running has the definition of `DEFAULT_LOCALE_ENCODING` in the
 django/utils/encoding.py?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-05-12 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  new | Milestone:  
 Component:  Core framework  |   Version:  SVN 
Resolution:  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Changes (by awatts):

  * version:  1.0 => SVN

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11081: Page rendering fails after upgrading to r10703

2009-05-12 Thread Django
#11081: Page rendering fails after upgrading to r10703
-+--
  Reporter:  awatts  | Owner:  nobody  
Status:  new | Milestone:  
 Component:  Core framework  |   Version:  1.0 
Resolution:  |  Keywords:  getdefaultlocale mac
 Stage:  Unreviewed  | Has_patch:  0   
Needs_docs:  0   |   Needs_tests:  0   
Needs_better_patch:  0   |  
-+--
Changes (by awatts):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I just noticed that after that traceback there's a 2nd one:
 {{{
 #!python
 Original Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/debug.py", line 71, in render_node
 result = node.render(context)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/debug.py", line 87, in render
 output = force_unicode(self.filter_expression.resolve(context))
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/__init__.py", line 572, in resolve
 new_obj = func(obj, *arg_vals)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/defaultfilters.py", line 681, in date
 from django.utils.dateformat import format
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/utils/dateformat.py", line 18, in 
 from django.utils.tzinfo import LocalTimezone
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/utils/tzinfo.py", line 5, in 
 from django.utils.encoding import smart_unicode, smart_str,
 DEFAULT_LOCALE_ENCODING
 ImportError: cannot import name DEFAULT_LOCALE_ENCODING
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11081: Page rendering fails after upgrading to r10703

2009-05-12 Thread Django
#11081: Page rendering fails after upgrading to r10703
--+-
 Reporter:  awatts|   Owner:  nobody
   Status:  new   |   Milestone:
Component:  Core framework| Version:  1.0   
 Keywords:  getdefaultlocale mac  |   Stage:  Unreviewed
Has_patch:  0 |  
--+-
 I did and svn update the other day and the changes made in
 source:/django/trunk/django/utils/encoding.py in changeset:10703 to fix
 ticket:10335 seems to be causing all template renderings to fail for me
 with a traceback like the following:

 {{{
 #!python
 Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/servers/basehttp.py", line 278, in run
 self.result = application(self.environ, self.start_response)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/servers/basehttp.py", line 636, in __call__
 return self.application(environ, start_response)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/handlers/wsgi.py", line 241, in __call__
 response = self.get_response(request)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/handlers/base.py", line 134, in get_response
 return self.handle_uncaught_exception(request, resolver, exc_info)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/handlers/base.py", line 154, in
 handle_uncaught_exception
 return debug.technical_500_response(request, *exc_info)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/views/debug.py", line 40, in technical_500_response
 html = reporter.get_traceback_html()
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/views/debug.py", line 114, in get_traceback_html
 return t.render(c)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/__init__.py", line 178, in render
 return self.nodelist.render(context)
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/__init__.py", line 779, in render
 bits.append(self.render_node(node, context))
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/template/debug.py", line 81, in render_node
 raise wrapped
 TemplateSyntaxError: Caught an exception while rendering: cannot import
 name DEFAULT_LOCALE_ENCODING
 }}}

 I'm running MacOS X 10.5.6 with Python 2.6 and using the SVN version of
 Django.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---