[Catalog-sig] [ANN] Prototype catalog server available
Martin v. Loewis
Sun, 25 Mar 2001 11:10:57 +0200
> I got inspired after looking at Sean's catalog server stuff, and have
> coded up a catalog server in Zope.
> You can upload source and binary packages and search and browse. The
> catalog expects PKG-INFO files in source distributions.
I'm getting the impression that this server does not conform to the
protocol proposed in PEP 243. I've tried uploading a file using
<FORM NAME="fileupload" METHOD="POST" ACTION="http://184.108.40.206:8080/archive/addArchiveForm"
<INPUT TYPE="file" NAME="distribution"><BR>
<INPUT TYPE="text" NAME="distmd5sum"><BR>
<INPUT TYPE="file" NAME="pkginfo"><BR>
<INPUT TYPE="text" NAME="infomd5sum"><BR>
<INPUT TYPE="text" NAME="platform"><BR>
<INPUT TYPE="text" NAME="signature"><BR>
<INPUT TYPE="hidden" NAME="protocol_version" VALUE="1"><BR>
<INPUT TYPE="SUBMIT" VALUE="Upload">
That is, I started Lynx, loaded this file, filled in the distribution
field, and initiated upload. In turn, I got a page with a 500 status
code, and the document
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: absolute_url
Traceback (innermost last):
File /home/amos/Trunk/lib/python/ZPublisher/Publish.py, line 223, in publish_
File /home/amos/Trunk/lib/python/ZPublisher/Publish.py, line 187, in publish
File /home/amos/Trunk/lib/python/Zope/__init__.py, line 221, in zpublisher_ex
File /home/amos/Trunk/lib/python/ZPublisher/Publish.py, line 162, in publish
File /home/amos/Trunk/lib/python/ZPublisher/BaseRequest.py, line 462, in trav
File /home/amos/Trunk/lib/python/Products/CMFCore/CookieCrumbler.py, line 229 (Object: ElementWithAttributes)
File /home/amos/Trunk/lib/python/Products/CMFCore/CookieCrumbler.py, line 260
, in getLoginURL
AttributeError: (see above)
Of course, my Lynx client did *not* submit any kind of cookie; sending
a cookie is not mandated in PEP 243.