English 中文(简体)
Zope / Plone 3 product uninstsall issue
原标题:

Hey all, I uninstalled a content type that I d previously added and afterward I m still getting a warning of

2010-01-06 22:43:50 WARNING OFS.Uninstalled Could not import class  myclass

from module ns.archetype_name.content.content_type_name

It isn t resulting in obvious problems, but it concerns me since I thought I d uninstalled it properly, and cannot find any place where I left a trace of it. I ve restarted the server, re-run buildout, and everything else I can think to try to get rid of that message, to no avail.

I read online that this warning is an indication that the Data.fs is out of sync with the packages, in question, and that I should re-install the missing packages. I did that, and the error went away, but I d really like to get rid of both the error and the content type in question.

Thanks! Paul

最佳回答

It appears to me that the issue here was that there was content of that type on the portal; and so uninstalling hte package basically orphaned those items, causing that error.

问题回答

You can try the following:

  • Uninstall, remove, buildout.
  • Go to ZMI at the zope root, Control Panel, Products. See if the the product is listed. Remove it.
  • Restart.

This will likely make the annoyance disappear and if the product was providing simple content types should be enough. However you should check for funky left-overs such as persistent utils.

A good tool to help you find out what s going on if you still run into trouble is zodbupdate. IIRC the latest version will only run on python 2.6, you should use the earlier ones.





相关问题
How to go from uml to app in zope (plone)

I have watched this keynote that talk about develop an app based on an UML model, but I can t find any tutorial or docs about it. Do you know any tutorial or documentation to help me? thanks

Install Plone egg as a Python module on Windows

I have a Plone site (Plone version 3.1.2) that I need to install a product called GrufSpaces on - (http://plone.org/products/grufspaces). However, it is a production site and so I can t easily take it ...

Plone with Apache Proxy

I have a plone zinstance set up through Apache Proxy on OS X Server 10.5. The server is set up with a single vhost on port 80, with Proxy & Proxypass directives to the Plone zinstance: ...

Zope / Plone 3 product uninstsall issue

Hey all, I uninstalled a content type that I d previously added and afterward I m still getting a warning of 2010-01-06 22:43:50 WARNING OFS.Uninstalled Could not import class myclass from module ...

plone.app.blob or z3c.blobfile?

I need a blob file field as part of a content type in plone. plone.app.blob s BlobField should provide this, but I can t find how to get a URL to download the file including the original filename (e.g....

Moving (very old) Zope/Plone Site to Django

I am ask to move data from a (now offline) site driven by Plone to a new Django site. These are the version informations I have: Zope Version (unreleased version, python 2.1.3 ) Python Version 2.1....

热门标签