Hi!

I am trying to run a external python script. Now I am facing a problem
that occurs only when I run the script via Zope.

...
import os,tarfile
...
 tar = tarfile.open(oname,"r:gz")
 for itar in tar:
  tar.extract(itar.name,jobdir)

gives me:
Site Error

An error was encountered while publishing this resource.

Error Type: IOError
Error Value: CRC check failed

If I comment the for loop my scripts finish well, but then it does not
uncompress the file.

Please, any help would very appreciated. Many thanks in advance,

Cheers,
Alan


--
Alan Wilter S. da Silva, D.Sc. - Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
http://www.bio.cam.ac.uk/~awd28<<
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to