Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 18th, 2012  |  syntax: None  |  size: 1.00 KB  |  hits: 6  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. python manage.py sync-collections
  2. Syncing noc.sockets
  3. Traceback (most recent call last):
  4.   File "manage.py", line 32, in <module>
  5.     execute_manager(settings)
  6.   File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 438, in execute_manager
  7.     utility.execute()
  8.   File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 379, in execute
  9.     self.fetch_command(subcommand).run_from_argv(self.argv)
  10.   File "/opt/noc/contrib/lib/django/core/management/base.py", line 191, in run_from_argv
  11.     self.execute(*args, **options.__dict__)
  12.   File "/opt/noc/contrib/lib/django/core/management/base.py", line 220, in execute
  13.     output = self.handle(*args, **options)
  14.   File "/opt/noc/inv/management/commands/sync-collections.py", line 71, in handle
  15.     data = JSONDecoder().decode(jf.read())
  16.   File "/opt/noc/contrib/lib/django/utils/simplejson/decoder.py", line 319, in __init__
  17.     self.scan_once = make_scanner(self)
  18. AttributeError: 'JSONDecoder' object has no attribute 'object_pairs_hook'