[Zope] Acquisition loops and web robots

2001-01-11 Thread Andrews, Martin

I have run into several cases where authors at our site have accidentally
employed acquisition to link documents in such a way that an infinite tree
of URLS are possible - for example:

/a/foo contains a link to "b/bar"
/b/bar contains a link to "a/foo"

This really causes a problem with our web indexer (htdig) hits the site and
indexes pages like:

/a/b/a/b/a/b/a/b/a/b/a/b ... a/foo

Has anyone found a way to avoid these sort of problems - other then just not
indexing zope sites? I already limit htdig with the max_hop_count setting,
but that it tricky to tune correctly (and still index all valid files).

Martin

---
Martin Andrews
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Still have error importing DemoPortal.zexp with PTK 0.9.2

2000-11-22 Thread Andrews, Martin

I am trying to install PPT 0.9.2. After installing PythonMethod from CVS I
am still getting an error when trying to import DemoPortal.zexp. Any clues?


  Zope Error

  Zope has encountered an error while publishing this resource. 

  Error Type: SystemError
  Error Value: Failed to import class AnObject from module
  Products.PythonMethod.PythonMethod



  Troubleshooting Suggestions

  The URL may be incorrect. 
  The parameters passed to this resource may be incorrect. 
  A resource that this resource relies on may be encountering an
error. 

  For more detailed information about the error, please refer to the
HTML source for
  this page. 

  If the error persists please contact the site maintainer. Thank
you for your patience. 


Traceback (innermost last):
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
(Object: Traversable)
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: manage_importObject)
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: manage_importObject)
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/OFS/ObjectManager.py, line
519, in manage_importObject
(Object: Traversable)
  File /tmp/makeme23613/Zope-2.2.2-src/lib/python/ZODB/ExportImport.py, line
208, in importFile
SystemError: (see above)


---
Martin Andrews
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] GUF, ZODB, and 2.2.2

2000-11-01 Thread Andrews, Martin

I am not using the ZODB as the backend, but I did have to patch GUF to get
it to work with zope 2.2.2. Caveat emptor: I have no idea if this patch is
really correct, I pretty much stole the little piece of code from
LoginManage (which has a similar disclaimer).

Martin Andrews

 -Original Message-
 From: Jason Byron [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 18, 2000 11:58 AM
 To: [EMAIL PROTECTED]
 Subject: [Zope] GUF, ZODB, and 2.2.2
 
 
 Has anyone had luck getting GUF to work using ZODB to
 store the user info, and Zope version 2.2.2 (no hot
 fixes)?
 


 guf-getuserbyid.patch


[Zope] Hotfix_2000-10-02 - fails with GUF and zope 2.2.2

2000-10-04 Thread Andrews, Martin

When I have the 2000-10-02 hotfix installed I can no longer authenticate to
zope. I fails with the attached message (Error Type: AttributeError, Error
Value: editabsolute_url). I am guessing the problem is related to the fact
that I am using GUF 1.2.4 (patched to have the getUserById() method). Any
ideas?

Martin
[EMAIL PROTECTED]


 zope.err