[Zope] Exception raised by WebDAV GET of a PDF file

Jean Jordaan jean@upfrontsystems.co.za
Wed, 17 Apr 2002 14:40:54 +0200


Hi there

Has anyone else noticed any funnies when doing a WebDAV GET of a PDF?

I'm using sitecopy to make a local copy of a site. When this file
was reached::

 Downloading feko_usa/pdf/Feko_ShortCourse_April2002.pdf: [] failed:
 Could not read response body: connection timed out.

Zope stopped accepting connections. The above showed the following in
z2.log::

 Unhandled exception in thread:
 Traceback (most recent call last):
   File
"/usr/local/zope/2-4-3_for_diepdink/ZServer/PubCore/ZServerPublisher.py",
line 97, in __init__
   File "/usr/local/zope/2-4-3_for_diepdink/ZServer/HTTPResponse.py", line
273, in _finish
   File
"/usr/local/zope/2-4-3/lib/python/Products/WebDAVLogger/__init__.py", line
56, in mywrite
   File
"/usr/local/zope/2-4-3/lib/python/Products/WebDAVLogger/__init__.py", line
32, in _log
 TypeError: expected string or buffer

This happened twice .. but since the last Zope restart, sitecopy has
also run successfully twice, so I can't make it reproducable::

 Downloading feko_usa/pdf/Feko_ShortCourse_April2002.pdf:
[.......................] done.

(Zope 2.4.3 on Linux)

--
Jean Jordaan
Upfront Systems                         http://www.upfrontsystems.co.za