Just a guess, but part of the problem might be that plucker-build doesn't seem to realize that it needs to divide the exit status by 256.

Also, you may want to run the same command manually, to see whatever errors the pngtopnm is yielding.  If it isn't clear what command is being run, you can likely get it with a system call tracer: http://dcs.nac.uci.edu/~strombrg/debugging-with-syscall-tracers.html


On Fri, 2005-04-22 at 14:55 -0300, Arturo Zambrano wrote:
Hello All,
I'm getting the following error when running  the parser.
I have checked the netpbm installation and it seems ok, I have also
used pngtopnm from command line and it works.
I can't figure out what's going wrong.

-----------------------------------
Processing file:/home/arturo/research/mtesis/tmp/tesis037.png...
   Retrieved ok.
Running:  pngtopnm > /tmp/tmpq_jZH3
Traceback (most recent call last):
   File "/usr/lib/python/site-packages/PyPlucker/ImageParser.py", line 
770, in __init__
     self._convert_to_pnm()
   File "/usr/lib/python/site-packages/PyPlucker/ImageParser.py", line 
812, in _convert_to_pnm
     raise RuntimeError("call to '" + command + "' returned status " + 
str(status))
RuntimeError: call to 'pngtopnm > /tmp/tmpq_jZH3' returned status 12288
Error:  Runtime error parsing document 
file:/home/arturo/research/mtesis/tmp/tesis037.png: Error while opening 
image file:/home/arturo/research/mtesis/tmp/tesis037.png with netpbm
   Parsing failed.


---------------------------------
Can someone give a piece of advice?

Thanks in advance


arturo
_______________________________________________
plucker-list mailing list
[email protected]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to