I having some problems while getting gifs images. The log file is at the end. The problems seems to be this error:
pnmremap: Unable to open file 'palmgray2.map' for reading. fopen() returns errno 2 (No such file or director
y)
The file is installed in /usr/lib
How can I tell plucker or netpbm where the file is?
thanks in advance.
arturo
Processing http://www.cinemalaplata.com/imagenespel...../809resumen.gif...
checking http://www.cinemalaplata.com/imagenespeliculas/809resumen.gif[('alt', 'M\xe1s detalles'), ('bpp', 2)
, ('max_depth', 1), ('maxdepth', '1'), ('maxheight', None), ('maxwidth', None), ('new_max_depth', None), ('po
st_data', None), ('stay_below', None), ('stay_on_domain', None), ('stay_on_host', None), ('url', URL ('http:/
/www.cinemalaplata.com/imagenespeliculas/809resumen.gif'))]
doc_info is Server: Microsoft-IIS/5.0
Date: Mon, 02 May 2005 14:46:33 GMT
Content-Type: image/gif
Accept-Ranges: bytes
Last-Modified: Mon, 21 Feb 2005 03:27:25 GMT
ETag: "3a5743c517c51:8c7"
Content-Length: 9021
headers_dict is {'content-length': '9021', 'URL': 'http://www.cinemalaplata.com/imagenespeliculas/809resumen.
gif', 'accept-ranges': 'bytes', 'server': 'Microsoft-IIS/5.0', 'last-modified': 'Mon, 21 Feb 2005 03:27:25 GM
T', 'etag': '"3a5743c517c51:8c7"', 'date': 'Mon, 02 May 2005 14:46:33 GMT', 'content-type': 'image/gif'}
Retrieved ok.
Running: giftopnm > /tmp/tmp7agGnQ
desired_size of image is (94, 100, 2, None) with maxwidth=100, maxheight=100
Converting image http://www.cinemalaplata.com/imagenespeliculas/809resumen.gif with PyPlucker.ImageParser.New
NetPBMImageParser
Scaling original 103x109 image by 0.912621,0.917431 to 94x100x2
Running: pnmscale -width 94 -height 100 |ppmquant -map palmgray2.map|ppmtopgm|ppmtobmp -depth 2 -verbose >
/tmp/tmp7agGnQ
unrecognized option `-depth'
pnmremap: Unable to open file 'palmgray2.map' for reading. fopen() returns errno 2 (No such file or director
y)
pnmscale: Error writing single byte sample to file
Error: Unknown error parsing document http://www.cinemalaplata.com/imagenespeliculas/809resumen.gif:
Traceback (most recent call last):
File "/usr/lib/python/site-packages/PyPlucker/Parser.py", line 46, in generic_parser
return parsed.get_plucker_doc ()
File "/usr/lib/python/site-packages/PyPlucker/ImageParser.py", line 212, in get_plucker_doc
newbits = self.convert(width, height, depth, section)
File "/usr/lib/python/site-packages/PyPlucker/ImageParser.py", line 910, in convert
pipe.write(self._pnmdata)
IOError: [Errno 32] Broken pipe
Parsing failed.
_______________________________________________
plucker-list mailing list
[email protected]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

