Re: [Zope] uncatalog of absent id?

2000-07-14 Thread R. David Murray

On Thu, 13 Jul 2000, Nitesh Dhanjani wrote:
 Im fairly new to the Zope world. Im trying to delete a PTK folder, and get
 this error:
 
   Zope Error
 Zope has encountered an error while publishing this resource. 
 
 Error Type: ValueError
 Error Value: Uncatalog of absent id '/icds/Members/bob/index_html'

This means you are trying to delete a CatalogAware object that was
not entered into the catalog.  (Some have argued that this is a
but, some a feature).  To get around it, you can probably just
call the URL

/icds/Members/bob/index_html/index_object

and then do the delete.

--RDM


___
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] uncatalog of absent id?

2000-07-14 Thread Bill Anderson

"R. David Murray" wrote:
 
 On Thu, 13 Jul 2000, Nitesh Dhanjani wrote:
  Im fairly new to the Zope world. Im trying to delete a PTK folder, and get
  this error:
 
Zope Error
  Zope has encountered an error while publishing this resource.
 
  Error Type: ValueError
  Error Value: Uncatalog of absent id '/icds/Members/bob/index_html'
 
 This means you are trying to delete a CatalogAware object that was
 not entered into the catalog.  (Some have argued that this is a
 but, some a feature).  To get around it, you can probably just
 call the URL
 
 /icds/Members/bob/index_html/index_object
 
 and then do the delete.


If that fails:
http://www.zope.org/Members/Bill/Documentation/CatalogBadness

You could also delete the Catalog, delete the Item, and Undo the Catalog
Deletion. This has worked well for me in the past.

YMMV

Bill

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
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] uncatalog of absent id?

2000-07-13 Thread Nitesh Dhanjani


Hello,

Im fairly new to the Zope world. Im trying to delete a PTK folder, and get
this error:

  Zope Error
Zope has encountered an error while publishing this resource. 

Error Type: ValueError
Error Value: Uncatalog of absent id '/icds/Members/bob/index_html'





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 /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
  File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 179,
in publish
  File /usr/local/zope/2.1.7/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 165,
in publish
  File /usr/local/zope/2.1.7/lib/python/ZPublisher/mapply.py, line 160, in
mapply
(Object: manage_delObjects)
  File /usr/local/zope/2.1.7/lib/python/ZPublisher/Publish.py, line 102,
in call_object
(Object: manage_delObjects)
  File /usr/local/zope/2.1.7/lib/python/OFS/ObjectManager.py, line 401, in
manage_delObjects
(Object: ApplicationDefaultPermissions)
  File /usr/local/zope/2.1.7/lib/python/OFS/ObjectManager.py, line 273, in
_delObject
(Object: ApplicationDefaultPermissions)
  File /usr/local/zope/2.1.7/lib/python/OFS/ObjectManager.py, line 268, in
manage_beforeDelete
(Object: DemoPortalBase)
  File /usr/local/zope/2.1.7/lib/python/OFS/ObjectManager.py, line 268, in
manage_beforeDelete
(Object: ElementWithAttributes)
  File /usr/local/zope/2.1.7/lib/python/OFS/ObjectManager.py, line 268, in
manage_beforeDelete
(Object: ElementWithAttributes)
  File /usr/local/zope/2.1.7/lib/python/Products/PTKBase/PortalContent.py,
line 226, in manage_beforeDelete
(Object: index_html)
  File /usr/local/zope/2.1.7/lib/python/Products/PTKBase/PortalContent.py,
line 213, in unindex_object
(Object: index_html)
  File /usr/local/zope/2.1.7/lib/python/Products/ZCatalog/ZCatalog.py,
line 358, in uncatalog_object
(Object: ElementWithAttributes)
  File /usr/local/zope/2.1.7/lib/python/Products/ZCatalog/Catalog.py, line
373, in uncatalogObject
ValueError: (see above)



Any suggestions would be appreciated.

Thankyou.
nitesh.


___
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 )