
Untitled
By: a guest on
Jul 18th, 2012 | syntax:
None | size: 1.00 KB | hits: 6 | expires: Never
python manage.py sync-collections
Syncing noc.sockets
Traceback (most recent call last):
File "manage.py", line 32, in <module>
execute_manager(settings)
File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/noc/contrib/lib/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/opt/noc/contrib/lib/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/opt/noc/inv/management/commands/sync-collections.py", line 71, in handle
data = JSONDecoder().decode(jf.read())
File "/opt/noc/contrib/lib/django/utils/simplejson/decoder.py", line 319, in __init__
self.scan_once = make_scanner(self)
AttributeError: 'JSONDecoder' object has no attribute 'object_pairs_hook'