Advertisement
Guest User

Untitled

a guest
Aug 17th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. Osm2pgsql took 513s overall
  2. Traceback (most recent call last):
  3. File "manage.py", line 41, in <module>
  4. execute_manager(settings)
  5. File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 438, in execute_manager
  6. utility.execute()
  7. File "/opt/noc/contrib/lib/django/core/management/__init__.py", line 379, in execute
  8. self.fetch_command(subcommand).run_from_argv(self.argv)
  9. File "/opt/noc/contrib/lib/django/core/management/base.py", line 191, in run_from_argv
  10. self.execute(*args, **options.__dict__)
  11. File "/opt/noc/contrib/lib/django/core/management/base.py", line 220, in execute
  12. output = self.handle(*args, **options)
  13. File "/opt/noc/gis/management/commands/import-osm-data.py", line 95, in handle
  14. a = Area.objects.filter(name=options["area"]).first()
  15. File "/opt/noc/contrib/lib/mongoengine-0.6.1-py2.6.egg/mongoengine/queryset.py", line 822, in first
  16. result = self[0]
  17. File "/opt/noc/contrib/lib/mongoengine-0.6.1-py2.6.egg/mongoengine/queryset.py", line 1095, in __getitem__
  18. return self._document._from_son(self._cursor[key])
  19. File "/opt/noc/contrib/lib/mongoengine-0.6.1-py2.6.egg/mongoengine/queryset.py", line 563, in _cursor
  20. self._cursor_obj = self._collection.find(self._query,
  21. File "/opt/noc/contrib/lib/mongoengine-0.6.1-py2.6.egg/mongoengine/queryset.py", line 544, in _collection
  22. background=background, **index_opts)
  23. File "/usr/local/lib/python2.6/dist-packages/pymongo-2.2.1-py2.6-linux-x86_64.egg/pymongo/collection.py", line 783, in ensure_index
  24. return self.create_index(key_or_list, ttl, **kwargs)
  25. File "/usr/local/lib/python2.6/dist-packages/pymongo-2.2.1-py2.6-linux-x86_64.egg/pymongo/collection.py", line 704, in create_index
  26. safe=True)
  27. File "/usr/local/lib/python2.6/dist-packages/pymongo-2.2.1-py2.6-linux-x86_64.egg/pymongo/collection.py", line 306, in insert
  28. continue_on_error, self.__uuid_subtype), safe)
  29. File "/usr/local/lib/python2.6/dist-packages/pymongo-2.2.1-py2.6-linux-x86_64.egg/pymongo/connection.py", line 742, in _send_message
  30. rv = self.__check_response_to_last_error(response)
  31. File "/usr/local/lib/python2.6/dist-packages/pymongo-2.2.1-py2.6-linux-x86_64.egg/pymongo/connection.py", line 693, in __check_response_to_last_error
  32. raise OperationFailure(error["err"])
  33. pymongo.errors.OperationFailure: in > 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement