Re: [Django] #10008: JSON Serializer throwing tracebacks

2009-01-11 Thread Django
#10008: JSON Serializer throwing tracebacks
+---
  Reporter:  erikcw | Owner:  nobody
Status:  closed | Milestone:
 Component:  Serialization  |   Version:  SVN   
Resolution:  duplicate  |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by kratorius):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => duplicate
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Duplicate of #10006.

-- 
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] #10008: JSON Serializer throwing tracebacks

2009-01-11 Thread Django
#10008: JSON Serializer throwing tracebacks
---+
 Reporter:  erikcw |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Serialization  | Version:  SVN   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 I just updated to r9729 and now I'm getting this:

 Traceback (most recent call last):
   File "./manage.py", line 11, in 
 execute_manager(settings)
   File "/usr/lib/python2.5/site-
 packages/django/core/management/__init__.py", line 340, in execute_manager
 utility.execute()
   File "/usr/lib/python2.5/site-
 packages/django/core/management/__init__.py", line 295, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
 line 195, in run_from_argv
 self.execute(*args, **options.__dict__)
   File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
 line 221, in execute
 self.validate()
   File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
 line 249, in validate
 num_errors = get_validation_errors(s, app)
   File "/usr/lib/python2.5/site-
 packages/django/core/management/validation.py", line 28, in
 get_validation_errors
 for (app_name, error) in get_app_errors().items():
   File "/usr/lib/python2.5/site-packages/django/db/models/loading.py",
 line 128, in get_app_errors
 self._populate()
   File "/usr/lib/python2.5/site-packages/django/db/models/loading.py",
 line 57, in _populate
 self.load_app(app_name, True)
   File "/usr/lib/python2.5/site-packages/django/db/models/loading.py",
 line 72, in load_app
 mod = __import__(app_name, {}, {}, ['models'])
   File "/home/lm/ytp/rr/models.py", line 9, in 
 from rr.utils import scrape
   File "/home/lm/ytp/rr/utils.py", line 42, in 
 from django.core.serializers.json import DateTimeAwareJSONEncoder
   File "/usr/lib/python2.5/site-packages/django/core/serializers/json.py",
 line 44, in 
 class DjangoJSONEncoder(simplejson.JSONEncoder):
 AttributeError: 'module' object has no attribute 'JSONEncoder'

-- 
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
-~--~~~~--~~--~--~---