I found the following thread in October 2002's plucker-list.
I've installed the Plucker 1.2 POSIX Package, the binary
package for linux. I confess I don't see which of the various
python scripts should be used to "explode" a zlib compressed doc.

>> Most of the docs I find on the web are zlib compressed. 
>> However my Palm cannot run zlib as it is running Palm OS 2.0 only.
>> Would anyone know how i can remove zlib compression from these
>> documents? Perhaps an 'uncompress' utility?

>       Use the "explode" tool in your Plucker source directory and re-pluck
> the files locally to build with DOC compression instead (or no compression).

I tried using plucker-dump(Decode.py) to unpack a pdb into the
cache directory, then tried plucker-decode(PluckerDocs.py) to
uncompress the files in the cache directory, e.g.

plucker-decode -d -z cache/1

and I always get a traceback like:

Processing cache/1...
Text Document header:
        number of paragraphs: 2 body size: 2    type: 0 (uncompressed text)
!!! Parsing cache/1 failed with an assertion error: Text document's
header says data size is 2 but it is 0
Traceback (innermost last):
  File "/usr/local/bin/plucker-decode", line 2055, in ?
    verbose=option['d'])
  File "/usr/local/bin/plucker-decode", line 1964, in
Undump_PluckerDocument
    pluckerdoc.undump_record (data, verbose)
  File "/usr/local/bin/plucker-decode", line 1343, in undump_record
    assert data_size == len (body), \
AssertionError: Text document's header says data size is 2 but it is 0

Clearly I've not figured out which tools to use or the order in which to
use them. I'd be grateful for a pointer.

Thanks,

Bill
-- 
Bill Barnard <[EMAIL PROTECTED]>

_______________________________________________
plucker-list mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Reply via email to