Traceback most recent call last File manage py line 11 in module execu

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/django/django/core/management/__init__.py", line 362, in execute_manager
utility.execute()
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/django/django/core/management/__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/django/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/django/django/core/management/base.py", line 222, in execute
output = self.handle(*args, **options)
File "/home/sevenov/dev/python/pic/src/picengine/apps/tags/management/commands/tagging.py", line 63, in handle
getattr(self, action)()
File "/home/sevenov/dev/python/pic/src/picengine/apps/tags/management/commands/tagging.py", line 112, in normalize_docs
print list(doc_list)
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/client.py", line 880, in __len__
return self.count()
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/client.py", line 814, in count
self._fetch_if_needed()
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/client.py", line 845, in _fetch_if_needed
self.fetch()
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/client.py", line 827, in fetch
self._result_cache = self.view._exec(**self.params)
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/client.py", line 925, in _exec
**params)
File "/home/sevenov/dev/python/pic/src/picengine/venv/lib/python2.6/site-packages/restkit/rest.py", line 205, in post
_stream=_stream, _stream_size=_stream_size, **params)
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/resource.py", line 163, in request
data = _make_request()
File "/home/sevenov/dev/python/pic/src/picengine/venv/src/couchdbkit/couchdbkit/resource.py", line 146, in _make_request
_stream_size=_stream_size, **params)
File "/home/sevenov/dev/python/pic/src/picengine/venv/lib/python2.6/site-packages/restkit/rest.py", line 235, in request
_stream_size=_stream_size, **params)
File "/home/sevenov/dev/python/pic/src/picengine/venv/lib/python2.6/site-packages/restkit/rest.py", line 462, in request
response=resp)
restkit.errors.RequestFailed: {"error":"incorrect_mime_type","reason":"application/octet-stream"}