Unsupported filter /LZWDecode
I got the above Error while trying to extractText() by iterating through the pages in a PDF document created with Acrobat Distiller.
Traceback: Original Traceback (most recent call last): File "/Users/ulo/.virtualenvs/zrbackend/src/django/django/template/debug.py", line 71, in render_node result = node.render(context) File "/Users/ulo/.virtualenvs/zrbackend/src/django/django/template/defaulttags.py", line 155, in render nodelist.append(node.render(context)) File "/Users/ulo/.virtualenvs/zrbackend/src/django/django/template/debug.py", line 87, in render output = force_unicode(self.filter_expression.resolve(context)) File "/Users/ulo/.virtualenvs/zrbackend/src/django/django/template/init.py", line 546, in resolve obj = self.var.resolve(context) File "/Users/ulo/.virtualenvs/zrbackend/src/django/django/template/init.py", line 687, in resolve value = self._resolve_lookup(context) File "/Users/ulo/.virtualenvs/zrbackend/src/django/django/template/init.py", line 722, in _resolve_lookup current = current() File "/Users/ulo/.virtualenvs/zrbackend/lib/python2.5/site-packages/pyPdf/pdf.py", line 1035, in extractText content = ContentStream(content, self.pdf) File "/Users/ulo/.virtualenvs/zrbackend/lib/python2.5/site-packages/pyPdf/pdf.py", line 1117, in init stream = StringIO(stream.getData()) File "/Users/ulo/.virtualenvs/zrbackend/lib/python2.5/site-packages/pyPdf/generic.py", line 636, in getData decoded._data = filters.decodeStreamData(self) File "/Users/ulo/.virtualenvs/zrbackend/lib/python2.5/site-packages/pyPdf/filters.py", line 237, in decodeStreamData raise NotImplementedError("unsupported filter %s" % filterType) NotImplementedError: unsupported filter /LZWDecode